@oc-digital/react-component-library 7.2.2-beta.0 → 7.2.2-beta.20

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 (96) hide show
  1. package/build/Alert/Alert.d.ts +4 -4
  2. package/build/Alert/Alert.types.d.ts +13 -13
  3. package/build/AlphabeticalList/AlphabeticalList.d.ts +4 -4
  4. package/build/AlphabeticalList/AlphabeticalList.types.d.ts +22 -22
  5. package/build/AutoSave/Select/AutoSave.types.d.ts +11 -11
  6. package/build/AutoSave/Select/index.d.ts +3 -3
  7. package/build/AutoSave/Text/AutoSave.types.d.ts +16 -16
  8. package/build/AutoSave/Text/index.d.ts +3 -3
  9. package/build/Breadcrumbs/Breadcrumbs.d.ts +4 -4
  10. package/build/Breadcrumbs/Breadcrumbs.types.d.ts +23 -23
  11. package/build/Button/Button.d.ts +4 -4
  12. package/build/Button/Button.types.d.ts +10 -10
  13. package/build/ButtonWithConfirm/ButtonWithConfirm.d.ts +4 -4
  14. package/build/ButtonWithConfirm/ButtonWithConfirm.types.d.ts +9 -9
  15. package/build/ContentBox/ContentBox.d.ts +4 -4
  16. package/build/ContentBox/ContentBox.types.d.ts +7 -7
  17. package/build/ContentLabel/ContentLabel.d.ts +4 -4
  18. package/build/ContentLabel/ContentLabel.types.d.ts +5 -5
  19. package/build/DatePicker/DatePicker.d.ts +4 -4
  20. package/build/DatePicker/DatePicker.types.d.ts +5 -5
  21. package/build/EditableTable/EditableTable.d.ts +4 -4
  22. package/build/EditableTable/EditableTable.types.d.ts +106 -106
  23. package/build/EditableTable/components/TableCheckbox.d.ts +8 -8
  24. package/build/EditableTable/components/TableDateInput.d.ts +9 -9
  25. package/build/EditableTable/components/TableTextInput.d.ts +20 -20
  26. package/build/EditableTable/components/utils/getTextWidth.d.ts +13 -13
  27. package/build/EditableTable/defaultCells.d.ts +30 -30
  28. package/build/EntityList/EntityList.d.ts +4 -4
  29. package/build/EntityList/EntityList.types.d.ts +14 -14
  30. package/build/ErrorIndicator/ErrorIndicator.d.ts +4 -4
  31. package/build/ErrorIndicator/ErrorIndicator.types.d.ts +4 -4
  32. package/build/ImageDisplayAndUpload/ImageDisplayAndUpload.d.ts +4 -4
  33. package/build/ImageDisplayAndUpload/ImageDisplayAndUpload.types.d.ts +8 -8
  34. package/build/KeyboardDatePicker/KeyboardDatePicker.d.ts +4 -4
  35. package/build/KeyboardDatePicker/KeyboardDatePicker.types.d.ts +5 -5
  36. package/build/LeftNavigation/LeftNavigation.d.ts +4 -4
  37. package/build/LeftNavigation/LeftNavigation.types.d.ts +96 -96
  38. package/build/LeftNavigation/NavListItem.d.ts +4 -4
  39. package/build/LeftNavigation/PrimaryLeftNavigation.d.ts +4 -4
  40. package/build/LeftNavigation/SecondaryLeftNavigation.d.ts +4 -4
  41. package/build/LoadingSpinner/LoadingSpinner.d.ts +4 -4
  42. package/build/LoadingSpinner/LoadingSpinner.types.d.ts +5 -5
  43. package/build/MainLayout/MainLayout.d.ts +4 -4
  44. package/build/MainLayout/MainLayout.types.d.ts +10 -10
  45. package/build/MobileDatePicker/MobileDatePicker.d.ts +4 -4
  46. package/build/MobileDatePicker/MobileDatePicker.types.d.ts +5 -5
  47. package/build/NavbarLayout/Navbar.d.ts +12 -12
  48. package/build/NavbarLayout/NavbarLayout.d.ts +16 -16
  49. package/build/NavbarLayout/index.d.ts +2 -2
  50. package/build/SearchBar/SearchBar.d.ts +4 -4
  51. package/build/SearchBar/SearchBar.types.d.ts +33 -33
  52. package/build/Select/Select.d.ts +4 -4
  53. package/build/Select/Select.types.d.ts +16 -16
  54. package/build/StaticTable/StaticTable.d.ts +4 -4
  55. package/build/StaticTable/StaticTable.types.d.ts +21 -21
  56. package/build/SvgComponents/ContainedPartnersLogo.d.ts +4 -4
  57. package/build/SvgComponents/HomeSvg.d.ts +4 -4
  58. package/build/SvgComponents/NovelLogoSvg.d.ts +4 -4
  59. package/build/SvgComponents/OrganisationList.d.ts +4 -4
  60. package/build/SvgComponents/ProjectsSvg.d.ts +4 -4
  61. package/build/SvgComponents/index.d.ts +5 -5
  62. package/build/SvgComponents/types.d.ts +6 -6
  63. package/build/TextField/TextField.d.ts +15 -15
  64. package/build/TextField/TextField.types.d.ts +7 -7
  65. package/build/Tooltip/OptionalTooltip.d.ts +8 -8
  66. package/build/Tooltip/index.d.ts +1 -1
  67. package/build/globals/index.d.ts +26 -26
  68. package/build/hooks/index.d.ts +3 -3
  69. package/build/hooks/useDebounceEffect.d.ts +2 -2
  70. package/build/hooks/useInterval.d.ts +2 -2
  71. package/build/hooks/useWhyDidYouUpdate.d.ts +1 -1
  72. package/build/index.d.ts +37 -37
  73. package/build/index.js +1 -1
  74. package/build/index.js.map +1 -1
  75. package/build/stories/Button.d.ts +28 -0
  76. package/build/stories/Button.stories.d.ts +10 -0
  77. package/build/stories/Header.d.ts +12 -0
  78. package/build/stories/Header.stories.d.ts +8 -0
  79. package/build/stories/Page.d.ts +3 -0
  80. package/build/stories/Page.stories.d.ts +8 -0
  81. package/build/style.css +1 -0
  82. package/build/styles/colours.d.ts +3 -3
  83. package/build/styles/font.d.ts +1 -1
  84. package/build/styles/index.d.ts +3 -3
  85. package/build/styles/layout.d.ts +1 -1
  86. package/build/styles/spacing.d.ts +1 -1
  87. package/build/styles/themes.d.ts +2 -2
  88. package/build/utils/index.d.ts +5 -5
  89. package/package.json +23 -19
  90. package/build/EditableTable/components/styled/Checkbox.d.ts +0 -5
  91. package/build/EditableTable/components/styled/CheckboxLabel.d.ts +0 -5
  92. package/build/EditableTable/components/styled/Input.d.ts +0 -21
  93. package/build/EditableTable/components/styled/InputAdornmentWrapper.d.ts +0 -5
  94. package/build/EditableTable/components/styled/InputWrapper.d.ts +0 -5
  95. package/build/EditableTable/components/styled/SmallError.d.ts +0 -5
  96. package/build/assets/index-DCUzKTQq.css +0 -78
@@ -1,33 +1,33 @@
1
- /// <reference types="react" />
2
- export interface ISearchBarProps {
3
- array: any[] | undefined | null;
4
- sortFn?: (arg1: any, arg2: any) => number;
5
- sortKey?: string;
6
- loading?: boolean;
7
- buttonClick?: (item?: any) => void;
8
- linkTo?: (item?: any) => string;
9
- ItemTemplate: React.FC<{
10
- item: any;
11
- }>;
12
- arrayKey?: string;
13
- loadingMessage?: string;
14
- emptyMessage?: string;
15
- inputBackgroundColor?: string;
16
- placeholder?: string;
17
- disabledSearch?: boolean;
18
- delay?: number;
19
- minQueryLength?: number;
20
- handleOnChange?: (query: string) => void;
21
- searchKeys?: string[];
22
- alphabetisedHeader?: boolean;
23
- /** setting this will initialise the search query to a value */
24
- initialSearchQuery?: string;
25
- /** dynamically generate an empty list message based on what was searched for */
26
- dynamicEmptyMessage?: (query: string) => string | JSX.Element;
27
- isResultDisabled?: (result: any) => {
28
- disabled: true;
29
- reason: string;
30
- } | {
31
- disabled: false;
32
- };
33
- }
1
+ /// <reference types="react" />
2
+ export interface ISearchBarProps {
3
+ array: any[] | undefined | null;
4
+ sortFn?: (arg1: any, arg2: any) => number;
5
+ sortKey?: string;
6
+ loading?: boolean;
7
+ buttonClick?: (item?: any) => void;
8
+ linkTo?: (item?: any) => string;
9
+ ItemTemplate: React.FC<{
10
+ item: any;
11
+ }>;
12
+ arrayKey?: string;
13
+ loadingMessage?: string;
14
+ emptyMessage?: string;
15
+ inputBackgroundColor?: string;
16
+ placeholder?: string;
17
+ disabledSearch?: boolean;
18
+ delay?: number;
19
+ minQueryLength?: number;
20
+ handleOnChange?: (query: string) => void;
21
+ searchKeys?: string[];
22
+ alphabetisedHeader?: boolean;
23
+ /** setting this will initialise the search query to a value */
24
+ initialSearchQuery?: string;
25
+ /** dynamically generate an empty list message based on what was searched for */
26
+ dynamicEmptyMessage?: (query: string) => string | JSX.Element;
27
+ isResultDisabled?: (result: any) => {
28
+ disabled: true;
29
+ reason: string;
30
+ } | {
31
+ disabled: false;
32
+ };
33
+ }
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { ISelectProps } from "./Select.types";
3
- declare const Select: React.FC<ISelectProps>;
4
- export default Select;
1
+ import React from "react";
2
+ import { ISelectProps } from "./Select.types";
3
+ declare const Select: React.FC<ISelectProps>;
4
+ export default Select;
@@ -1,16 +1,16 @@
1
- /// <reference types="react" />
2
- import { OutlinedTextFieldProps } from "@mui/material";
3
- import { IAuthoriserProp } from "../globals";
4
- export interface ISelectProps extends IAuthoriserProp, Omit<OutlinedTextFieldProps, "variant"> {
5
- selectOptions: {
6
- value: string | number;
7
- description: React.ReactNode;
8
- disabled?: boolean;
9
- }[];
10
- maxListHeight?: number;
11
- styling?: string;
12
- variant?: "outlined" | "standard";
13
- onOpen?: () => unknown;
14
- onClose?: () => unknown;
15
- itemClassName?: string;
16
- }
1
+ /// <reference types="react" />
2
+ import { OutlinedTextFieldProps } from "@mui/material";
3
+ import { IAuthoriserProp } from "../globals";
4
+ export interface ISelectProps extends IAuthoriserProp, Omit<OutlinedTextFieldProps, "variant"> {
5
+ selectOptions: {
6
+ value: string | number;
7
+ description: React.ReactNode;
8
+ disabled?: boolean;
9
+ }[];
10
+ maxListHeight?: number;
11
+ styling?: string;
12
+ variant?: "outlined" | "standard";
13
+ onOpen?: () => unknown;
14
+ onClose?: () => unknown;
15
+ itemClassName?: string;
16
+ }
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { IStaticTableProps } from "./StaticTable.types";
3
- declare const StaticTable: React.FC<IStaticTableProps>;
4
- export default StaticTable;
1
+ import React from "react";
2
+ import { IStaticTableProps } from "./StaticTable.types";
3
+ declare const StaticTable: React.FC<IStaticTableProps>;
4
+ export default StaticTable;
@@ -1,21 +1,21 @@
1
- /// <reference types="react" />
2
- export type cellAlignmentOptions = "centerJustify" | "leftJustify" | "rightJustify";
3
- export type headerColours = {
4
- background?: string;
5
- border?: string;
6
- text?: string;
7
- };
8
- export interface IStaticTableProps {
9
- headers?: React.ReactNode[];
10
- headerCellAlignment?: cellAlignmentOptions[];
11
- rows: {
12
- onClick?: () => void;
13
- row: React.ReactNode[];
14
- }[] | null | undefined;
15
- rowCellAlignment?: cellAlignmentOptions[];
16
- rowBorderSeparation?: boolean;
17
- styling?: string;
18
- headerColours?: headerColours;
19
- paginate?: boolean;
20
- itemsPerPage?: number;
21
- }
1
+ /// <reference types="react" />
2
+ export type cellAlignmentOptions = "centerJustify" | "leftJustify" | "rightJustify";
3
+ export type headerColours = {
4
+ background?: string;
5
+ border?: string;
6
+ text?: string;
7
+ };
8
+ export interface IStaticTableProps {
9
+ headers?: React.ReactNode[];
10
+ headerCellAlignment?: cellAlignmentOptions[];
11
+ rows: {
12
+ onClick?: () => void;
13
+ row: React.ReactNode[];
14
+ }[] | null | undefined;
15
+ rowCellAlignment?: cellAlignmentOptions[];
16
+ rowBorderSeparation?: boolean;
17
+ styling?: string;
18
+ headerColours?: headerColours;
19
+ paginate?: boolean;
20
+ itemsPerPage?: number;
21
+ }
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { ISvgComponentProps } from "./types";
3
- declare const ContainedPartnersLogo: React.FC<ISvgComponentProps>;
4
- export default ContainedPartnersLogo;
1
+ import React from "react";
2
+ import { ISvgComponentProps } from "./types";
3
+ declare const ContainedPartnersLogo: React.FC<ISvgComponentProps>;
4
+ export default ContainedPartnersLogo;
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { ISvgComponentProps } from "./types";
3
- declare const HomeSvg: React.FC<ISvgComponentProps>;
4
- export default HomeSvg;
1
+ import React from "react";
2
+ import { ISvgComponentProps } from "./types";
3
+ declare const HomeSvg: React.FC<ISvgComponentProps>;
4
+ export default HomeSvg;
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { ISvgComponentProps } from "./types";
3
- declare const NovelLogoSvg: React.FC<ISvgComponentProps>;
4
- export default NovelLogoSvg;
1
+ import React from "react";
2
+ import { ISvgComponentProps } from "./types";
3
+ declare const NovelLogoSvg: React.FC<ISvgComponentProps>;
4
+ export default NovelLogoSvg;
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { ISvgComponentProps } from "./types";
3
- declare const OrganisationList: React.FC<ISvgComponentProps>;
4
- export default OrganisationList;
1
+ import React from "react";
2
+ import { ISvgComponentProps } from "./types";
3
+ declare const OrganisationList: React.FC<ISvgComponentProps>;
4
+ export default OrganisationList;
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { ISvgComponentProps } from "./types";
3
- declare const ProjectsSvg: React.FC<ISvgComponentProps>;
4
- export default ProjectsSvg;
1
+ import React from "react";
2
+ import { ISvgComponentProps } from "./types";
3
+ declare const ProjectsSvg: React.FC<ISvgComponentProps>;
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";
@@ -1,6 +1,6 @@
1
- export interface ISvgComponentProps {
2
- color?: string;
3
- styling?: string;
4
- fontSize?: "small" | "medium" | "large" | "inherit";
5
- id?: string;
6
- }
1
+ export interface ISvgComponentProps {
2
+ color?: string;
3
+ styling?: string;
4
+ fontSize?: "small" | "medium" | "large" | "inherit";
5
+ id?: string;
6
+ }
@@ -1,15 +1,15 @@
1
- import React from "react";
2
- import { NumericFormatProps } from "react-number-format";
3
- import { ITextFieldProps } from "./TextField.types";
4
- declare const TextField: React.FC<ITextFieldProps>;
5
- export default TextField;
6
- interface INumberFormatProps extends Omit<NumericFormatProps, "onChange"> {
7
- onChange: (event: {
8
- target: {
9
- name: string;
10
- value: string;
11
- };
12
- }) => void;
13
- fixedDecimalScale: boolean;
14
- }
15
- export declare const NumberFormatField: (props: INumberFormatProps) => JSX.Element;
1
+ import React from "react";
2
+ import { NumericFormatProps } from "react-number-format";
3
+ import { ITextFieldProps } from "./TextField.types";
4
+ declare const TextField: React.FC<ITextFieldProps>;
5
+ export default TextField;
6
+ interface INumberFormatProps extends Omit<NumericFormatProps, "onChange"> {
7
+ onChange: (event: {
8
+ target: {
9
+ name: string;
10
+ value: string;
11
+ };
12
+ }) => void;
13
+ fixedDecimalScale: boolean;
14
+ }
15
+ export declare const NumberFormatField: (props: INumberFormatProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
- import { OutlinedTextFieldProps } from "@mui/material";
2
- import { IAuthoriserProp } from "../globals";
3
- export interface ITextFieldProps extends IAuthoriserProp, Omit<OutlinedTextFieldProps, "variant"> {
4
- styling?: string;
5
- numberField?: boolean;
6
- fixedDecimalScale?: boolean;
7
- }
1
+ import { OutlinedTextFieldProps } from "@mui/material";
2
+ import { IAuthoriserProp } from "../globals";
3
+ export interface ITextFieldProps extends IAuthoriserProp, Omit<OutlinedTextFieldProps, "variant"> {
4
+ styling?: string;
5
+ numberField?: boolean;
6
+ fixedDecimalScale?: boolean;
7
+ }
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- interface IOptionalTooltipProps {
3
- showTooltip: boolean;
4
- tooltipText: string;
5
- children: JSX.Element;
6
- }
7
- export declare const OptionalTooltip: React.FC<IOptionalTooltipProps>;
8
- export {};
1
+ import React from "react";
2
+ interface IOptionalTooltipProps {
3
+ showTooltip: boolean;
4
+ tooltipText: string;
5
+ children: JSX.Element;
6
+ }
7
+ export declare const OptionalTooltip: React.FC<IOptionalTooltipProps>;
8
+ export {};
@@ -1 +1 @@
1
- export * from "./OptionalTooltip";
1
+ export * from "./OptionalTooltip";
@@ -1,26 +1,26 @@
1
- export declare const HALF_REM = "0.5rem";
2
- export declare const ONE_REM = "1rem";
3
- export declare const ONE_AND_HALF_REM = "1.5rem";
4
- export declare const TWO_REM = "3rem";
5
- export declare const THREE_REM = "3rem";
6
- export declare const EDITED_STATUS = "EDITED";
7
- export declare const NEW_STATUS = "NEW";
8
- export declare const VALIDATION_MESSAGE_REQUIRED = "Required";
9
- export declare const REGEX_NUMBER_WITH_DECIMALS: RegExp;
10
- export declare const YUP_REQUIRED_STRING_SHORT_MESSAGE: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
11
- export declare const YUP_STRING_NUMBER_WITH_DECIMALS: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
12
- export declare const FORM_SUCCESS = "success";
13
- export declare const FORM_ERROR = "error";
14
- export declare const FORM_LOADING = "loading";
15
- export declare const FORM_ENABLED = "enabled";
16
- export declare const FORM_WARNING = "warning";
17
- export declare const FORM_DELETING = "deleting";
18
- export type FormStatuses = typeof FORM_SUCCESS | typeof FORM_ERROR | typeof FORM_LOADING | typeof FORM_ENABLED | typeof FORM_WARNING | typeof FORM_DELETING;
19
- export declare const READ_LEVEL = "read";
20
- export declare const WRITE_LEVEL = "write";
21
- export declare const NO_ACCESS_LEVEL = "noAccess";
22
- export type AccessLevels = typeof READ_LEVEL | typeof WRITE_LEVEL | typeof NO_ACCESS_LEVEL;
23
- export interface IAuthoriserProp {
24
- accessLevel?: AccessLevels;
25
- }
26
- export declare const BORDER_RADIUS = "14px";
1
+ export declare const HALF_REM = "0.5rem";
2
+ export declare const ONE_REM = "1rem";
3
+ export declare const ONE_AND_HALF_REM = "1.5rem";
4
+ export declare const TWO_REM = "3rem";
5
+ export declare const THREE_REM = "3rem";
6
+ export declare const EDITED_STATUS = "EDITED";
7
+ export declare const NEW_STATUS = "NEW";
8
+ export declare const VALIDATION_MESSAGE_REQUIRED = "Required";
9
+ export declare const REGEX_NUMBER_WITH_DECIMALS: RegExp;
10
+ export declare const YUP_REQUIRED_STRING_SHORT_MESSAGE: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
11
+ export declare const YUP_STRING_NUMBER_WITH_DECIMALS: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
12
+ export declare const FORM_SUCCESS = "success";
13
+ export declare const FORM_ERROR = "error";
14
+ export declare const FORM_LOADING = "loading";
15
+ export declare const FORM_ENABLED = "enabled";
16
+ export declare const FORM_WARNING = "warning";
17
+ export declare const FORM_DELETING = "deleting";
18
+ export type FormStatuses = typeof FORM_SUCCESS | typeof FORM_ERROR | typeof FORM_LOADING | typeof FORM_ENABLED | typeof FORM_WARNING | typeof FORM_DELETING;
19
+ export declare const READ_LEVEL = "read";
20
+ export declare const WRITE_LEVEL = "write";
21
+ export declare const NO_ACCESS_LEVEL = "noAccess";
22
+ export type AccessLevels = typeof READ_LEVEL | typeof WRITE_LEVEL | typeof NO_ACCESS_LEVEL;
23
+ export interface IAuthoriserProp {
24
+ accessLevel?: AccessLevels;
25
+ }
26
+ export declare const BORDER_RADIUS = "14px";
@@ -1,3 +1,3 @@
1
- export { default as useDebounceEffect } from "./useDebounceEffect";
2
- export { default as useInterval } from "./useInterval";
3
- export { default as useWhyDidYouUpdate } from "./useWhyDidYouUpdate";
1
+ export { default as useDebounceEffect } from "./useDebounceEffect";
2
+ export { default as useInterval } from "./useInterval";
3
+ export { default as useWhyDidYouUpdate } from "./useWhyDidYouUpdate";
@@ -1,2 +1,2 @@
1
- declare const useDebounceEffect: (effect: (query: string) => void, deps: any[], delay?: number) => void;
2
- export default useDebounceEffect;
1
+ declare const useDebounceEffect: (effect: (query: string) => void, deps: any[], delay?: number) => void;
2
+ export default useDebounceEffect;
@@ -1,2 +1,2 @@
1
- declare const useInterval: (callback: () => void, delay: number | null) => void;
2
- export default useInterval;
1
+ declare const useInterval: (callback: () => void, delay: number | null) => void;
2
+ export default useInterval;
@@ -1 +1 @@
1
- export default function useWhyDidYouUpdate(name: string, props: Record<string, any>): void;
1
+ export default function useWhyDidYouUpdate(name: string, props: Record<string, any>): void;
package/build/index.d.ts CHANGED
@@ -1,37 +1,37 @@
1
- import Button from "./Button/Button";
2
- import ContentLabel from "./ContentLabel/ContentLabel";
3
- import ContentBox from "./ContentBox/ContentBox";
4
- import StaticTable from "./StaticTable/StaticTable";
5
- import LoadingSpinner from "./LoadingSpinner/LoadingSpinner";
6
- import Breadcrumbs from "./Breadcrumbs/Breadcrumbs";
7
- import EntityList from "./EntityList/EntityList";
8
- import { IEntity } from "./EntityList/EntityList.types";
9
- import ErrorIndicator from "./ErrorIndicator/ErrorIndicator";
10
- import LeftNavigation from "./LeftNavigation/LeftNavigation";
11
- import { INavigationLink, ISecondaryNavigationItem, ISecondaryNavigationSubItem } from "./LeftNavigation/LeftNavigation.types";
12
- import MainLayout from "./MainLayout/MainLayout";
13
- import SearchBar from "./SearchBar/SearchBar";
14
- import TextField, { NumberFormatField } from "./TextField/TextField";
15
- import Select from "./Select/Select";
16
- import DatePicker from "./DatePicker/DatePicker";
17
- import KeyboardDatePicker from "./KeyboardDatePicker/KeyboardDatePicker";
18
- import ButtonWithConfirm from "./ButtonWithConfirm/ButtonWithConfirm";
19
- import EditableTable from "./EditableTable/EditableTable";
20
- import { FieldConfig, RowData, ITableHeader, TableCellValues, SynchCellWithStateFn, ICustomRenderFnProps, IEssentialRenderFnProps } from "./EditableTable/EditableTable.types";
21
- import { tableNumericStringField, tableNumericStringFixedDecimalField, tableDateField, tableCheckbox, TableSelect, TableMultipleSelect, NonEditableField } from "./EditableTable/defaultCells";
22
- import { useDebounceEffect, useInterval, useWhyDidYouUpdate } from "./hooks";
23
- import { didCellValueChange } from "./utils";
24
- import ImageDisplayAndUpload from "./ImageDisplayAndUpload/ImageDisplayAndUpload";
25
- import Alert from "./Alert/Alert";
26
- import AlphabeticalList from "./AlphabeticalList/AlphabeticalList";
27
- import { ISelectProps } from "./Select/Select.types";
28
- import { NavbarLayout, NavbarLayoutTabs } from "./NavbarLayout";
29
- import { FORM_SUCCESS, FORM_ERROR, FORM_LOADING, FORM_ENABLED, FORM_WARNING, FORM_DELETING, FormStatuses } from "./globals";
30
- import MobileDatePicker from "./MobileDatePicker/MobileDatePicker";
31
- import { AutoSaveTextField } from "./AutoSave/Text";
32
- import { AutoSaveSelectField } from "./AutoSave/Select";
33
- import { OptionalTooltip } from "./Tooltip";
34
- import { TableDateInput } from "./EditableTable/components/TableDateInput";
35
- import { TableTextInput } from "./EditableTable/components/TableTextInput";
36
- export { ImageDisplayAndUpload, Alert, Button, ContentLabel, ContentBox, StaticTable, LoadingSpinner, Breadcrumbs, EntityList, ErrorIndicator, LeftNavigation, MainLayout, SearchBar, TextField, Select, DatePicker, AutoSaveTextField, AutoSaveSelectField, KeyboardDatePicker, MobileDatePicker, ButtonWithConfirm, EditableTable, TableSelect, TableMultipleSelect, NonEditableField, TableDateInput as TableDatePicker, TableTextInput as TableTextField, tableNumericStringField, tableNumericStringFixedDecimalField, tableDateField, tableCheckbox, didCellValueChange, useDebounceEffect, useInterval, useWhyDidYouUpdate, AlphabeticalList, NumberFormatField, NavbarLayout, OptionalTooltip, FORM_SUCCESS, FORM_ERROR, FORM_LOADING, FORM_ENABLED, FORM_WARNING, FORM_DELETING, };
37
- export type { FieldConfig, RowData, ITableHeader, TableCellValues, SynchCellWithStateFn, ICustomRenderFnProps, IEssentialRenderFnProps, ISelectProps, IEntity, INavigationLink, ISecondaryNavigationItem, ISecondaryNavigationSubItem, NavbarLayoutTabs, FormStatuses, };
1
+ import Button from "./Button/Button";
2
+ import ContentLabel from "./ContentLabel/ContentLabel";
3
+ import ContentBox from "./ContentBox/ContentBox";
4
+ import StaticTable from "./StaticTable/StaticTable";
5
+ import LoadingSpinner from "./LoadingSpinner/LoadingSpinner";
6
+ import Breadcrumbs from "./Breadcrumbs/Breadcrumbs";
7
+ import EntityList from "./EntityList/EntityList";
8
+ import { IEntity } from "./EntityList/EntityList.types";
9
+ import ErrorIndicator from "./ErrorIndicator/ErrorIndicator";
10
+ import LeftNavigation from "./LeftNavigation/LeftNavigation";
11
+ import { INavigationLink, ISecondaryNavigationItem, ISecondaryNavigationSubItem } from "./LeftNavigation/LeftNavigation.types";
12
+ import MainLayout from "./MainLayout/MainLayout";
13
+ import SearchBar from "./SearchBar/SearchBar";
14
+ import TextField, { NumberFormatField } from "./TextField/TextField";
15
+ import Select from "./Select/Select";
16
+ import DatePicker from "./DatePicker/DatePicker";
17
+ import KeyboardDatePicker from "./KeyboardDatePicker/KeyboardDatePicker";
18
+ import ButtonWithConfirm from "./ButtonWithConfirm/ButtonWithConfirm";
19
+ import EditableTable from "./EditableTable/EditableTable";
20
+ import { FieldConfig, RowData, ITableHeader, TableCellValues, SynchCellWithStateFn, ICustomRenderFnProps, IEssentialRenderFnProps } from "./EditableTable/EditableTable.types";
21
+ import { tableNumericStringField, tableNumericStringFixedDecimalField, tableDateField, tableCheckbox, TableSelect, TableMultipleSelect, NonEditableField } from "./EditableTable/defaultCells";
22
+ import { useDebounceEffect, useInterval, useWhyDidYouUpdate } from "./hooks";
23
+ import { didCellValueChange } from "./utils";
24
+ import ImageDisplayAndUpload from "./ImageDisplayAndUpload/ImageDisplayAndUpload";
25
+ import Alert from "./Alert/Alert";
26
+ import AlphabeticalList from "./AlphabeticalList/AlphabeticalList";
27
+ import { ISelectProps } from "./Select/Select.types";
28
+ import { NavbarLayout, NavbarLayoutTabs } from "./NavbarLayout";
29
+ import { FORM_SUCCESS, FORM_ERROR, FORM_LOADING, FORM_ENABLED, FORM_WARNING, FORM_DELETING, FormStatuses } from "./globals";
30
+ import MobileDatePicker from "./MobileDatePicker/MobileDatePicker";
31
+ import { AutoSaveTextField } from "./AutoSave/Text";
32
+ import { AutoSaveSelectField } from "./AutoSave/Select";
33
+ import { OptionalTooltip } from "./Tooltip";
34
+ import { TableDateInput } from "./EditableTable/components/TableDateInput";
35
+ import { TableTextInput } from "./EditableTable/components/TableTextInput";
36
+ export { ImageDisplayAndUpload, Alert, Button, ContentLabel, ContentBox, StaticTable, LoadingSpinner, Breadcrumbs, EntityList, ErrorIndicator, LeftNavigation, MainLayout, SearchBar, TextField, Select, DatePicker, AutoSaveTextField, AutoSaveSelectField, KeyboardDatePicker, MobileDatePicker, ButtonWithConfirm, EditableTable, TableSelect, TableMultipleSelect, NonEditableField, TableDateInput as TableDatePicker, TableTextInput as TableTextField, tableNumericStringField, tableNumericStringFixedDecimalField, tableDateField, tableCheckbox, didCellValueChange, useDebounceEffect, useInterval, useWhyDidYouUpdate, AlphabeticalList, NumberFormatField, NavbarLayout, OptionalTooltip, FORM_SUCCESS, FORM_ERROR, FORM_LOADING, FORM_ENABLED, FORM_WARNING, FORM_DELETING, };
37
+ export type { FieldConfig, RowData, ITableHeader, TableCellValues, SynchCellWithStateFn, ICustomRenderFnProps, IEssentialRenderFnProps, ISelectProps, IEntity, INavigationLink, ISecondaryNavigationItem, ISecondaryNavigationSubItem, NavbarLayoutTabs, FormStatuses, };