@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.
Files changed (86) hide show
  1. package/build/Alert/Alert.d.ts +2 -3
  2. package/build/Alert/Alert.types.d.ts +2 -3
  3. package/build/AlphabeticalList/AlphabeticalList.d.ts +2 -3
  4. package/build/AutoSave/Select/AutoSave.d.ts +3 -0
  5. package/build/AutoSave/Select/index.d.ts +2 -3
  6. package/build/AutoSave/Text/AutoSave.d.ts +3 -0
  7. package/build/AutoSave/Text/AutoSave.types.d.ts +2 -3
  8. package/build/AutoSave/Text/index.d.ts +2 -3
  9. package/build/Breadcrumbs/Breadcrumbs.d.ts +2 -3
  10. package/build/Breadcrumbs/Breadcrumbs.types.d.ts +1 -2
  11. package/build/Button/Button.d.ts +2 -3
  12. package/build/Button/Button.types.d.ts +3 -3
  13. package/build/ButtonWithConfirm/ButtonWithConfirm.d.ts +2 -3
  14. package/build/ButtonWithConfirm/ButtonWithConfirm.types.d.ts +3 -3
  15. package/build/ContentBox/ContentBox.d.ts +2 -3
  16. package/build/ContentLabel/ContentLabel.d.ts +2 -3
  17. package/build/DatePicker/DatePicker.d.ts +2 -3
  18. package/build/DatePicker/DatePicker.types.d.ts +2 -3
  19. package/build/EditableTable/EditableTable.d.ts +2 -3
  20. package/build/EditableTable/EditableTable.types.d.ts +4 -5
  21. package/build/EditableTable/components/TableCheckbox.d.ts +1 -1
  22. package/build/EditableTable/components/TableDateInput.d.ts +1 -1
  23. package/build/EditableTable/components/TableTextInput.d.ts +2 -3
  24. package/build/EditableTable/components/styled/Checkbox.d.ts +5 -0
  25. package/build/EditableTable/components/styled/CheckboxLabel.d.ts +5 -0
  26. package/build/EditableTable/components/styled/Input.d.ts +5 -0
  27. package/build/EditableTable/components/styled/InputWrapper.d.ts +5 -0
  28. package/build/EditableTable/components/styled/SmallError.d.ts +5 -0
  29. package/build/EditableTable/defaultCells.d.ts +7 -8
  30. package/build/EntityList/EntityList.d.ts +2 -3
  31. package/build/EntityList/EntityList.types.d.ts +1 -2
  32. package/build/ErrorIndicator/ErrorIndicator.d.ts +2 -3
  33. package/build/ErrorIndicator/ErrorIndicator.types.d.ts +1 -2
  34. package/build/ImageDisplayAndUpload/ImageDisplayAndUpload.d.ts +2 -3
  35. package/build/ImageDisplayAndUpload/ImageDisplayAndUpload.types.d.ts +1 -2
  36. package/build/KeyboardDatePicker/KeyboardDatePicker.d.ts +2 -3
  37. package/build/KeyboardDatePicker/KeyboardDatePicker.types.d.ts +2 -3
  38. package/build/LeftNavigation/LeftNavigation.d.ts +2 -3
  39. package/build/LeftNavigation/LeftNavigation.types.d.ts +2 -3
  40. package/build/LeftNavigation/NavListItem.d.ts +2 -3
  41. package/build/LeftNavigation/PrimaryLeftNavigation.d.ts +2 -3
  42. package/build/LeftNavigation/SecondaryLeftNavigation.d.ts +2 -3
  43. package/build/LoadingSpinner/LoadingSpinner.d.ts +2 -3
  44. package/build/LoadingSpinner/LoadingSpinner.types.d.ts +1 -2
  45. package/build/MainLayout/MainLayout.d.ts +2 -3
  46. package/build/MainLayout/MainLayout.types.d.ts +1 -2
  47. package/build/MobileDatePicker/MobileDatePicker.d.ts +2 -3
  48. package/build/MobileDatePicker/MobileDatePicker.types.d.ts +2 -3
  49. package/build/NavbarLayout/Navbar.d.ts +3 -4
  50. package/build/NavbarLayout/NavbarLayout.d.ts +3 -4
  51. package/build/NavbarLayout/index.d.ts +2 -2
  52. package/build/SearchBar/SearchBar.d.ts +2 -3
  53. package/build/Select/Select.d.ts +2 -3
  54. package/build/Select/Select.types.d.ts +3 -3
  55. package/build/StaticTable/StaticTable.d.ts +2 -3
  56. package/build/SvgComponents/ContainedPartnersLogo.d.ts +2 -3
  57. package/build/SvgComponents/HomeSvg.d.ts +2 -3
  58. package/build/SvgComponents/NovelLogoSvg.d.ts +2 -3
  59. package/build/SvgComponents/OrganisationList.d.ts +2 -3
  60. package/build/SvgComponents/ProjectsSvg.d.ts +2 -3
  61. package/build/SvgComponents/index.d.ts +5 -5
  62. package/build/TextField/TextField.d.ts +4 -5
  63. package/build/TextField/TextField.types.d.ts +2 -3
  64. package/build/ThemeProvider/index.d.ts +5 -0
  65. package/build/Tooltip/OptionalTooltip.d.ts +1 -2
  66. package/build/Tooltip/index.d.ts +1 -1
  67. package/build/globals/index.d.ts +2 -2
  68. package/build/hooks/index.d.ts +3 -3
  69. package/build/index.d.ts +35 -36
  70. package/build/index.js +1 -573
  71. package/build/index.js.map +1 -1
  72. package/build/styles/font.d.ts +1 -1
  73. package/build/styles/index.d.ts +3 -3
  74. package/build/styles/layout.d.ts +1 -1
  75. package/build/styles/spacing.d.ts +1 -1
  76. package/build/styles/theme.d.ts +1 -0
  77. package/build/styles/themes.d.ts +2 -2
  78. package/build/utils/index.d.ts +1 -2
  79. package/package.json +24 -22
  80. package/build/stories/Button.d.ts +0 -28
  81. package/build/stories/Button.stories.d.ts +0 -10
  82. package/build/stories/Header.d.ts +0 -12
  83. package/build/stories/Header.stories.d.ts +0 -8
  84. package/build/stories/Page.d.ts +0 -3
  85. package/build/stories/Page.stories.d.ts +0 -8
  86. package/build/style.css +0 -1
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { IAlertProps } from './Alert.types';
3
-
1
+ import React from "react";
2
+ import { IAlertProps } from "./Alert.types";
4
3
  declare const Alert: React.FC<IAlertProps>;
5
4
  export default Alert;
@@ -1,6 +1,5 @@
1
- import { ReactChild } from 'react';
2
- import { FormStatuses } from '../globals';
3
-
1
+ import { ReactChild } from "react";
2
+ import { FormStatuses } from "../globals";
4
3
  export interface IAlertProps {
5
4
  alertActionHandler?: () => void;
6
5
  formStatus: FormStatuses;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { IAlphabeticalListProps } from './AlphabeticalList.types';
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;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { AutoSaveSelectFieldProps } from "./AutoSave.types";
3
+ export declare const AutoSaveSelectField: React.FC<AutoSaveSelectFieldProps>;
@@ -1,4 +1,3 @@
1
- import { default as React } from 'react';
2
- import { AutoSaveSelectFieldProps } from './AutoSave.types';
3
-
1
+ import React from "react";
2
+ import type { AutoSaveSelectFieldProps } from "./AutoSave.types";
4
3
  export declare const AutoSaveSelectField: React.FC<AutoSaveSelectFieldProps>;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { AutoSaveTextFieldProps } from "./AutoSave.types";
3
+ export declare const AutoSaveTextField: React.FC<AutoSaveTextFieldProps>;
@@ -1,6 +1,5 @@
1
- import { FocusEvent } from 'react';
2
- import { AccessLevels } from '../../globals';
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 { default as React } from 'react';
2
- import { AutoSaveTextFieldProps } from './AutoSave.types';
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 { default as React } from 'react';
2
- import { IBreadcrumbsProps } from './Breadcrumbs.types';
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;
@@ -1,5 +1,4 @@
1
- import { ReactNode } from 'react';
2
-
1
+ import { ReactNode } from "react";
3
2
  type BreadcrumbSlot = {
4
3
  name: string;
5
4
  link: string;
@@ -1,4 +1,3 @@
1
- import { IButtonProps } from './Button.types';
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
- import { IAuthoriserProp } from '../globals';
2
- import { ButtonProps } from '@mui/material/Button';
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 { default as React } from 'react';
2
- import { IButtonWithConfirmProps } from './ButtonWithConfirm.types';
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
- import { IAuthoriserProp } from '../globals';
2
- import { ButtonProps } from '@mui/material';
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 { default as React } from 'react';
2
- import { IContentBoxProps } from './ContentBox.types';
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 { default as React } from 'react';
2
- import { IContentLabelProps } from './ContentLabel.types';
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 { default as React } from 'react';
2
- import { IDatePickerProps } from './DatePicker.types';
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 '@mui/x-date-pickers/DatePicker';
2
- import { IAuthoriserProp } from '../globals';
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 { default as React } from 'react';
2
- import { IEditableTableProps } from './EditableTable.types';
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 'react-table';
2
- import { SchemaOf } from 'yup';
3
- import { default as React } from 'react';
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 'react';
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 { default as React, ReactChild, ReactNode } from 'react';
2
- import { ICustomRenderFnProps, IEssentialRenderFnProps } from './EditableTable.types';
3
-
4
- export declare const tableTextField: (tableProps: ICustomRenderFnProps) => JSX.Element;
5
- export declare const tableNumericStringField: (tableProps: ICustomRenderFnProps) => JSX.Element;
6
- export declare const tableNumericStringFixedDecimalField: (tableProps: ICustomRenderFnProps) => JSX.Element;
7
- export declare const tableDateField: ({ value, onChange, disabled, error, }: ICustomRenderFnProps) => JSX.Element;
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 { default as React } from 'react';
2
- import { IEntityListProps } from './EntityList.types';
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 { ReactNode } from 'react';
2
-
1
+ import { ReactNode } from "react";
3
2
  export interface IEntity {
4
3
  id: string;
5
4
  name: string;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { IErrorIndicatorProps } from './ErrorIndicator.types';
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 { ReactNode } from 'react';
2
-
1
+ import { ReactNode } from "react";
3
2
  export interface IErrorIndicatorProps {
4
3
  text?: ReactNode;
5
4
  }
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { IImageDisplayAndUploadProps } from './ImageDisplayAndUpload.types';
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 { IAuthoriserProp } from '../globals';
2
-
1
+ import { IAuthoriserProp } from "../globals";
3
2
  export interface IImageDisplayAndUploadProps extends IAuthoriserProp {
4
3
  id?: string;
5
4
  url: string | null;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { IDatePickerProps } from './KeyboardDatePicker.types';
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 '@mui/x-date-pickers/DatePicker';
2
- import { IAuthoriserProp } from '../globals';
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 { default as React } from 'react';
2
- import { ILeftNavigationProps } from './LeftNavigation.types';
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 { default as React, ReactNode, ReactChild } from 'react';
2
- import { ISvgComponentProps } from '../SvgComponents/types';
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 { default as React } from 'react';
2
- import { IListItemProps } from './LeftNavigation.types';
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 { default as React } from 'react';
2
- import { IPrimaryLeftNavContainerProps } from './LeftNavigation.types';
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 { default as React } from 'react';
2
- import { ISecondaryLeftNavContainerProps } from './LeftNavigation.types';
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 { default as React } from 'react';
2
- import { ILoadingSpinnerProps } from './LoadingSpinner.types';
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 { ReactNode } from 'react';
2
-
1
+ import { ReactNode } from "react";
3
2
  export interface ILoadingSpinnerProps {
4
3
  text?: ReactNode;
5
4
  styling?: string;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { IMainLayoutProps } from './MainLayout.types';
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 { ReactElement } from 'react';
2
-
1
+ import { ReactElement } from "react";
3
2
  export interface IMainLayoutProps {
4
3
  id?: string;
5
4
  sideNavigation?: ReactElement;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { IMobileDatePickerProps } from './MobileDatePicker.types';
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 '@mui/x-date-pickers/MobileDatePicker';
2
- import { IAuthoriserProp } from '../globals';
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 'react';
2
- import { ISvgComponentProps } from '../SvgComponents/types';
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 { default as React, FC } from 'react';
2
- import { ISvgComponentProps } from '../SvgComponents/types';
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 './NavbarLayout';
2
- export type { NavbarLayoutProps, NavbarLayoutTabs } from './NavbarLayout';
1
+ export { default as NavbarLayout } from "./NavbarLayout";
2
+ export type { NavbarLayoutProps, NavbarLayoutTabs } from "./NavbarLayout";
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { ISearchBarProps } from './SearchBar.types';
3
-
1
+ import React from "react";
2
+ import { ISearchBarProps } from "./SearchBar.types";
4
3
  declare const SearchBar: React.FC<ISearchBarProps>;
5
4
  export default SearchBar;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { ISelectProps } from './Select.types';
3
-
1
+ import React from "react";
2
+ import { ISelectProps } from "./Select.types";
4
3
  declare const Select: React.FC<ISelectProps>;
5
4
  export default Select;
@@ -1,6 +1,6 @@
1
- import { OutlinedTextFieldProps } from '@mui/material';
2
- import { IAuthoriserProp } from '../globals';
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 { default as React } from 'react';
2
- import { IStaticTableProps } from './StaticTable.types';
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 { default as React } from 'react';
2
- import { ISvgComponentProps } from './types';
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,4 @@
1
- import { default as React } from 'react';
2
- import { ISvgComponentProps } from './types';
3
-
1
+ import React from "react";
2
+ import { ISvgComponentProps } from "./types";
4
3
  declare const HomeSvg: React.FC<ISvgComponentProps>;
5
4
  export default HomeSvg;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { ISvgComponentProps } from './types';
3
-
1
+ import React from "react";
2
+ import { ISvgComponentProps } from "./types";
4
3
  declare const NovelLogoSvg: React.FC<ISvgComponentProps>;
5
4
  export default NovelLogoSvg;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { ISvgComponentProps } from './types';
3
-
1
+ import React from "react";
2
+ import { ISvgComponentProps } from "./types";
4
3
  declare const OrganisationList: React.FC<ISvgComponentProps>;
5
4
  export default OrganisationList;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
- import { ISvgComponentProps } from './types';
3
-
1
+ import React from "react";
2
+ import { ISvgComponentProps } from "./types";
4
3
  declare const ProjectsSvg: React.FC<ISvgComponentProps>;
5
4
  export default ProjectsSvg;
@@ -1,5 +1,5 @@
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';
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";