@strapi/design-system 0.0.0-typescript.2 → 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 +3 -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
package/dist/Dialog/Dialog.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export function Dialog({ onClose, title, as, isOpen, id, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
onClose: any;
|
|
4
|
-
title: any;
|
|
5
|
-
as: any;
|
|
6
|
-
isOpen: any;
|
|
7
|
-
id: any;
|
|
8
|
-
}): JSX.Element | null;
|
|
9
|
-
export namespace Dialog {
|
|
10
|
-
const displayName: string;
|
|
11
|
-
namespace defaultProps {
|
|
12
|
-
const as: string;
|
|
13
|
-
const id: undefined;
|
|
14
|
-
}
|
|
15
|
-
namespace propTypes {
|
|
16
|
-
const as_1: PropTypes.Requireable<string>;
|
|
17
|
-
export { as_1 as as };
|
|
18
|
-
const id_1: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
19
|
-
export { id_1 as id };
|
|
20
|
-
export const isOpen: PropTypes.Validator<boolean>;
|
|
21
|
-
export const onClose: PropTypes.Validator<(...args: any[]) => any>;
|
|
22
|
-
export const title: PropTypes.Validator<string>;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
import PropTypes from "prop-types";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export function DialogBody({ children, icon }: {
|
|
2
|
-
children: any;
|
|
3
|
-
icon: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace DialogBody {
|
|
6
|
-
const displayName: string;
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
const icon: undefined;
|
|
9
|
-
}
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
12
|
-
const icon_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
13
|
-
export { icon_1 as icon };
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
import PropTypes from "prop-types";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export function DialogFooter({ startAction, endAction }: {
|
|
2
|
-
startAction: any;
|
|
3
|
-
endAction: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace DialogFooter {
|
|
6
|
-
const displayName: string;
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
const endAction: undefined;
|
|
9
|
-
const startAction: undefined;
|
|
10
|
-
}
|
|
11
|
-
namespace propTypes {
|
|
12
|
-
const endAction_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
13
|
-
export { endAction_1 as endAction };
|
|
14
|
-
const startAction_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
15
|
-
export { startAction_1 as startAction };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
import PropTypes from "prop-types";
|
package/dist/Dialog/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export function DismissibleLayer({ children, className, onEscapeKeyDown, onPointerDownOutside }: {
|
|
2
|
-
children: any;
|
|
3
|
-
className: any;
|
|
4
|
-
onEscapeKeyDown: any;
|
|
5
|
-
onPointerDownOutside: any;
|
|
6
|
-
}): JSX.Element;
|
|
7
|
-
export namespace DismissibleLayer {
|
|
8
|
-
namespace defaultProps {
|
|
9
|
-
const className: undefined;
|
|
10
|
-
}
|
|
11
|
-
namespace propTypes {
|
|
12
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
13
|
-
const className_1: PropTypes.Requireable<string>;
|
|
14
|
-
export { className_1 as className };
|
|
15
|
-
export const onEscapeKeyDown: PropTypes.Validator<(...args: any[]) => any>;
|
|
16
|
-
export const onPointerDownOutside: PropTypes.Validator<(...args: any[]) => any>;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
import PropTypes from "prop-types";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./DismissibleLayer";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export function Divider({ unsetMargin, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
unsetMargin: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace Divider {
|
|
6
|
-
namespace defaultProps {
|
|
7
|
-
const background: string;
|
|
8
|
-
const unsetMargin: boolean;
|
|
9
|
-
}
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
const background_1: PropTypes.Requireable<string>;
|
|
12
|
-
export { background_1 as background };
|
|
13
|
-
const unsetMargin_1: PropTypes.Requireable<boolean>;
|
|
14
|
-
export { unsetMargin_1 as unsetMargin };
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
import PropTypes from "prop-types";
|
package/dist/Divider/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Divider";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export function EmptyStateLayout({ icon, content, action, hasRadius, shadow }: {
|
|
2
|
-
icon: any;
|
|
3
|
-
content: any;
|
|
4
|
-
action: any;
|
|
5
|
-
hasRadius: any;
|
|
6
|
-
shadow: any;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
export namespace EmptyStateLayout {
|
|
9
|
-
namespace defaultProps {
|
|
10
|
-
const action: undefined;
|
|
11
|
-
const hasRadius: boolean;
|
|
12
|
-
const shadow: string;
|
|
13
|
-
}
|
|
14
|
-
namespace propTypes {
|
|
15
|
-
const action_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
16
|
-
export { action_1 as action };
|
|
17
|
-
export const content: PropTypes.Validator<string>;
|
|
18
|
-
const hasRadius_1: PropTypes.Requireable<boolean>;
|
|
19
|
-
export { hasRadius_1 as hasRadius };
|
|
20
|
-
export const icon: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
21
|
-
const shadow_1: PropTypes.Requireable<string>;
|
|
22
|
-
export { shadow_1 as shadow };
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
import PropTypes from "prop-types";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./EmptyStateLayout";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function Illo(): JSX.Element;
|
package/dist/Field/Field.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export function Field({ children, name, error, hint, id, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
name: any;
|
|
5
|
-
error: any;
|
|
6
|
-
hint: any;
|
|
7
|
-
id: any;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
export namespace Field {
|
|
10
|
-
namespace defaultProps {
|
|
11
|
-
const error: undefined;
|
|
12
|
-
const hint: undefined;
|
|
13
|
-
const id: undefined;
|
|
14
|
-
const name: undefined;
|
|
15
|
-
}
|
|
16
|
-
namespace propTypes {
|
|
17
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
18
|
-
const error_1: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
19
|
-
export { error_1 as error };
|
|
20
|
-
const hint_1: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
21
|
-
export { hint_1 as hint };
|
|
22
|
-
const id_1: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
23
|
-
export { id_1 as id };
|
|
24
|
-
const name_1: PropTypes.Requireable<string>;
|
|
25
|
-
export { name_1 as name };
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
import PropTypes from "prop-types";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export function FieldAction({ label, children, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
label: any;
|
|
4
|
-
children: any;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
export namespace FieldAction {
|
|
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 +0,0 @@
|
|
|
1
|
-
export function FieldError(): JSX.Element | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function FieldHint(): JSX.Element | null;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export const InputWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Flex").FlexProps<HTMLDivElement> & {
|
|
2
|
-
theme: import("styled-components").DefaultTheme;
|
|
3
|
-
hasError: boolean;
|
|
4
|
-
}, never>;
|
|
5
|
-
export const FieldInput: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
6
|
-
import React from "react";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export function FieldLabel({ children, required, action, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
required: any;
|
|
5
|
-
action: any;
|
|
6
|
-
}): JSX.Element;
|
|
7
|
-
export namespace FieldLabel {
|
|
8
|
-
namespace defaultProps {
|
|
9
|
-
const required: boolean;
|
|
10
|
-
const action: undefined;
|
|
11
|
-
}
|
|
12
|
-
namespace propTypes {
|
|
13
|
-
const action_1: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
14
|
-
export { action_1 as action };
|
|
15
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
16
|
-
const required_1: PropTypes.Requireable<boolean>;
|
|
17
|
-
export { required_1 as required };
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
import PropTypes from "prop-types";
|
package/dist/Field/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function ExampleComponent(): JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export function FocusTrap({ onEscape, restoreFocus, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
onEscape: any;
|
|
4
|
-
restoreFocus: any;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
export namespace FocusTrap {
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
const onEscape: undefined;
|
|
9
|
-
const restoreFocus: boolean;
|
|
10
|
-
}
|
|
11
|
-
namespace propTypes {
|
|
12
|
-
const onEscape_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
-
export { onEscape_1 as onEscape };
|
|
14
|
-
const restoreFocus_1: PropTypes.Requireable<boolean>;
|
|
15
|
-
export { restoreFocus_1 as restoreFocus };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
import PropTypes from "prop-types";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./FocusTrap";
|
package/dist/Grid/Grid.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export function Grid({ gap, gridCols, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
gap: any;
|
|
4
|
-
gridCols: any;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
export namespace Grid {
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
const gap: number;
|
|
9
|
-
const gridCols: number;
|
|
10
|
-
}
|
|
11
|
-
namespace propTypes {
|
|
12
|
-
const gap_1: PropTypes.Requireable<NonNullable<number | (number | null | undefined)[] | null | undefined>>;
|
|
13
|
-
export { gap_1 as gap };
|
|
14
|
-
const gridCols_1: PropTypes.Requireable<number>;
|
|
15
|
-
export { gridCols_1 as gridCols };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
import PropTypes from "prop-types";
|
package/dist/Grid/GridItem.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export function GridItem({ col, xs, s, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
col: any;
|
|
4
|
-
xs: any;
|
|
5
|
-
s: any;
|
|
6
|
-
}): JSX.Element;
|
|
7
|
-
export namespace GridItem {
|
|
8
|
-
namespace defaultProps {
|
|
9
|
-
const col: undefined;
|
|
10
|
-
const s: undefined;
|
|
11
|
-
const xs: undefined;
|
|
12
|
-
}
|
|
13
|
-
namespace propTypes {
|
|
14
|
-
const col_1: PropTypes.Requireable<number>;
|
|
15
|
-
export { col_1 as col };
|
|
16
|
-
const s_1: PropTypes.Requireable<number>;
|
|
17
|
-
export { s_1 as s };
|
|
18
|
-
const xs_1: PropTypes.Requireable<number>;
|
|
19
|
-
export { xs_1 as xs };
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
import PropTypes from "prop-types";
|
package/dist/Grid/index.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export const IconButtonGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Flex").FlexProps<HTMLDivElement>, never>;
|
|
2
|
-
export const IconButton: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3
|
-
import React from "react";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./IconButton";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export function ActionLayout({ startActions, endActions }: {
|
|
2
|
-
startActions: any;
|
|
3
|
-
endActions: any;
|
|
4
|
-
}): JSX.Element | null;
|
|
5
|
-
export namespace ActionLayout {
|
|
6
|
-
namespace defaultProps {
|
|
7
|
-
const endActions: undefined;
|
|
8
|
-
const startActions: undefined;
|
|
9
|
-
}
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
const endActions_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
12
|
-
export { endActions_1 as endActions };
|
|
13
|
-
const startActions_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
14
|
-
export { startActions_1 as startActions };
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
import PropTypes from "prop-types";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const GridLayout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export function HeaderLayout(props: any): JSX.Element;
|
|
2
|
-
export namespace HeaderLayout {
|
|
3
|
-
const displayName: string;
|
|
4
|
-
namespace defaultProps {
|
|
5
|
-
const navigationAction: undefined;
|
|
6
|
-
const primaryAction: undefined;
|
|
7
|
-
const secondaryAction: undefined;
|
|
8
|
-
const subtitle: undefined;
|
|
9
|
-
}
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
const navigationAction_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
12
|
-
export { navigationAction_1 as navigationAction };
|
|
13
|
-
const primaryAction_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
14
|
-
export { primaryAction_1 as primaryAction };
|
|
15
|
-
const secondaryAction_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
16
|
-
export { secondaryAction_1 as secondaryAction };
|
|
17
|
-
const subtitle_1: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
18
|
-
export { subtitle_1 as subtitle };
|
|
19
|
-
export const title: PropTypes.Validator<string>;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export const BaseHeaderLayout: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
23
|
-
import PropTypes from "prop-types";
|
|
24
|
-
import React from "react";
|
package/dist/Layout/Layout.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export function Layout({ sideNav, children }: {
|
|
2
|
-
sideNav: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace Layout {
|
|
6
|
-
namespace defaultProps {
|
|
7
|
-
const sideNav: undefined;
|
|
8
|
-
}
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
11
|
-
const sideNav_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
12
|
-
export { sideNav_1 as sideNav };
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
import PropTypes from "prop-types";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export function TwoColsLayout({ startCol, endCol }: {
|
|
2
|
-
startCol: any;
|
|
3
|
-
endCol: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace TwoColsLayout {
|
|
6
|
-
namespace propTypes {
|
|
7
|
-
const endCol: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
8
|
-
const startCol: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
import PropTypes from "prop-types";
|
package/dist/Layout/index.d.ts
DELETED
package/dist/Link/Link.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export function Link({ href, to, children, disabled, startIcon, endIcon, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
href: any;
|
|
4
|
-
to: any;
|
|
5
|
-
children: any;
|
|
6
|
-
disabled: any;
|
|
7
|
-
startIcon: any;
|
|
8
|
-
endIcon: any;
|
|
9
|
-
}): JSX.Element;
|
|
10
|
-
export namespace Link {
|
|
11
|
-
const displayName: string;
|
|
12
|
-
namespace defaultProps {
|
|
13
|
-
const endIcon: undefined;
|
|
14
|
-
const href: undefined;
|
|
15
|
-
const to: undefined;
|
|
16
|
-
const disabled: boolean;
|
|
17
|
-
const startIcon: undefined;
|
|
18
|
-
}
|
|
19
|
-
namespace propTypes {
|
|
20
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
21
|
-
const disabled_1: PropTypes.Requireable<boolean>;
|
|
22
|
-
export { disabled_1 as disabled };
|
|
23
|
-
const endIcon_1: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
24
|
-
export { endIcon_1 as endIcon };
|
|
25
|
-
export function href(props: any): Error | undefined;
|
|
26
|
-
const startIcon_1: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
27
|
-
export { startIcon_1 as startIcon };
|
|
28
|
-
export function to(props: any): Error | undefined;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
import PropTypes from "prop-types";
|
package/dist/Link/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Link";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./LinkButton";
|
package/dist/Loader/Loader.d.ts
DELETED
package/dist/Loader/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Loader";
|
package/dist/Main/Main.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export function Main({ labelledBy, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
labelledBy: any;
|
|
4
|
-
}): JSX.Element;
|
|
5
|
-
export namespace Main {
|
|
6
|
-
namespace defaultProps {
|
|
7
|
-
const labelledBy: undefined;
|
|
8
|
-
}
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
const labelledBy_1: PropTypes.Requireable<string>;
|
|
11
|
-
export { labelledBy_1 as labelledBy };
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
import PropTypes from "prop-types";
|
package/dist/Main/index.d.ts
DELETED
|
@@ -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,19 +0,0 @@
|
|
|
1
|
-
export function NavBrand({ workplace, title, icon, to }: {
|
|
2
|
-
workplace: any;
|
|
3
|
-
title: any;
|
|
4
|
-
icon: any;
|
|
5
|
-
to: any;
|
|
6
|
-
}): JSX.Element;
|
|
7
|
-
export namespace NavBrand {
|
|
8
|
-
namespace defaultProps {
|
|
9
|
-
const to: string;
|
|
10
|
-
}
|
|
11
|
-
namespace propTypes {
|
|
12
|
-
export const icon: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
13
|
-
export const title: PropTypes.Validator<string>;
|
|
14
|
-
const to_1: PropTypes.Requireable<string>;
|
|
15
|
-
export { to_1 as to };
|
|
16
|
-
export const workplace: PropTypes.Validator<string>;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
import PropTypes from "prop-types";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export function NavLink({ children, icon, badgeContent, badgeAriaLabel, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
icon: any;
|
|
5
|
-
badgeContent: any;
|
|
6
|
-
badgeAriaLabel: any;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
export namespace NavLink {
|
|
9
|
-
const displayName: string;
|
|
10
|
-
namespace defaultProps {
|
|
11
|
-
const badgeContent: undefined;
|
|
12
|
-
const badgeAriaLabel: undefined;
|
|
13
|
-
}
|
|
14
|
-
namespace propTypes {
|
|
15
|
-
const badgeAriaLabel_1: PropTypes.Requireable<string>;
|
|
16
|
-
export { badgeAriaLabel_1 as badgeAriaLabel };
|
|
17
|
-
const badgeContent_1: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
18
|
-
export { badgeContent_1 as badgeContent };
|
|
19
|
-
export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
20
|
-
export const icon: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
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";
|
package/dist/MainNav/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function ModalBody(props: any): JSX.Element;
|