@vizzly/dashboard 0.8.1 → 0.8.2-dev-4ac76b0195bc8bd9f3866e4cdcdac08e26caeff3
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 +1 -0
- package/dist/charts/src/XYChart/Annotations.d.ts +1 -0
- package/dist/charts/src/XYChart/XYChart.d.ts +1 -0
- package/dist/charts/src/XYChart/getCurveType.d.ts +7 -0
- package/dist/charts/src/XYChart/logic/constants.d.ts +2 -0
- package/dist/charts/src/XYChart/types.d.ts +1 -1
- package/dist/charts/src/types.d.ts +2 -0
- package/dist/charts/src/utils/buildStyleOverrides.d.ts +1 -1
- package/dist/dashboard/src/SetupError.d.ts +1 -0
- package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +6 -0
- package/dist/dashboard/src/index.d.ts +1 -0
- package/dist/dashboard/src/types.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/shared-logic/src/Aggregate/Aggregate.d.ts +2 -0
- package/dist/shared-logic/src/Callbacks/labelFormat.d.ts +2 -0
- package/dist/shared-logic/src/Component/types.d.ts +8 -0
- package/dist/shared-logic/src/DashboardAPI/dashboardAPI/updating.d.ts +2 -0
- package/dist/shared-logic/src/Logger/Logger.d.ts +2 -0
- package/dist/shared-logic/src/Logger/types.d.ts +1 -1
- package/dist/shared-logic/src/Query/validate.d.ts +1 -0
- package/dist/shared-logic/src/QueryEngineConfig/redshift.d.ts +2 -0
- package/dist/shared-logic/src/Theme/types.d.ts +2 -0
- package/dist/shared-logic/src/Translations/translation.types.d.ts +7 -0
- package/dist/shared-logic/src/VizzlyConfig/validate.d.ts +1 -0
- package/dist/shared-logic/src/api/queryEngine/createDashboard.d.ts +3 -1
- package/dist/shared-logic/src/api/vizzly/createDashboard.d.ts +3 -1
- package/dist/shared-logic/src/api/vizzly/updateDashboard.d.ts +2 -0
- package/dist/shared-ui/src/api/useQueryEffect/download.d.ts +1 -1
- package/dist/shared-ui/src/base/AppStyles/AppStyles.styles.d.ts +1 -1
- package/dist/shared-ui/src/base/Button/Button.d.ts +1 -0
- package/dist/shared-ui/src/base/DateTime/DateRangePicker.d.ts +7 -0
- package/dist/shared-ui/src/base/DateTime/DateTimeFilter.d.ts +0 -4
- package/dist/shared-ui/src/base/DateTimeInput.d.ts +1 -0
- package/dist/shared-ui/src/base/EmptyState/Illustration.d.ts +1 -0
- package/dist/shared-ui/src/base/HeroCenteredForm/Notice.d.ts +1 -0
- package/dist/shared-ui/src/base/ListView/index.d.ts +2 -2
- package/dist/shared-ui/src/base/Section/Section.d.ts +1 -1
- package/dist/shared-ui/src/base/Select/Select.types.d.ts +1 -0
- package/dist/shared-ui/src/base/Select/Wrapper.d.ts +1 -0
- package/dist/shared-ui/src/base/layout/View.d.ts +1 -0
- package/dist/shared-ui/src/base/utils/titleFormat.d.ts +1 -0
- package/dist/shared-ui/src/buildStyleOverrides.d.ts +1 -1
- package/dist/shared-ui/src/components/AdditionalFilter/AdditionalFilter.d.ts +1 -0
- package/dist/shared-ui/src/components/AdditionalFilter/AdditionalSingleSelectFilter/index.d.ts +1 -0
- package/dist/shared-ui/src/components/AdditionalFilter/DateFilter/index.d.ts +1 -0
- package/dist/shared-ui/src/components/AreaChart/AreaChart.d.ts +1 -0
- package/dist/shared-ui/src/components/ChartHelper.d.ts +3 -3
- package/dist/shared-ui/src/components/ComboChart/ComboChart.d.ts +1 -0
- package/dist/shared-ui/src/components/Component.d.ts +1 -0
- package/dist/shared-ui/src/components/CustomComponent/CustomComponent.d.ts +1 -0
- package/dist/shared-ui/src/components/DataPropsEditor/DataPanelFromConfig.d.ts +1 -0
- package/dist/shared-ui/src/components/DataPropsEditor.d.ts +1 -0
- package/dist/shared-ui/src/components/DataTable/DataTable.d.ts +1 -0
- package/dist/shared-ui/src/components/DataTable/DataTableView.d.ts +1 -0
- package/dist/shared-ui/src/components/DataTable/TableHeader.d.ts +1 -0
- package/dist/shared-ui/src/components/DataTable/buildTableRepresentation.d.ts +1 -1
- package/dist/shared-ui/src/components/GlobalFilters/GlobalFilters.d.ts +1 -0
- package/dist/shared-ui/src/components/GlobalFilters/GlobalFiltersView.d.ts +1 -0
- package/dist/shared-ui/src/components/Icons/ComponentIcons.d.ts +1 -0
- package/dist/shared-ui/src/components/LineChart/LineChart.d.ts +1 -0
- package/dist/shared-ui/src/components/LocalFilter/DateTimeFilter/DataProps.d.ts +1 -0
- package/dist/shared-ui/src/components/LocalFilter/SelectFilter/DataProps.d.ts +1 -0
- package/dist/shared-ui/src/components/LocalFilter/View.d.ts +1 -0
- package/dist/shared-ui/src/components/MercatorMap/MercatorMap.d.ts +1 -0
- package/dist/shared-ui/src/components/MercatorMap/View.d.ts +1 -0
- package/dist/shared-ui/src/components/Parameters/ChangeViewMeasures.d.ts +5 -2
- package/dist/shared-ui/src/components/Parameters/ParametersView.d.ts +1 -0
- package/dist/shared-ui/src/components/Pickers/MetricsSelect.d.ts +1 -0
- package/dist/shared-ui/src/components/PieChart/PieChart.d.ts +1 -0
- package/dist/shared-ui/src/components/Progress/Progress.d.ts +1 -0
- package/dist/shared-ui/src/components/Progress/ProgressView.d.ts +1 -0
- package/dist/shared-ui/src/components/ScatterChart/ScatterChart.d.ts +1 -0
- package/dist/shared-ui/src/components/SingleStat/SingleStat.d.ts +1 -0
- package/dist/shared-ui/src/components/Studio/AdminTools/AdminTools.d.ts +2 -0
- package/dist/shared-ui/src/components/Studio/Studio.d.ts +1 -0
- package/dist/shared-ui/src/components/Studio/StudioApp/Cell.d.ts +1 -0
- package/dist/shared-ui/src/components/Studio/StudioApp/ComponentOptions.d.ts +1 -0
- package/dist/shared-ui/src/components/Studio/StudioApp.d.ts +1 -0
- package/dist/shared-ui/src/components/Studio/StudioContexts.d.ts +2 -1
- package/dist/shared-ui/src/components/StylePropsEditor.d.ts +1 -0
- package/dist/shared-ui/src/components/Table/PrefixModal.d.ts +1 -0
- package/dist/shared-ui/src/components/ViewHeader/ViewHeader.d.ts +1 -0
- package/dist/shared-ui/src/contexts/DashboardBehaviour/context.d.ts +4 -3
- package/dist/shared-ui/src/contexts/DashboardBehaviour/types.d.ts +3 -0
- package/dist/shared-ui/src/headlessui/components/dialog/dialog.d.ts +10 -10
- package/dist/shared-ui/src/headlessui/components/disclosure/disclosure.d.ts +3 -3
- package/dist/shared-ui/src/headlessui/components/focus-trap/focus-trap.d.ts +1 -1
- package/dist/shared-ui/src/headlessui/components/label/label.d.ts +1 -1
- package/dist/shared-ui/src/headlessui/components/popover/popover.d.ts +10 -10
- package/dist/shared-ui/src/headlessui/components/portal/portal.d.ts +1 -1
- package/dist/shared-ui/src/headlessui/components/switch/switch.d.ts +15 -15
- package/dist/shared-ui/src/headlessui/components/tabs/tabs.d.ts +9 -9
- package/dist/shared-ui/src/headlessui/hooks/use-id.d.ts +1 -2
- package/dist/shared-ui/src/headlessui/internal/focus-sentinel.d.ts +1 -0
- package/dist/shared-ui/src/headlessui/internal/hidden.d.ts +1 -1
- package/dist/shared-ui/src/index.d.ts +1 -0
- package/dist/shared-ui/src/library/Accordion.d.ts +1 -0
- package/dist/shared-ui/src/library/Button/index.d.ts +1 -0
- package/dist/shared-ui/src/library/ComboBox.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/AxesInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/Comparison/DeltaTimeTruncListViewOptions.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/CustomFieldInput/PercentageModal.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/CustomMetricsInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/DimensionInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/FieldCollectorInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/FieldsInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/FilterInput/AttributesToFields.d.ts +3 -3
- package/dist/shared-ui/src/library/DataPanel/FilterInput/FilterInputForm.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/FilterInput/IndividualFilter.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/FilterInput/attributesToFieldsFuncs.d.ts +3 -0
- package/dist/shared-ui/src/library/DataPanel/FilterInput/queryFilterToWipFilter.d.ts +2 -1
- package/dist/shared-ui/src/library/DataPanel/FilterInput/useFilterInputForm.d.ts +2 -1
- package/dist/shared-ui/src/library/DataPanel/FilterInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/MeasuresInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/QueryOpInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/SelectDataSet.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/SortInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/TimeDimensionInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/AdvancedFilterSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/ComboChartCompareSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/ComboChartMetricInputSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/CustomMetricsSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/DataSetSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/DrilldownSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/FieldCollectorSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/FieldsInputSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/LabelledMetricSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/LimitSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/PaginationSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/SortSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/ViewsSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DisplayStatusReport.d.ts +1 -0
- package/dist/shared-ui/src/library/Editor/View.d.ts +1 -0
- package/dist/shared-ui/src/library/Editor.d.ts +1 -0
- package/dist/shared-ui/src/library/Library/ComponentInLibrary.d.ts +1 -0
- package/dist/shared-ui/src/library/Library/ViewsInLibrary.d.ts +1 -0
- package/dist/shared-ui/src/library/OverridesDeveloperInfoModal.d.ts +1 -0
- package/dist/shared-ui/src/library/PanelInput/NumberInput.d.ts +1 -0
- package/dist/shared-ui/src/library/SetupNotice.d.ts +1 -0
- package/dist/shared-ui/src/library/SetupReportModal.d.ts +1 -0
- package/dist/shared-ui/src/library/Stepper.d.ts +1 -0
- package/dist/shared-ui/src/library/StepperIcons.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/BooleanInput.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/ColourInput.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/FontFamilyInput.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/FormatSelectInput.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/TextInput.d.ts +1 -0
- package/dist/shared-ui/src/library/effectHooks/useHeight.d.ts +1 -1
- package/dist/shared-ui/src/library/effectHooks/useWidth.d.ts +1 -1
- package/dist/shared-ui/src/types.d.ts +11 -6
- package/package.json +3 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { VizzlyComponents, VizzlyTheming, trackEventCallback } from '../../types';
|
|
3
3
|
import { Component, ComponentType } from '../../../../shared-logic/src/Component/types';
|
|
4
|
-
import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
|
|
4
|
+
import { DashboardBehaviour, LabelFormat } from '../../contexts/DashboardBehaviour/types';
|
|
5
5
|
import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
|
|
6
6
|
import { IdentityConfig } from '../../../../shared-logic/src/IdentityConfig/types';
|
|
7
7
|
import { StudioState } from '../../contexts/DashboardContext/types';
|
|
@@ -29,5 +29,6 @@ export declare type StudioProps = {
|
|
|
29
29
|
children?: ReactNode;
|
|
30
30
|
componentEditor?: StudioState['componentEditor'];
|
|
31
31
|
trackEvent?: trackEventCallback;
|
|
32
|
+
labelFormat?: LabelFormat;
|
|
32
33
|
};
|
|
33
34
|
export declare const StudioContexts: FunctionComponent<StudioProps>;
|
|
@@ -24,5 +24,6 @@ export declare type ViewHeaderProps = {
|
|
|
24
24
|
dimension?: QueryAttributes.Dimension[];
|
|
25
25
|
timeDimension?: QueryAttributes.TimeDimension | null;
|
|
26
26
|
paddingBottom?: CSSProperties['paddingBottom'];
|
|
27
|
+
viewId: string;
|
|
27
28
|
};
|
|
28
29
|
export declare const ViewHeader: FunctionComponent<ViewHeaderProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DashboardBehaviour as DashboardBehaviourType, TextOverride } from './types';
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
import { DashboardBehaviour as DashboardBehaviourType, LabelFormat, TextOverride } from './types';
|
|
3
3
|
import { Component, ComponentType } from '../../../../shared-logic/src/Component/types';
|
|
4
4
|
import { VizzlyComponents } from '../../types';
|
|
5
5
|
import { Dashboard } from '../../../../shared-logic/src/Dashboard';
|
|
@@ -18,12 +18,13 @@ export interface DashboardBehaviourProps {
|
|
|
18
18
|
cascadeFilterSelection?: boolean;
|
|
19
19
|
onReset: () => Promise<Dashboard | null>;
|
|
20
20
|
textOverride?: TextOverride;
|
|
21
|
+
labelFormat?: LabelFormat;
|
|
21
22
|
pdfSettings?: DashboardBehaviourType['pdfSettings'];
|
|
22
23
|
}
|
|
23
24
|
declare type ProvidedValues = DashboardBehaviourType & {
|
|
24
25
|
setOverrideDeveloperInfo: (developerInfo: DashboardBehaviourType['overrideDeveloperInfo']) => void;
|
|
25
26
|
};
|
|
26
27
|
export declare const DashboardBehaviourContext: React.Context<ProvidedValues>;
|
|
27
|
-
export declare const DashboardBehaviourContextProvider:
|
|
28
|
+
export declare const DashboardBehaviourContextProvider: FunctionComponent<DashboardBehaviourProps>;
|
|
28
29
|
export declare const useDashboardBehaviourContext: () => ProvidedValues;
|
|
29
30
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FeatureToggles } from '../../../../shared-logic/src/FeatureToggle/types';
|
|
2
3
|
import { ComponentType } from '../../../../shared-logic/src/Component/types';
|
|
3
4
|
import { VizzlyComponents } from '../../types';
|
|
@@ -90,8 +91,10 @@ export declare type DashboardBehaviour = {
|
|
|
90
91
|
cascadeFilterSelection?: boolean;
|
|
91
92
|
textOverride: TextOverride;
|
|
92
93
|
pdfSettings?: PDFSettings;
|
|
94
|
+
labelFormat: LabelFormat;
|
|
93
95
|
};
|
|
94
96
|
export declare type TextOverride = (key: string, defaultValue: string, options?: TranslationOptions) => string;
|
|
97
|
+
export declare type LabelFormat = (options?: Component.LabelFormatOptions) => string | undefined;
|
|
95
98
|
export declare type TranslationOptions = {
|
|
96
99
|
[key: string]: string | number | Pluralised;
|
|
97
100
|
};
|
|
@@ -23,7 +23,7 @@ interface TitleRenderPropArg {
|
|
|
23
23
|
declare type TitlePropsWeControl = 'id';
|
|
24
24
|
export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props: (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
25
25
|
as?: TTag | undefined;
|
|
26
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
26
|
+
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;
|
|
27
27
|
refName?: string | undefined;
|
|
28
28
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
29
29
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DialogRenderPropArg) => string) | undefined;
|
|
@@ -38,7 +38,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
38
38
|
__demoMode?: boolean | undefined;
|
|
39
39
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
40
40
|
as?: TTag | undefined;
|
|
41
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
41
|
+
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;
|
|
42
42
|
refName?: string | undefined;
|
|
43
43
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
44
44
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DialogRenderPropArg) => string) | undefined;
|
|
@@ -53,7 +53,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
53
53
|
__demoMode?: boolean | undefined;
|
|
54
54
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "role" | "as" | "refName">> & {
|
|
55
55
|
as?: TTag | undefined;
|
|
56
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
56
|
+
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;
|
|
57
57
|
refName?: string | undefined;
|
|
58
58
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
59
59
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DialogRenderPropArg) => string) | undefined;
|
|
@@ -68,7 +68,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
68
68
|
__demoMode?: boolean | undefined;
|
|
69
69
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "role" | "as" | "refName">> & {
|
|
70
70
|
as?: TTag | undefined;
|
|
71
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
71
|
+
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;
|
|
72
72
|
refName?: string | undefined;
|
|
73
73
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
74
74
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DialogRenderPropArg) => string) | undefined;
|
|
@@ -83,7 +83,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
83
83
|
__demoMode?: boolean | undefined;
|
|
84
84
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-modal" | "as" | "refName">> & {
|
|
85
85
|
as?: TTag | undefined;
|
|
86
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
88
88
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
89
89
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DialogRenderPropArg) => string) | undefined;
|
|
@@ -98,7 +98,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
98
98
|
__demoMode?: boolean | undefined;
|
|
99
99
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-modal" | "as" | "refName">> & {
|
|
100
100
|
as?: TTag | undefined;
|
|
101
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
103
103
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
104
104
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DialogRenderPropArg) => string) | undefined;
|
|
@@ -113,7 +113,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
113
113
|
__demoMode?: boolean | undefined;
|
|
114
114
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
|
|
115
115
|
as?: TTag | undefined;
|
|
116
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
118
118
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
119
119
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DialogRenderPropArg) => string) | undefined;
|
|
@@ -128,7 +128,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
128
128
|
__demoMode?: boolean | undefined;
|
|
129
129
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
|
|
130
130
|
as?: TTag | undefined;
|
|
131
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
133
133
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
134
134
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DialogRenderPropArg) => string) | undefined;
|
|
@@ -143,7 +143,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
143
143
|
__demoMode?: boolean | undefined;
|
|
144
144
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
|
|
145
145
|
as?: TTag | undefined;
|
|
146
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
148
148
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
149
149
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DialogRenderPropArg) => string) | undefined;
|
|
@@ -158,7 +158,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
|
|
|
158
158
|
__demoMode?: boolean | undefined;
|
|
159
159
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
|
|
160
160
|
as?: TTag | undefined;
|
|
161
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
163
163
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
164
164
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DialogRenderPropArg) => string) | undefined;
|
|
@@ -19,7 +19,7 @@ export declare let Disclosure: (<TTag extends React.ElementType<any> = React.Exo
|
|
|
19
19
|
children?: React.ReactNode;
|
|
20
20
|
}>>(props: Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName">> & {
|
|
21
21
|
as?: TTag | undefined;
|
|
22
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
22
|
+
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: DisclosureRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
23
23
|
refName?: string | undefined;
|
|
24
24
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
25
25
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: DisclosureRenderPropArg) => string) | undefined;
|
|
@@ -33,7 +33,7 @@ export declare let Disclosure: (<TTag extends React.ElementType<any> = React.Exo
|
|
|
33
33
|
};
|
|
34
34
|
Panel: (<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">> & {
|
|
35
35
|
as?: TTag_2 | undefined;
|
|
36
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
36
|
+
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;
|
|
37
37
|
refName?: string | undefined;
|
|
38
38
|
} & (true extends (import("../../types").PropsOf<TTag_2> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_2> ? true : never) ? {
|
|
39
39
|
className?: import("../../types").PropsOf<TTag_2>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -43,7 +43,7 @@ export declare let Disclosure: (<TTag extends React.ElementType<any> = React.Exo
|
|
|
43
43
|
unmount?: boolean | undefined;
|
|
44
44
|
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
45
45
|
as?: TTag_2 | undefined;
|
|
46
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
46
|
+
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;
|
|
47
47
|
refName?: string | undefined;
|
|
48
48
|
} & (true extends (import("../../types").PropsOf<TTag_2> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_2> ? true : never) ? {
|
|
49
49
|
className?: import("../../types").PropsOf<TTag_2>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -16,7 +16,7 @@ declare enum Features {
|
|
|
16
16
|
}
|
|
17
17
|
export declare let FocusTrap: (<TTag extends React.ElementType<any> = "div">(props: Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName">> & {
|
|
18
18
|
as?: TTag | undefined;
|
|
19
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
19
|
+
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: {}) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
20
20
|
refName?: string | undefined;
|
|
21
21
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
22
22
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: {}) => string) | undefined;
|
|
@@ -11,7 +11,7 @@ interface LabelProviderProps extends SharedData {
|
|
|
11
11
|
export declare function useLabels(): [string | undefined, (props: LabelProviderProps) => JSX.Element];
|
|
12
12
|
export declare let Label: (<TTag extends React.ElementType<any> = "label">(props: Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
13
13
|
as?: TTag | undefined;
|
|
14
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
14
|
+
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: {}) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
15
15
|
refName?: string | undefined;
|
|
16
16
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
17
17
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: {}) => string) | undefined;
|
|
@@ -32,7 +32,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
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">> & {
|
|
34
34
|
as?: TTag_2 | undefined;
|
|
35
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
35
|
+
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;
|
|
36
36
|
refName?: string | undefined;
|
|
37
37
|
} & (true extends (import("../../types").PropsOf<TTag_2> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_2> ? true : never) ? {
|
|
38
38
|
className?: import("../../types").PropsOf<TTag_2>["className"] | ((bag: OverlayRenderPropArg) => string) | undefined;
|
|
@@ -42,7 +42,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
42
42
|
unmount?: boolean | undefined;
|
|
43
43
|
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
44
44
|
as?: TTag_2 | undefined;
|
|
45
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
45
|
+
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;
|
|
46
46
|
refName?: string | undefined;
|
|
47
47
|
} & (true extends (import("../../types").PropsOf<TTag_2> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_2> ? true : never) ? {
|
|
48
48
|
className?: import("../../types").PropsOf<TTag_2>["className"] | ((bag: OverlayRenderPropArg) => string) | undefined;
|
|
@@ -52,7 +52,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
52
52
|
static?: boolean | undefined;
|
|
53
53
|
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "as" | "refName" | "aria-hidden">> & {
|
|
54
54
|
as?: TTag_2 | undefined;
|
|
55
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
57
57
|
} & (true extends (import("../../types").PropsOf<TTag_2> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_2> ? true : never) ? {
|
|
58
58
|
className?: import("../../types").PropsOf<TTag_2>["className"] | ((bag: OverlayRenderPropArg) => string) | undefined;
|
|
@@ -62,7 +62,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
62
62
|
unmount?: boolean | undefined;
|
|
63
63
|
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "as" | "refName" | "aria-hidden">> & {
|
|
64
64
|
as?: TTag_2 | undefined;
|
|
65
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
67
67
|
} & (true extends (import("../../types").PropsOf<TTag_2> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_2> ? true : never) ? {
|
|
68
68
|
className?: import("../../types").PropsOf<TTag_2>["className"] | ((bag: OverlayRenderPropArg) => string) | undefined;
|
|
@@ -72,7 +72,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
72
72
|
static?: boolean | undefined;
|
|
73
73
|
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "as" | "refName" | "onClick">> & {
|
|
74
74
|
as?: TTag_2 | undefined;
|
|
75
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
77
77
|
} & (true extends (import("../../types").PropsOf<TTag_2> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_2> ? true : never) ? {
|
|
78
78
|
className?: import("../../types").PropsOf<TTag_2>["className"] | ((bag: OverlayRenderPropArg) => string) | undefined;
|
|
@@ -82,7 +82,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
82
82
|
unmount?: boolean | undefined;
|
|
83
83
|
}) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "as" | "refName" | "onClick">> & {
|
|
84
84
|
as?: TTag_2 | undefined;
|
|
85
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
87
87
|
} & (true extends (import("../../types").PropsOf<TTag_2> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_2> ? true : never) ? {
|
|
88
88
|
className?: import("../../types").PropsOf<TTag_2>["className"] | ((bag: OverlayRenderPropArg) => string) | undefined;
|
|
@@ -95,7 +95,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
95
95
|
};
|
|
96
96
|
Panel: (<TTag_3 extends React.ElementType<any> = "div">(props: (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
97
97
|
as?: TTag_3 | undefined;
|
|
98
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
98
|
+
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;
|
|
99
99
|
refName?: string | undefined;
|
|
100
100
|
} & (true extends (import("../../types").PropsOf<TTag_3> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_3> ? true : never) ? {
|
|
101
101
|
className?: import("../../types").PropsOf<TTag_3>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -107,7 +107,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
107
107
|
focus?: boolean | undefined;
|
|
108
108
|
}) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
109
109
|
as?: TTag_3 | undefined;
|
|
110
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
110
|
+
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;
|
|
111
111
|
refName?: string | undefined;
|
|
112
112
|
} & (true extends (import("../../types").PropsOf<TTag_3> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_3> ? true : never) ? {
|
|
113
113
|
className?: import("../../types").PropsOf<TTag_3>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -119,7 +119,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
119
119
|
focus?: boolean | undefined;
|
|
120
120
|
}) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "children" | "onKeyDown" | "className" | "as" | "refName">> & {
|
|
121
121
|
as?: TTag_3 | undefined;
|
|
122
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
124
124
|
} & (true extends (import("../../types").PropsOf<TTag_3> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_3> ? true : never) ? {
|
|
125
125
|
className?: import("../../types").PropsOf<TTag_3>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -131,7 +131,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
|
|
|
131
131
|
focus?: boolean | undefined;
|
|
132
132
|
}) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "children" | "onKeyDown" | "className" | "as" | "refName">> & {
|
|
133
133
|
as?: TTag_3 | undefined;
|
|
134
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
136
136
|
} & (true extends (import("../../types").PropsOf<TTag_3> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_3> ? true : never) ? {
|
|
137
137
|
className?: import("../../types").PropsOf<TTag_3>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -14,7 +14,7 @@ export declare let Portal: (<TTag extends React.ElementType<any> = React.ExoticC
|
|
|
14
14
|
children?: React.ReactNode;
|
|
15
15
|
}>>(props: Pick<import("../../types").PropsOf<TTag_1>, Exclude<keyof import("../../types").PropsOf<TTag_1>, "children" | "className" | "as" | "refName">> & {
|
|
16
16
|
as?: TTag_1 | undefined;
|
|
17
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
17
|
+
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: GroupRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
18
18
|
refName?: string | undefined;
|
|
19
19
|
} & (true extends (import("../../types").PropsOf<TTag_1> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_1> ? true : never) ? {
|
|
20
20
|
className?: import("../../types").PropsOf<TTag_1>["className"] | ((bag: GroupRenderPropArg) => string) | undefined;
|
|
@@ -10,7 +10,7 @@ interface SwitchRenderPropArg {
|
|
|
10
10
|
declare type SwitchPropsWeControl = 'id' | 'role' | 'tabIndex' | 'aria-checked' | 'aria-labelledby' | 'aria-describedby' | 'onClick' | 'onKeyUp' | 'onKeyPress';
|
|
11
11
|
export declare let Switch: (<TTag extends React.ElementType<any> = "button">(props: (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
12
12
|
as?: TTag | undefined;
|
|
13
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
13
|
+
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;
|
|
14
14
|
refName?: string | undefined;
|
|
15
15
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
16
16
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -22,7 +22,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
22
22
|
value?: string | undefined;
|
|
23
23
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "value" | "children" | "className" | "as" | "refName">> & {
|
|
24
24
|
as?: TTag | undefined;
|
|
25
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
25
|
+
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;
|
|
26
26
|
refName?: string | undefined;
|
|
27
27
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
28
28
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -34,7 +34,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
34
34
|
value?: string | undefined;
|
|
35
35
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "onChange" | "className" | "as" | "refName">> & {
|
|
36
36
|
as?: TTag | undefined;
|
|
37
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
39
39
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
40
40
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -46,7 +46,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
46
46
|
value?: string | undefined;
|
|
47
47
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "role" | "as" | "refName">> & {
|
|
48
48
|
as?: TTag | undefined;
|
|
49
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
51
51
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
52
52
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -58,7 +58,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
58
58
|
value?: string | undefined;
|
|
59
59
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
|
|
60
60
|
as?: TTag | undefined;
|
|
61
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
63
63
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
64
64
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -70,7 +70,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
70
70
|
value?: string | undefined;
|
|
71
71
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
|
|
72
72
|
as?: TTag | undefined;
|
|
73
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
75
75
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
76
76
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -82,7 +82,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
82
82
|
value?: string | undefined;
|
|
83
83
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "onClick">> & {
|
|
84
84
|
as?: TTag | undefined;
|
|
85
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
87
87
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
88
88
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -94,7 +94,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
94
94
|
value?: string | undefined;
|
|
95
95
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "defaultChecked">> & {
|
|
96
96
|
as?: TTag | undefined;
|
|
97
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
99
99
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
100
100
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -106,7 +106,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
106
106
|
value?: string | undefined;
|
|
107
107
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "tabIndex">> & {
|
|
108
108
|
as?: TTag | undefined;
|
|
109
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
111
111
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
112
112
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -118,7 +118,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
118
118
|
value?: string | undefined;
|
|
119
119
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "aria-checked">> & {
|
|
120
120
|
as?: TTag | undefined;
|
|
121
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
123
123
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
124
124
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -130,7 +130,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
130
130
|
value?: string | undefined;
|
|
131
131
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "onKeyPress">> & {
|
|
132
132
|
as?: TTag | undefined;
|
|
133
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
135
135
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
136
136
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -142,7 +142,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
142
142
|
value?: string | undefined;
|
|
143
143
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "onKeyUp">> & {
|
|
144
144
|
as?: TTag | undefined;
|
|
145
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
147
147
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
148
148
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -154,7 +154,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
154
154
|
value?: string | undefined;
|
|
155
155
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "name">> & {
|
|
156
156
|
as?: TTag | undefined;
|
|
157
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
159
159
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
160
160
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -166,7 +166,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
166
166
|
value?: string | undefined;
|
|
167
167
|
}) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "checked">> & {
|
|
168
168
|
as?: TTag | undefined;
|
|
169
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
169
|
+
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;
|
|
170
170
|
refName?: string | undefined;
|
|
171
171
|
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
|
|
172
172
|
className?: import("../../types").PropsOf<TTag>["className"] | ((bag: SwitchRenderPropArg) => string) | undefined;
|
|
@@ -182,7 +182,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
|
|
|
182
182
|
Group: typeof Group;
|
|
183
183
|
Label: (<TTag_1 extends React.ElementType<any> = "label">(props: Pick<import("../../types").PropsOf<TTag_1>, Exclude<keyof import("../../types").PropsOf<TTag_1>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
184
184
|
as?: TTag_1 | undefined;
|
|
185
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
185
|
+
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: {}) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
186
186
|
refName?: string | undefined;
|
|
187
187
|
} & (true extends (import("../../types").PropsOf<TTag_1> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_1> ? true : never) ? {
|
|
188
188
|
className?: import("../../types").PropsOf<TTag_1>["className"] | ((bag: {}) => string) | undefined;
|