@oc-digital/react-component-library 7.2.3-beta.5 → 7.2.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Alert/Alert.d.ts +2 -3
- package/build/Alert/Alert.types.d.ts +2 -3
- package/build/AlphabeticalList/AlphabeticalList.d.ts +2 -3
- package/build/AutoSave/Select/AutoSave.d.ts +3 -0
- package/build/AutoSave/Select/index.d.ts +2 -3
- package/build/AutoSave/Text/AutoSave.d.ts +3 -0
- package/build/AutoSave/Text/AutoSave.types.d.ts +2 -3
- package/build/AutoSave/Text/index.d.ts +2 -3
- package/build/Breadcrumbs/Breadcrumbs.d.ts +2 -3
- package/build/Breadcrumbs/Breadcrumbs.types.d.ts +1 -2
- package/build/Button/Button.d.ts +2 -3
- package/build/Button/Button.types.d.ts +3 -3
- package/build/ButtonWithConfirm/ButtonWithConfirm.d.ts +2 -3
- package/build/ButtonWithConfirm/ButtonWithConfirm.types.d.ts +3 -3
- package/build/ContentBox/ContentBox.d.ts +2 -3
- package/build/ContentLabel/ContentLabel.d.ts +2 -3
- package/build/DatePicker/DatePicker.d.ts +2 -3
- package/build/DatePicker/DatePicker.types.d.ts +2 -3
- package/build/EditableTable/EditableTable.d.ts +2 -3
- package/build/EditableTable/EditableTable.types.d.ts +4 -5
- package/build/EditableTable/components/TableCheckbox.d.ts +1 -1
- package/build/EditableTable/components/TableDateInput.d.ts +1 -1
- package/build/EditableTable/components/TableTextInput.d.ts +2 -3
- package/build/EditableTable/components/styled/Checkbox.d.ts +5 -0
- package/build/EditableTable/components/styled/CheckboxLabel.d.ts +5 -0
- package/build/EditableTable/components/styled/Input.d.ts +5 -0
- package/build/EditableTable/components/styled/InputWrapper.d.ts +5 -0
- package/build/EditableTable/components/styled/SmallError.d.ts +5 -0
- package/build/EditableTable/defaultCells.d.ts +7 -8
- package/build/EntityList/EntityList.d.ts +2 -3
- package/build/EntityList/EntityList.types.d.ts +1 -2
- package/build/ErrorIndicator/ErrorIndicator.d.ts +2 -3
- package/build/ErrorIndicator/ErrorIndicator.types.d.ts +1 -2
- package/build/ImageDisplayAndUpload/ImageDisplayAndUpload.d.ts +2 -3
- package/build/ImageDisplayAndUpload/ImageDisplayAndUpload.types.d.ts +1 -2
- package/build/KeyboardDatePicker/KeyboardDatePicker.d.ts +2 -3
- package/build/KeyboardDatePicker/KeyboardDatePicker.types.d.ts +2 -3
- package/build/LeftNavigation/LeftNavigation.d.ts +2 -3
- package/build/LeftNavigation/LeftNavigation.types.d.ts +2 -3
- package/build/LeftNavigation/NavListItem.d.ts +2 -3
- package/build/LeftNavigation/PrimaryLeftNavigation.d.ts +2 -3
- package/build/LeftNavigation/SecondaryLeftNavigation.d.ts +2 -3
- package/build/LoadingSpinner/LoadingSpinner.d.ts +2 -3
- package/build/LoadingSpinner/LoadingSpinner.types.d.ts +1 -2
- package/build/MainLayout/MainLayout.d.ts +2 -3
- package/build/MainLayout/MainLayout.types.d.ts +1 -2
- package/build/MobileDatePicker/MobileDatePicker.d.ts +2 -3
- package/build/MobileDatePicker/MobileDatePicker.types.d.ts +2 -3
- package/build/NavbarLayout/Navbar.d.ts +3 -4
- package/build/NavbarLayout/NavbarLayout.d.ts +3 -4
- package/build/NavbarLayout/index.d.ts +2 -2
- package/build/SearchBar/SearchBar.d.ts +2 -3
- package/build/Select/Select.d.ts +2 -3
- package/build/Select/Select.types.d.ts +3 -3
- package/build/StaticTable/StaticTable.d.ts +2 -3
- package/build/SvgComponents/ContainedPartnersLogo.d.ts +2 -3
- package/build/SvgComponents/HomeSvg.d.ts +2 -3
- package/build/SvgComponents/NovelLogoSvg.d.ts +2 -3
- package/build/SvgComponents/OrganisationList.d.ts +2 -3
- package/build/SvgComponents/ProjectsSvg.d.ts +2 -3
- package/build/SvgComponents/index.d.ts +5 -5
- package/build/TextField/TextField.d.ts +4 -5
- package/build/TextField/TextField.types.d.ts +2 -3
- package/build/ThemeProvider/index.d.ts +5 -0
- package/build/Tooltip/OptionalTooltip.d.ts +1 -2
- package/build/Tooltip/index.d.ts +1 -1
- package/build/globals/index.d.ts +2 -2
- package/build/hooks/index.d.ts +3 -3
- package/build/index.d.ts +35 -36
- package/build/index.js +1 -573
- package/build/index.js.map +1 -1
- package/build/styles/font.d.ts +1 -1
- package/build/styles/index.d.ts +3 -3
- package/build/styles/layout.d.ts +1 -1
- package/build/styles/spacing.d.ts +1 -1
- package/build/styles/theme.d.ts +1 -0
- package/build/styles/themes.d.ts +2 -2
- package/build/utils/index.d.ts +1 -2
- package/package.json +24 -22
- package/build/stories/Button.d.ts +0 -28
- package/build/stories/Button.stories.d.ts +0 -10
- package/build/stories/Header.d.ts +0 -12
- package/build/stories/Header.stories.d.ts +0 -8
- package/build/stories/Page.d.ts +0 -3
- package/build/stories/Page.stories.d.ts +0 -8
- package/build/style.css +0 -1
package/build/Alert/Alert.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IAlphabeticalListProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IAlphabeticalListProps } from "./AlphabeticalList.types";
|
|
4
3
|
declare const AlphabeticalList: React.FC<IAlphabeticalListProps>;
|
|
5
4
|
export default AlphabeticalList;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { AutoSaveSelectFieldProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { AutoSaveSelectFieldProps } from "./AutoSave.types";
|
|
4
3
|
export declare const AutoSaveSelectField: React.FC<AutoSaveSelectFieldProps>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { FocusEvent } from
|
|
2
|
-
import { AccessLevels } from
|
|
3
|
-
|
|
1
|
+
import { FocusEvent } from "react";
|
|
2
|
+
import { AccessLevels } from "../../globals";
|
|
4
3
|
export interface AutoSaveTextFieldProps {
|
|
5
4
|
autoSave: (value: string) => void;
|
|
6
5
|
value: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { AutoSaveTextFieldProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { AutoSaveTextFieldProps } from "./AutoSave.types";
|
|
4
3
|
export declare const AutoSaveTextField: React.FC<AutoSaveTextFieldProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IBreadcrumbsProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IBreadcrumbsProps } from "./Breadcrumbs.types";
|
|
4
3
|
declare const Breadcrumbs: React.FC<IBreadcrumbsProps>;
|
|
5
4
|
export default Breadcrumbs;
|
package/build/Button/Button.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IButtonProps } from
|
|
2
|
-
|
|
3
|
-
declare function Button({ loading, children, errors, type, onClick, disabled, variant, styling, color, accessLevel, ...rest }: IButtonProps): JSX.Element | null;
|
|
1
|
+
import { IButtonProps } from "./Button.types";
|
|
2
|
+
declare function Button({ loading, children, errors, type, onClick, disabled, variant, styling, color, accessLevel, ...rest }: IButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
3
|
export default Button;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IAuthoriserProp } from "../globals";
|
|
3
|
+
import { ButtonProps } from "@mui/material/Button";
|
|
4
4
|
export type IButtonProps<C extends React.ElementType = React.ElementType> = ButtonProps<C, {
|
|
5
5
|
component?: C;
|
|
6
6
|
}> & IAuthoriserProp & {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IButtonWithConfirmProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IButtonWithConfirmProps } from "./ButtonWithConfirm.types";
|
|
4
3
|
declare const ButtonWithConfirm: React.FC<IButtonWithConfirmProps>;
|
|
5
4
|
export default ButtonWithConfirm;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IAuthoriserProp } from "../globals";
|
|
3
|
+
import { ButtonProps } from "@mui/material";
|
|
4
4
|
export interface IButtonWithConfirmProps extends ButtonProps, IAuthoriserProp {
|
|
5
5
|
onClick: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
6
|
loading: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IContentBoxProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IContentBoxProps } from "./ContentBox.types";
|
|
4
3
|
declare const ContentBox: React.FC<IContentBoxProps>;
|
|
5
4
|
export default ContentBox;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IContentLabelProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IContentLabelProps } from "./ContentLabel.types";
|
|
4
3
|
declare const ContentLabel: React.FC<IContentLabelProps>;
|
|
5
4
|
export default ContentLabel;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IDatePickerProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IDatePickerProps } from "./DatePicker.types";
|
|
4
3
|
declare const DatePicker: React.FC<IDatePickerProps>;
|
|
5
4
|
export default DatePicker;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DatePickerProps } from
|
|
2
|
-
import { IAuthoriserProp } from
|
|
3
|
-
|
|
1
|
+
import { DatePickerProps } from "@mui/x-date-pickers/DatePicker";
|
|
2
|
+
import { IAuthoriserProp } from "../globals";
|
|
4
3
|
export type IDatePickerProps = DatePickerProps<Date> & IAuthoriserProp & {
|
|
5
4
|
styling?: string;
|
|
6
5
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IEditableTableProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IEditableTableProps } from "./EditableTable.types";
|
|
4
3
|
declare const EditableTable: React.FC<IEditableTableProps>;
|
|
5
4
|
export default EditableTable;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { CellProps, HeaderGroup, Row, TableBodyPropGetter, TableBodyProps, TablePropGetter, TableProps } from
|
|
2
|
-
import { SchemaOf } from
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { CellProps, HeaderGroup, Row, TableBodyPropGetter, TableBodyProps, TablePropGetter, TableProps } from "react-table";
|
|
2
|
+
import { SchemaOf } from "yup";
|
|
3
|
+
import React from "react";
|
|
5
4
|
export type IAlignment = "left" | "right" | "inherit" | "center" | "justify";
|
|
6
5
|
export type RowData = {
|
|
7
6
|
[key: string]: any;
|
|
@@ -12,7 +11,7 @@ export type ITableHeader = {
|
|
|
12
11
|
textAlign?: IAlignment;
|
|
13
12
|
};
|
|
14
13
|
export type TableCellValues = null | undefined | string | number | Date | boolean | string[];
|
|
15
|
-
export type SynchCellWithStateFn = (rowIndex: number, columnId: string, value: TableCellValues, errorStatus: boolean, forceUpdate?: boolean) => void;
|
|
14
|
+
export type SynchCellWithStateFn = (rowIndex: number, columnId: string, value: TableCellValues, errorStatus: boolean, forceUpdate?: boolean, original?: RowData, coreRow?: boolean) => void;
|
|
16
15
|
export type FieldConfig = {
|
|
17
16
|
[key: string]: {
|
|
18
17
|
validationRule?: SchemaOf<any>;
|
|
@@ -4,5 +4,5 @@ interface ITableCheckboxProps {
|
|
|
4
4
|
value: boolean | null | undefined;
|
|
5
5
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const TableCheckbox: ({ disabled, value, onChange }: ITableCheckboxProps) => JSX.Element;
|
|
7
|
+
export declare const TableCheckbox: ({ disabled, value, onChange }: ITableCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -4,5 +4,5 @@ interface ITableDateInputProps {
|
|
|
4
4
|
error: string | false;
|
|
5
5
|
onChange: (value: Date | string) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const TableDateInput: ({ disabled, value, error, onChange, }: ITableDateInputProps) => JSX.Element;
|
|
7
|
+
export declare const TableDateInput: ({ disabled, value, error, onChange, }: ITableDateInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { PureComponent } from
|
|
2
|
-
|
|
1
|
+
import { PureComponent } from "react";
|
|
3
2
|
export interface ITableTextInputProps {
|
|
4
3
|
name?: string;
|
|
5
4
|
value: string | number | null | undefined;
|
|
@@ -17,5 +16,5 @@ export interface ITableTextInputProps {
|
|
|
17
16
|
styling?: string;
|
|
18
17
|
}
|
|
19
18
|
export declare class TableTextInput extends PureComponent<ITableTextInputProps> {
|
|
20
|
-
render(): JSX.Element;
|
|
19
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Checkbox: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const CheckboxLabel: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Input: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SmallError: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ICustomRenderFnProps, IEssentialRenderFnProps } from
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const tableCheckbox: (tableProps: ICustomRenderFnProps) => JSX.Element;
|
|
1
|
+
import React, { ReactChild, ReactNode } from "react";
|
|
2
|
+
import { ICustomRenderFnProps, IEssentialRenderFnProps } from "./EditableTable.types";
|
|
3
|
+
export declare const tableTextField: (tableProps: ICustomRenderFnProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const tableNumericStringField: (tableProps: ICustomRenderFnProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const tableNumericStringFixedDecimalField: (tableProps: ICustomRenderFnProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const tableDateField: ({ value, onChange, disabled, error, }: ICustomRenderFnProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const tableCheckbox: (tableProps: ICustomRenderFnProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
interface INonEditableField extends Pick<IEssentialRenderFnProps, "numberField" | "prefix" | "suffix" | "textAlign" | "fixedDecimalScale"> {
|
|
10
9
|
text: React.ReactText;
|
|
11
10
|
styling?: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IEntityListProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IEntityListProps } from "./EntityList.types";
|
|
4
3
|
declare const EntityList: React.FC<IEntityListProps>;
|
|
5
4
|
export default EntityList;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IErrorIndicatorProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IErrorIndicatorProps } from "./ErrorIndicator.types";
|
|
4
3
|
declare const ErrorIndicator: React.FC<IErrorIndicatorProps>;
|
|
5
4
|
export default ErrorIndicator;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IImageDisplayAndUploadProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IImageDisplayAndUploadProps } from "./ImageDisplayAndUpload.types";
|
|
4
3
|
declare const ImageDisplayAndUpload: React.FC<IImageDisplayAndUploadProps>;
|
|
5
4
|
export default ImageDisplayAndUpload;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IDatePickerProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IDatePickerProps } from "./KeyboardDatePicker.types";
|
|
4
3
|
declare const KeyboardDatePicker: React.FC<IDatePickerProps>;
|
|
5
4
|
export default KeyboardDatePicker;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DatePickerProps } from
|
|
2
|
-
import { IAuthoriserProp } from
|
|
3
|
-
|
|
1
|
+
import { DatePickerProps } from "@mui/x-date-pickers/DatePicker";
|
|
2
|
+
import { IAuthoriserProp } from "../globals";
|
|
4
3
|
export interface IDatePickerProps extends IAuthoriserProp, DatePickerProps<Date> {
|
|
5
4
|
styling?: string;
|
|
6
5
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ILeftNavigationProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ILeftNavigationProps } from "./LeftNavigation.types";
|
|
4
3
|
declare const LeftNavigation: React.FC<ILeftNavigationProps>;
|
|
5
4
|
export default LeftNavigation;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ISvgComponentProps } from
|
|
3
|
-
|
|
1
|
+
import React, { ReactNode, ReactChild } from "react";
|
|
2
|
+
import { ISvgComponentProps } from "../SvgComponents/types";
|
|
4
3
|
export interface INavigationLink {
|
|
5
4
|
field: string;
|
|
6
5
|
path: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IListItemProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IListItemProps } from "./LeftNavigation.types";
|
|
4
3
|
declare const NavListItem: React.FC<IListItemProps>;
|
|
5
4
|
export default NavListItem;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IPrimaryLeftNavContainerProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IPrimaryLeftNavContainerProps } from "./LeftNavigation.types";
|
|
4
3
|
declare const PrimaryLeftNavContainer: React.FC<IPrimaryLeftNavContainerProps>;
|
|
5
4
|
export default PrimaryLeftNavContainer;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ISecondaryLeftNavContainerProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ISecondaryLeftNavContainerProps } from "./LeftNavigation.types";
|
|
4
3
|
declare const SecondaryLeftNavContainer: React.FC<ISecondaryLeftNavContainerProps>;
|
|
5
4
|
export default SecondaryLeftNavContainer;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ILoadingSpinnerProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ILoadingSpinnerProps } from "./LoadingSpinner.types";
|
|
4
3
|
declare const LoadingSpinner: React.FC<ILoadingSpinnerProps>;
|
|
5
4
|
export default LoadingSpinner;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IMainLayoutProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IMainLayoutProps } from "./MainLayout.types";
|
|
4
3
|
declare const MainLayout: React.FC<IMainLayoutProps>;
|
|
5
4
|
export default MainLayout;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IMobileDatePickerProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IMobileDatePickerProps } from "./MobileDatePicker.types";
|
|
4
3
|
declare const MobileDatePicker: React.FC<IMobileDatePickerProps>;
|
|
5
4
|
export default MobileDatePicker;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { MobileDatePickerProps } from
|
|
2
|
-
import { IAuthoriserProp } from
|
|
3
|
-
|
|
1
|
+
import { MobileDatePickerProps } from "@mui/x-date-pickers/MobileDatePicker";
|
|
2
|
+
import { IAuthoriserProp } from "../globals";
|
|
4
3
|
export type IMobileDatePickerProps = MobileDatePickerProps<Date> & IAuthoriserProp & {
|
|
5
4
|
styling?: string;
|
|
6
5
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { FC } from
|
|
2
|
-
import { ISvgComponentProps } from
|
|
3
|
-
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { ISvgComponentProps } from "../SvgComponents/types";
|
|
4
3
|
export type NavbarProps = {
|
|
5
4
|
tabs: Array<{
|
|
6
5
|
Icon: FC<ISvgComponentProps>;
|
|
@@ -9,5 +8,5 @@ export type NavbarProps = {
|
|
|
9
8
|
separate?: boolean;
|
|
10
9
|
}>;
|
|
11
10
|
};
|
|
12
|
-
declare const Navbar: ({ tabs }: NavbarProps) => JSX.Element;
|
|
11
|
+
declare const Navbar: ({ tabs }: NavbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export default Navbar;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ISvgComponentProps } from
|
|
3
|
-
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import { ISvgComponentProps } from "../SvgComponents/types";
|
|
4
3
|
export type NavbarLayoutTabs = Array<{
|
|
5
4
|
Icon: FC<ISvgComponentProps>;
|
|
6
5
|
field: string;
|
|
@@ -13,5 +12,5 @@ export type NavbarLayoutProps = {
|
|
|
13
12
|
leaveHeightForMenu?: boolean;
|
|
14
13
|
children: React.ReactNode;
|
|
15
14
|
};
|
|
16
|
-
declare const NavbarLayout: ({ tabs, hideTabs, leaveHeightForMenu, children, }: NavbarLayoutProps) => JSX.Element;
|
|
15
|
+
declare const NavbarLayout: ({ tabs, hideTabs, leaveHeightForMenu, children, }: NavbarLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
export default NavbarLayout;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as NavbarLayout } from
|
|
2
|
-
export type { NavbarLayoutProps, NavbarLayoutTabs } from
|
|
1
|
+
export { default as NavbarLayout } from "./NavbarLayout";
|
|
2
|
+
export type { NavbarLayoutProps, NavbarLayoutTabs } from "./NavbarLayout";
|
package/build/Select/Select.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { OutlinedTextFieldProps } from "@mui/material";
|
|
3
|
+
import { IAuthoriserProp } from "../globals";
|
|
4
4
|
export interface ISelectProps extends IAuthoriserProp, Omit<OutlinedTextFieldProps, "variant"> {
|
|
5
5
|
selectOptions: {
|
|
6
6
|
value: string | number;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IStaticTableProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IStaticTableProps } from "./StaticTable.types";
|
|
4
3
|
declare const StaticTable: React.FC<IStaticTableProps>;
|
|
5
4
|
export default StaticTable;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ISvgComponentProps } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ISvgComponentProps } from "./types";
|
|
4
3
|
declare const ContainedPartnersLogo: React.FC<ISvgComponentProps>;
|
|
5
4
|
export default ContainedPartnersLogo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as NovelLogoSvg } from
|
|
2
|
-
export { default as ContainedPartnersLogo } from
|
|
3
|
-
export { default as OrganisationList } from
|
|
4
|
-
export { default as HomeSvg } from
|
|
5
|
-
export { default as ProjectsSvg } from
|
|
1
|
+
export { default as NovelLogoSvg } from "./NovelLogoSvg";
|
|
2
|
+
export { default as ContainedPartnersLogo } from "./ContainedPartnersLogo";
|
|
3
|
+
export { default as OrganisationList } from "./OrganisationList";
|
|
4
|
+
export { default as HomeSvg } from "./HomeSvg";
|
|
5
|
+
export { default as ProjectsSvg } from "./ProjectsSvg";
|