@strapi/design-system 0.0.0-typescript.1 → 0.0.0-typescript.3
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/package.json +4 -3
- package/dist/CarouselInput/Carousel.d.ts +0 -41
- package/dist/CarouselInput/CarouselActions.d.ts +0 -1
- package/dist/CarouselInput/CarouselImage.d.ts +0 -14
- package/dist/CarouselInput/CarouselInput.d.ts +0 -52
- package/dist/CarouselInput/CarouselSlide.d.ts +0 -18
- package/dist/CarouselInput/index.d.ts +0 -5
- package/dist/Checkbox/Checkbox.d.ts +0 -28
- package/dist/Checkbox/index.d.ts +0 -1
- package/dist/Combobox/Combobox.d.ts +0 -99
- package/dist/Combobox/ComboboxList.d.ts +0 -13
- package/dist/Combobox/ComboboxOption.d.ts +0 -2
- package/dist/Combobox/components.d.ts +0 -8
- package/dist/Combobox/index.d.ts +0 -2
- package/dist/Combobox/utils.d.ts +0 -35
- package/dist/DatePicker/DatePicker.d.ts +0 -56
- package/dist/DatePicker/DatePickerCalendar.d.ts +0 -35
- package/dist/DatePicker/DatePickerTd.d.ts +0 -22
- package/dist/DatePicker/DatePickerTh.d.ts +0 -10
- package/dist/DatePicker/compareDates.d.ts +0 -1
- package/dist/DatePicker/components.d.ts +0 -26
- package/dist/DatePicker/index.d.ts +0 -1
- package/dist/DatePicker/utils/formatDate.d.ts +0 -1
- package/dist/DatePicker/utils/generateWeeks.d.ts +0 -1
- package/dist/DatePicker/utils/getDayOfWeek.d.ts +0 -9
- package/dist/DatePicker/utils/getMonths.d.ts +0 -1
- package/dist/DatePicker/utils/getYears.d.ts +0 -1
- package/dist/DatePicker/utils/index.d.ts +0 -5
- package/dist/DateTimePicker/DateTimePicker.d.ts +0 -24
- package/dist/DateTimePicker/DateTimePickerProps.d.ts +0 -51
- package/dist/DateTimePicker/__tests__/parseDate.test.d.ts +0 -1
- package/dist/DateTimePicker/index.d.ts +0 -1
- package/dist/DateTimePicker/parseDate.d.ts +0 -1
- package/dist/Dialog/Dialog.d.ts +0 -25
- package/dist/Dialog/DialogBody.d.ts +0 -16
- package/dist/Dialog/DialogFooter.d.ts +0 -18
- package/dist/Dialog/index.d.ts +0 -3
- package/dist/DismissibleLayer/DismissibleLayer.d.ts +0 -19
- package/dist/DismissibleLayer/index.d.ts +0 -1
- package/dist/Divider/Divider.d.ts +0 -17
- package/dist/Divider/index.d.ts +0 -1
- package/dist/EmptyStateLayout/EmptyStateLayout.d.ts +0 -25
- package/dist/EmptyStateLayout/index.d.ts +0 -1
- package/dist/EmptyStateLayout/story-assets/Illo.d.ts +0 -1
- package/dist/Field/Field.d.ts +0 -28
- package/dist/Field/FieldAction.d.ts +0 -12
- package/dist/Field/FieldContext.d.ts +0 -12
- package/dist/Field/FieldError.d.ts +0 -1
- package/dist/Field/FieldHint.d.ts +0 -1
- package/dist/Field/FieldInput.d.ts +0 -6
- package/dist/Field/FieldLabel.d.ts +0 -20
- package/dist/Field/index.d.ts +0 -7
- package/dist/FocusTrap/ExampleComponent.d.ts +0 -1
- package/dist/FocusTrap/FocusTrap.d.ts +0 -18
- package/dist/FocusTrap/index.d.ts +0 -1
- package/dist/Grid/Grid.d.ts +0 -18
- package/dist/Grid/GridContext.d.ts +0 -8
- package/dist/Grid/GridItem.d.ts +0 -22
- package/dist/Grid/index.d.ts +0 -2
- package/dist/IconButton/IconButton.d.ts +0 -3
- package/dist/IconButton/index.d.ts +0 -1
- package/dist/Layout/ActionLayout.d.ts +0 -17
- package/dist/Layout/ContentLayout.d.ts +0 -9
- package/dist/Layout/GridLayout.d.ts +0 -1
- package/dist/Layout/HeaderLayout.d.ts +0 -24
- package/dist/Layout/Layout.d.ts +0 -15
- package/dist/Layout/TwoColsLayout.d.ts +0 -11
- package/dist/Layout/index.d.ts +0 -6
- package/dist/Link/Link.d.ts +0 -31
- package/dist/Link/index.d.ts +0 -1
- package/dist/LinkButton/LinkButton.d.ts +0 -2
- package/dist/LinkButton/index.d.ts +0 -1
- package/dist/Loader/Loader.d.ts +0 -2
- package/dist/Loader/index.d.ts +0 -1
- package/dist/Main/Main.d.ts +0 -14
- package/dist/Main/SkipToContent.d.ts +0 -9
- package/dist/Main/index.d.ts +0 -2
- package/dist/MainNav/MainNav.d.ts +0 -14
- package/dist/MainNav/MainNavContext.d.ts +0 -2
- package/dist/MainNav/NavBrand.d.ts +0 -19
- package/dist/MainNav/NavCondense.d.ts +0 -10
- package/dist/MainNav/NavLink.d.ts +0 -23
- package/dist/MainNav/NavSection.d.ts +0 -12
- package/dist/MainNav/NavSections.d.ts +0 -10
- package/dist/MainNav/NavUser.d.ts +0 -2
- package/dist/MainNav/index.d.ts +0 -7
- package/dist/ModalLayout/ModalBody.d.ts +0 -1
- package/dist/ModalLayout/ModalContext.d.ts +0 -2
- package/dist/ModalLayout/ModalFooter.d.ts +0 -17
- package/dist/ModalLayout/ModalHeader.d.ts +0 -15
- package/dist/ModalLayout/ModalLayout.d.ts +0 -12
- package/dist/ModalLayout/index.d.ts +0 -4
- package/dist/NumberInput/NumberInput.d.ts +0 -2
- package/dist/NumberInput/index.d.ts +0 -1
- package/dist/Pagination/Pagination.d.ts +0 -19
- package/dist/Pagination/PaginationContext.d.ts +0 -8
- package/dist/Pagination/components.d.ts +0 -50
- package/dist/Pagination/index.d.ts +0 -2
- package/dist/Popover/Popover.d.ts +0 -34
- package/dist/Popover/index.d.ts +0 -1
- package/dist/Portal/Portal.d.ts +0 -9
- package/dist/Portal/index.d.ts +0 -1
- package/dist/ProgressBar/ProgressBar.d.ts +0 -28
- package/dist/ProgressBar/index.d.ts +0 -1
- package/dist/Radio/Radio.d.ts +0 -11
- package/dist/Radio/index.d.ts +0 -2
- package/dist/RawTable/RawCell.d.ts +0 -47
- package/dist/RawTable/RawTable.d.ts +0 -26
- package/dist/RawTable/RawTableContext.d.ts +0 -10
- package/dist/RawTable/RawTbody.d.ts +0 -10
- package/dist/RawTable/RawThead.d.ts +0 -10
- package/dist/RawTable/RawTr.d.ts +0 -11
- package/dist/RawTable/focusFocusable.d.ts +0 -1
- package/dist/RawTable/index.d.ts +0 -5
- package/dist/Searchbar/SearchForm.d.ts +0 -1
- package/dist/Searchbar/Searchbar.d.ts +0 -2
- package/dist/Searchbar/index.d.ts +0 -2
- package/dist/Select/MultiSelectNested.d.ts +0 -10
- package/dist/Select/OptGroup.d.ts +0 -13
- package/dist/Select/Option.d.ts +0 -35
- package/dist/Select/Select.d.ts +0 -72
- package/dist/Select/SelectButton.d.ts +0 -2
- package/dist/Select/SelectList.d.ts +0 -25
- package/dist/Select/SelectTags.d.ts +0 -22
- package/dist/Select/components.d.ts +0 -3
- package/dist/Select/constants.d.ts +0 -10
- package/dist/Select/hooks/useButtonRef.d.ts +0 -1
- package/dist/Select/hooks/useListRef.d.ts +0 -1
- package/dist/Select/index.d.ts +0 -5
- package/dist/Select/utils.d.ts +0 -2
- package/dist/SimpleMenu/SimpleMenu.d.ts +0 -73
- package/dist/SimpleMenu/index.d.ts +0 -1
- package/dist/SimpleMenu/utils.d.ts +0 -3
- package/dist/Status/Status.d.ts +0 -24
- package/dist/Status/index.d.ts +0 -1
- package/dist/SubNav/SubNav.d.ts +0 -11
- package/dist/SubNav/SubNavHeader.d.ts +0 -40
- package/dist/SubNav/SubNavLink.d.ts +0 -25
- package/dist/SubNav/SubNavLinkSection.d.ts +0 -19
- package/dist/SubNav/SubNavSection.d.ts +0 -27
- package/dist/SubNav/SubNavSectionLabel.d.ts +0 -26
- package/dist/SubNav/SubNavSections.d.ts +0 -10
- package/dist/SubNav/index.d.ts +0 -6
- package/dist/Switch/Switch.d.ts +0 -2
- package/dist/Switch/index.d.ts +0 -1
- package/dist/Table/Cell.d.ts +0 -17
- package/dist/Table/TFooter.d.ts +0 -12
- package/dist/Table/Table.d.ts +0 -18
- package/dist/Table/Tbody.d.ts +0 -1
- package/dist/Table/Thead.d.ts +0 -1
- package/dist/Table/Tr.d.ts +0 -1
- package/dist/Table/index.d.ts +0 -6
- package/dist/Tabs/TabGroup.d.ts +0 -2
- package/dist/Tabs/TabPanels.d.ts +0 -24
- package/dist/Tabs/Tabs.d.ts +0 -51
- package/dist/Tabs/TabsContext.d.ts +0 -2
- package/dist/Tabs/components.d.ts +0 -6
- package/dist/Tabs/index.d.ts +0 -3
- package/dist/Tabs/useTabsFocus.d.ts +0 -1
- package/dist/Tag/Tag.d.ts +0 -23
- package/dist/Tag/index.d.ts +0 -1
- package/dist/TextInput/TextInput.d.ts +0 -2
- package/dist/TextInput/index.d.ts +0 -1
- package/dist/Textarea/Textarea.d.ts +0 -2
- package/dist/Textarea/TextareaInput.d.ts +0 -2
- package/dist/Textarea/index.d.ts +0 -1
- package/dist/TimePicker/TimePicker.d.ts +0 -54
- package/dist/TimePicker/index.d.ts +0 -1
- package/dist/ToggleCheckbox/ToggleCheckbox.d.ts +0 -2
- package/dist/ToggleCheckbox/index.d.ts +0 -1
- package/dist/ToggleInput/ToggleInput.d.ts +0 -59
- package/dist/ToggleInput/index.d.ts +0 -1
- package/dist/Tooltip/Tooltip.d.ts +0 -32
- package/dist/Tooltip/hooks/useTooltipHandlers.d.ts +0 -7
- package/dist/Tooltip/hooks/useTooltipLayout.d.ts +0 -4
- package/dist/Tooltip/index.d.ts +0 -1
- package/dist/Tooltip/utils/positionTooltip.d.ts +0 -7
- package/dist/v2/Breadcrumbs/Breadcrumbs.d.ts +0 -13
- package/dist/v2/Breadcrumbs/Crumb.d.ts +0 -17
- package/dist/v2/Breadcrumbs/CrumbLink.d.ts +0 -16
- package/dist/v2/Breadcrumbs/CrumbSimpleMenu.d.ts +0 -12
- package/dist/v2/Breadcrumbs/Divider.d.ts +0 -4
- package/dist/v2/Breadcrumbs/index.d.ts +0 -4
- package/dist/v2/Link/Link.d.ts +0 -2
- package/dist/v2/Link/index.d.ts +0 -1
- package/dist/v2/LinkButton/LinkButton.d.ts +0 -2
- package/dist/v2/LinkButton/index.d.ts +0 -1
- package/dist/v2/MainNav/MainNav.d.ts +0 -14
- package/dist/v2/MainNav/MainNavContext.d.ts +0 -2
- package/dist/v2/MainNav/NavBrand.d.ts +0 -2
- package/dist/v2/MainNav/NavCondense.d.ts +0 -10
- package/dist/v2/MainNav/NavLink.d.ts +0 -2
- package/dist/v2/MainNav/NavSection.d.ts +0 -12
- package/dist/v2/MainNav/NavSections.d.ts +0 -10
- package/dist/v2/MainNav/NavUser.d.ts +0 -2
- package/dist/v2/MainNav/index.d.ts +0 -7
- package/dist/v2/Pagination/Pagination.d.ts +0 -19
- package/dist/v2/Pagination/PaginationContext.d.ts +0 -8
- package/dist/v2/Pagination/components.d.ts +0 -14
- package/dist/v2/Pagination/index.d.ts +0 -2
- package/dist/v2/SimpleMenu/SimpleMenu.d.ts +0 -70
- package/dist/v2/SimpleMenu/index.d.ts +0 -1
- package/dist/v2/SimpleMenu/utils.d.ts +0 -3
- package/dist/v2/SubNav/SubNav.d.ts +0 -11
- package/dist/v2/SubNav/SubNavHeader.d.ts +0 -40
- package/dist/v2/SubNav/SubNavLink.d.ts +0 -2
- package/dist/v2/SubNav/SubNavLinkSection.d.ts +0 -17
- package/dist/v2/SubNav/SubNavSection.d.ts +0 -25
- package/dist/v2/SubNav/SubNavSectionLabel.d.ts +0 -26
- package/dist/v2/SubNav/SubNavSections.d.ts +0 -10
- package/dist/v2/SubNav/index.d.ts +0 -6
- package/dist/v2/index.d.ts +0 -7
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export function Tooltip({ children, label, description, delay, position, id, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
label: any;
|
|
5
|
-
description: any;
|
|
6
|
-
delay: any;
|
|
7
|
-
position: any;
|
|
8
|
-
id: any;
|
|
9
|
-
}): JSX.Element;
|
|
10
|
-
export namespace Tooltip {
|
|
11
|
-
namespace defaultProps {
|
|
12
|
-
const delay: number;
|
|
13
|
-
const id: undefined;
|
|
14
|
-
const position: string;
|
|
15
|
-
const label: undefined;
|
|
16
|
-
const description: undefined;
|
|
17
|
-
}
|
|
18
|
-
namespace propTypes {
|
|
19
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
20
|
-
const delay_1: PropTypes.Requireable<number>;
|
|
21
|
-
export { delay_1 as delay };
|
|
22
|
-
const description_1: PropTypes.Requireable<string>;
|
|
23
|
-
export { description_1 as description };
|
|
24
|
-
const id_1: PropTypes.Requireable<string>;
|
|
25
|
-
export { id_1 as id };
|
|
26
|
-
const label_1: PropTypes.Requireable<string>;
|
|
27
|
-
export { label_1 as label };
|
|
28
|
-
const position_1: PropTypes.Requireable<string>;
|
|
29
|
-
export { position_1 as position };
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
import PropTypes from "prop-types";
|
package/dist/Tooltip/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Tooltip";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export function Breadcrumbs({ label, children, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
label: any;
|
|
4
|
-
children: any;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
export namespace Breadcrumbs {
|
|
7
|
-
const displayName: string;
|
|
8
|
-
namespace propTypes {
|
|
9
|
-
const children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
|
10
|
-
const label: PropTypes.Validator<string>;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
import PropTypes from "prop-types";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export function Crumb({ children, isCurrent, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
isCurrent: any;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
export namespace Crumb {
|
|
7
|
-
const displayName: string;
|
|
8
|
-
namespace defaultProps {
|
|
9
|
-
const isCurrent: boolean;
|
|
10
|
-
}
|
|
11
|
-
namespace propTypes {
|
|
12
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
13
|
-
const isCurrent_1: PropTypes.Requireable<boolean>;
|
|
14
|
-
export { isCurrent_1 as isCurrent };
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
import PropTypes from "prop-types";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export function CrumbLink({ children, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace CrumbLink {
|
|
6
|
-
const displayName: string;
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
const to: undefined;
|
|
9
|
-
}
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
12
|
-
const to_1: PropTypes.Requireable<string>;
|
|
13
|
-
export { to_1 as to };
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
import PropTypes from "prop-types";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export function CrumbSimpleMenu({ children, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace CrumbSimpleMenu {
|
|
6
|
-
const displayName: string;
|
|
7
|
-
const propTypes: {
|
|
8
|
-
'aria-label': PropTypes.Validator<string>;
|
|
9
|
-
children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
import PropTypes from "prop-types";
|
package/dist/v2/Link/Link.d.ts
DELETED
package/dist/v2/Link/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Link";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./LinkButton";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export function MainNav({ condensed, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
condensed: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace MainNav {
|
|
6
|
-
namespace defaultProps {
|
|
7
|
-
const condensed: boolean;
|
|
8
|
-
}
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
const condensed_1: PropTypes.Requireable<boolean>;
|
|
11
|
-
export { condensed_1 as condensed };
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
import PropTypes from "prop-types";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export function NavSection({ label, children, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
label: any;
|
|
4
|
-
children: any;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
export namespace NavSection {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
9
|
-
const label: PropTypes.Validator<string>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
import PropTypes from "prop-types";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export function NavSections({ children, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace NavSections {
|
|
6
|
-
namespace propTypes {
|
|
7
|
-
const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
import PropTypes from "prop-types";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export function Pagination({ children, label, activePage, pageCount }: {
|
|
2
|
-
children: any;
|
|
3
|
-
label: any;
|
|
4
|
-
activePage: any;
|
|
5
|
-
pageCount: any;
|
|
6
|
-
}): JSX.Element;
|
|
7
|
-
export namespace Pagination {
|
|
8
|
-
namespace defaultProps {
|
|
9
|
-
const label: string;
|
|
10
|
-
}
|
|
11
|
-
namespace propTypes {
|
|
12
|
-
export const activePage: PropTypes.Validator<number>;
|
|
13
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
14
|
-
const label_1: PropTypes.Requireable<string>;
|
|
15
|
-
export { label_1 as label };
|
|
16
|
-
export const pageCount: PropTypes.Validator<number>;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
import PropTypes from "prop-types";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export const PreviousLink: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2
|
-
export const NextLink: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3
|
-
export const PageLink: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
4
|
-
export function Dots({ children, ...props }: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
children: any;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
export namespace Dots {
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
import React from "react";
|
|
14
|
-
import PropTypes from "prop-types";
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
export function MenuItem({ as, children, onClick, isFocused, isLink, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
as: any;
|
|
4
|
-
children: any;
|
|
5
|
-
onClick: any;
|
|
6
|
-
isFocused: any;
|
|
7
|
-
isLink: any;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
export namespace MenuItem {
|
|
10
|
-
namespace defaultProps {
|
|
11
|
-
const as: undefined;
|
|
12
|
-
function onClick(): void;
|
|
13
|
-
const isFocused: boolean;
|
|
14
|
-
const isLink: boolean;
|
|
15
|
-
}
|
|
16
|
-
namespace propTypes {
|
|
17
|
-
const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
|
|
18
|
-
export { as_1 as as };
|
|
19
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
20
|
-
const isFocused_1: PropTypes.Requireable<boolean>;
|
|
21
|
-
export { isFocused_1 as isFocused };
|
|
22
|
-
const isLink_1: PropTypes.Requireable<boolean>;
|
|
23
|
-
export { isLink_1 as isLink };
|
|
24
|
-
export const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export function SimpleMenu({ label, children, id, as: asComp, onOpen, onClose, size, popoverPlacement, ...props }: {
|
|
28
|
-
[x: string]: any;
|
|
29
|
-
label: any;
|
|
30
|
-
children: any;
|
|
31
|
-
id: any;
|
|
32
|
-
as: any;
|
|
33
|
-
onOpen?: (() => void) | undefined;
|
|
34
|
-
onClose?: (() => void) | undefined;
|
|
35
|
-
size: any;
|
|
36
|
-
popoverPlacement: any;
|
|
37
|
-
}): JSX.Element;
|
|
38
|
-
export namespace SimpleMenu {
|
|
39
|
-
const defaultProps_1: {
|
|
40
|
-
as: undefined;
|
|
41
|
-
id?: undefined;
|
|
42
|
-
onClose?: undefined;
|
|
43
|
-
onOpen?: undefined;
|
|
44
|
-
popoverPlacement?: undefined;
|
|
45
|
-
size?: undefined;
|
|
46
|
-
} | {
|
|
47
|
-
id: undefined;
|
|
48
|
-
onClose(): void;
|
|
49
|
-
onOpen(): void;
|
|
50
|
-
popoverPlacement: string;
|
|
51
|
-
size: string;
|
|
52
|
-
as?: undefined;
|
|
53
|
-
};
|
|
54
|
-
export { defaultProps_1 as defaultProps };
|
|
55
|
-
export const displayName: string;
|
|
56
|
-
export namespace propTypes_1 {
|
|
57
|
-
const as_2: PropTypes.Requireable<any>;
|
|
58
|
-
export { as_2 as as };
|
|
59
|
-
const children_1: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
|
60
|
-
export { children_1 as children };
|
|
61
|
-
export const id: PropTypes.Requireable<string>;
|
|
62
|
-
export const label: PropTypes.Validator<NonNullable<NonNullable<string | number | PropTypes.ReactElementLike | null | undefined>>>;
|
|
63
|
-
export const onClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
64
|
-
export const onOpen: PropTypes.Requireable<(...args: any[]) => any>;
|
|
65
|
-
export const popoverPlacement: PropTypes.Requireable<string>;
|
|
66
|
-
export const size: PropTypes.Requireable<string>;
|
|
67
|
-
}
|
|
68
|
-
export { propTypes_1 as propTypes };
|
|
69
|
-
}
|
|
70
|
-
import PropTypes from "prop-types";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./SimpleMenu";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const subNavWidth: string;
|
|
2
|
-
export function SubNav({ ariaLabel, ...props }: {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
ariaLabel: any;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
export namespace SubNav {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
const ariaLabel: PropTypes.Validator<string>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
import PropTypes from "prop-types";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export function SubNavHeader({ as, label, searchLabel, searchable, onChange, value, onClear, onSubmit, id }: {
|
|
2
|
-
as: any;
|
|
3
|
-
label: any;
|
|
4
|
-
searchLabel: any;
|
|
5
|
-
searchable: any;
|
|
6
|
-
onChange: any;
|
|
7
|
-
value: any;
|
|
8
|
-
onClear: any;
|
|
9
|
-
onSubmit: any;
|
|
10
|
-
id: any;
|
|
11
|
-
}): JSX.Element;
|
|
12
|
-
export namespace SubNavHeader {
|
|
13
|
-
namespace defaultProps {
|
|
14
|
-
const as: string;
|
|
15
|
-
const searchable: boolean;
|
|
16
|
-
function onChange(): void;
|
|
17
|
-
function onClear(): void;
|
|
18
|
-
function onSubmit(): void;
|
|
19
|
-
const value: string;
|
|
20
|
-
const searchLabel: string;
|
|
21
|
-
const id: undefined;
|
|
22
|
-
}
|
|
23
|
-
namespace propTypes {
|
|
24
|
-
const as_1: PropTypes.Requireable<string>;
|
|
25
|
-
export { as_1 as as };
|
|
26
|
-
const id_1: PropTypes.Requireable<string>;
|
|
27
|
-
export { id_1 as id };
|
|
28
|
-
export const label: PropTypes.Validator<string>;
|
|
29
|
-
export const onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
30
|
-
export const onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
31
|
-
export const onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
|
|
32
|
-
const searchLabel_1: PropTypes.Requireable<string>;
|
|
33
|
-
export { searchLabel_1 as searchLabel };
|
|
34
|
-
const searchable_1: PropTypes.Requireable<boolean>;
|
|
35
|
-
export { searchable_1 as searchable };
|
|
36
|
-
const value_1: PropTypes.Requireable<string>;
|
|
37
|
-
export { value_1 as value };
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
import PropTypes from "prop-types";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export function SubNavLinkSection({ label, children, id }: {
|
|
2
|
-
label: any;
|
|
3
|
-
children: any;
|
|
4
|
-
id: any;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
export namespace SubNavLinkSection {
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
const id: undefined;
|
|
9
|
-
}
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
12
|
-
const id_1: PropTypes.Requireable<string>;
|
|
13
|
-
export { id_1 as id };
|
|
14
|
-
export const label: PropTypes.Validator<string>;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
import PropTypes from "prop-types";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export function SubNavSection({ collapsable, label, badgeLabel, children, id }: {
|
|
2
|
-
collapsable: any;
|
|
3
|
-
label: any;
|
|
4
|
-
badgeLabel: any;
|
|
5
|
-
children: any;
|
|
6
|
-
id: any;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
export namespace SubNavSection {
|
|
9
|
-
namespace defaultProps {
|
|
10
|
-
const badgeLabel: null;
|
|
11
|
-
const collapsable: boolean;
|
|
12
|
-
const id: undefined;
|
|
13
|
-
}
|
|
14
|
-
namespace propTypes {
|
|
15
|
-
const badgeLabel_1: PropTypes.Requireable<string>;
|
|
16
|
-
export { badgeLabel_1 as badgeLabel };
|
|
17
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
18
|
-
const collapsable_1: PropTypes.Requireable<boolean>;
|
|
19
|
-
export { collapsable_1 as collapsable };
|
|
20
|
-
const id_1: PropTypes.Requireable<string>;
|
|
21
|
-
export { id_1 as id };
|
|
22
|
-
export const label: PropTypes.Validator<string>;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
import PropTypes from "prop-types";
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export function SubNavSectionLabel({ collapsable, label, onClick, ariaExpanded, ariaControls }: {
|
|
2
|
-
collapsable: any;
|
|
3
|
-
label: any;
|
|
4
|
-
onClick: any;
|
|
5
|
-
ariaExpanded: any;
|
|
6
|
-
ariaControls: any;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
export namespace SubNavSectionLabel {
|
|
9
|
-
namespace defaultProps {
|
|
10
|
-
const ariaControls: null;
|
|
11
|
-
const ariaExpanded: null;
|
|
12
|
-
const collapsable: boolean;
|
|
13
|
-
function onClick(): void;
|
|
14
|
-
}
|
|
15
|
-
namespace propTypes {
|
|
16
|
-
const ariaControls_1: PropTypes.Requireable<string>;
|
|
17
|
-
export { ariaControls_1 as ariaControls };
|
|
18
|
-
const ariaExpanded_1: PropTypes.Requireable<boolean>;
|
|
19
|
-
export { ariaExpanded_1 as ariaExpanded };
|
|
20
|
-
const collapsable_1: PropTypes.Requireable<boolean>;
|
|
21
|
-
export { collapsable_1 as collapsable };
|
|
22
|
-
export const label: PropTypes.Validator<string>;
|
|
23
|
-
export const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
import PropTypes from "prop-types";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export function SubNavSections({ children, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace SubNavSections {
|
|
6
|
-
namespace propTypes {
|
|
7
|
-
const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
import PropTypes from "prop-types";
|