@oc-digital/react-component-library 2.0.5 → 2.0.7-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/README.md +14 -4
- package/build/Alert/Alert.d.ts +4 -4
- package/build/AlphabeticalList/AlphabeticalList.d.ts +4 -4
- package/build/AlphabeticalList/AlphabeticalList.types.d.ts +16 -16
- package/build/Breadcrumbs/Breadcrumbs.d.ts +4 -4
- package/build/Breadcrumbs/Breadcrumbs.types.d.ts +23 -23
- package/build/Button/Button.d.ts +4 -4
- package/build/Button/Button.types.d.ts +14 -14
- package/build/ButtonWithConfirm/ButtonWithConfirm.d.ts +4 -4
- package/build/ButtonWithConfirm/ButtonWithConfirm.types.d.ts +12 -12
- package/build/ContentBox/ContentBox.d.ts +4 -4
- package/build/ContentBox/ContentBox.types.d.ts +6 -6
- package/build/ContentLabel/ContentLabel.d.ts +4 -4
- package/build/ContentLabel/ContentLabel.types.d.ts +5 -5
- package/build/DatePicker/DatePicker.d.ts +4 -4
- package/build/DatePicker/DatePicker.types.d.ts +5 -5
- package/build/EditableTable/EditableTable.d.ts +4 -4
- package/build/EditableTable/EditableTable.types.d.ts +105 -105
- package/build/EditableTable/defaultCells.d.ts +33 -33
- package/build/EntityList/EntityList.d.ts +4 -4
- package/build/EntityList/EntityList.types.d.ts +14 -14
- package/build/ErrorIndicator/ErrorIndicator.d.ts +4 -4
- package/build/ErrorIndicator/ErrorIndicator.types.d.ts +4 -4
- package/build/ImageDisplayAndUpload/ImageDisplayAndUpload.d.ts +4 -4
- package/build/ImageDisplayAndUpload/ImageDisplayAndUpload.types.d.ts +8 -8
- package/build/KeyboardDatePicker/KeyboardDatePicker.d.ts +4 -4
- package/build/KeyboardDatePicker/KeyboardDatePicker.types.d.ts +5 -5
- package/build/LeftNavigation/LeftNavigation.d.ts +4 -4
- package/build/LeftNavigation/LeftNavigation.types.d.ts +96 -96
- package/build/LeftNavigation/NavListItem.d.ts +4 -4
- package/build/LeftNavigation/PrimaryLeftNavigation.d.ts +4 -4
- package/build/LeftNavigation/SecondaryLeftNavigation.d.ts +4 -4
- package/build/LoadingSpinner/LoadingSpinner.d.ts +4 -4
- package/build/LoadingSpinner/LoadingSpinner.types.d.ts +5 -5
- package/build/MainLayout/MainLayout.d.ts +4 -4
- package/build/MainLayout/MainLayout.types.d.ts +9 -9
- package/build/SearchBar/SearchBar.d.ts +4 -4
- package/build/SearchBar/SearchBar.types.d.ts +23 -23
- package/build/Select/Select.d.ts +4 -4
- package/build/Select/Select.types.d.ts +14 -14
- package/build/StaticTable/StaticTable.d.ts +4 -4
- package/build/StaticTable/StaticTable.types.d.ts +21 -21
- package/build/SvgComponents/ContainedPartnersLogo.d.ts +4 -4
- package/build/SvgComponents/HomeSvg.d.ts +4 -4
- package/build/SvgComponents/NovelLogoSvg.d.ts +4 -4
- package/build/SvgComponents/OrganisationList.d.ts +4 -4
- package/build/SvgComponents/ProjectsSvg.d.ts +4 -4
- package/build/SvgComponents/index.d.ts +5 -5
- package/build/SvgComponents/types.d.ts +6 -6
- package/build/TextField/TextField.d.ts +16 -15
- package/build/TextField/TextField.types.d.ts +7 -7
- package/build/globals/index.d.ts +24 -24
- package/build/hooks/index.d.ts +3 -3
- package/build/hooks/useDebounceEffect.d.ts +2 -2
- package/build/hooks/useInterval.d.ts +2 -2
- package/build/hooks/useWhyDidYouUpdate.d.ts +1 -1
- package/build/index.d.ts +29 -29
- package/build/index.js +1 -1
- 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/utils/index.d.ts +5 -5
- package/package.json +3 -2
package/build/styles/font.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useFontStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"boldText" | "bolderText" | "smallText" | "warningColor" | "centerText">;
|
|
1
|
+
export declare const useFontStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"boldText" | "bolderText" | "smallText" | "warningColor" | "centerText">;
|
package/build/styles/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./spacing";
|
|
2
|
-
export * from "./font";
|
|
3
|
-
export * from "./layout";
|
|
1
|
+
export * from "./spacing";
|
|
2
|
+
export * from "./font";
|
|
3
|
+
export * from "./layout";
|
package/build/styles/layout.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useLayoutStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"contentBox" | "limitWidth60rem" | "limitWidth50rem" | "limitWidth45rem" | "limitWidth40rem" | "limitWidth35rem" | "limitWidth30rem" | "limitWidth25rem" | "centeredText" | "startAlignedText" | "width20" | "width49" | "width50" | "width60" | "width100" | "flexCenter" | "centerJustify" | "leftJustify" | "rightJustify">;
|
|
1
|
+
export declare const useLayoutStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"contentBox" | "limitWidth60rem" | "limitWidth50rem" | "limitWidth45rem" | "limitWidth40rem" | "limitWidth35rem" | "limitWidth30rem" | "limitWidth25rem" | "centeredText" | "startAlignedText" | "width20" | "width49" | "width50" | "width60" | "width100" | "flexCenter" | "centerJustify" | "leftJustify" | "rightJustify">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useSpacingStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"labelBreak" | "contentBreak" | "sectionBreak" | "doubleSectionBreak" | "rightSpacer1" | "rightSpacer2" | "leftSpacer1" | "leftSpacer2" | "buttonSpacing" | "leftRightPadding1" | "leftRightPadding2" | "topBottomPadding1" | "topBottomPadding2">;
|
|
1
|
+
export declare const useSpacingStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"labelBreak" | "contentBreak" | "sectionBreak" | "doubleSectionBreak" | "rightSpacer1" | "rightSpacer2" | "leftSpacer1" | "leftSpacer2" | "buttonSpacing" | "leftRightPadding1" | "leftRightPadding2" | "topBottomPadding1" | "topBottomPadding2">;
|
package/build/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TableCellValues } from "../EditableTable/EditableTable.types";
|
|
2
|
-
export declare function sortDescendingStartDateString<T extends {
|
|
3
|
-
startDate: string;
|
|
4
|
-
}>(array: T[]): T[];
|
|
5
|
-
export declare const didCellValueChange: (oldVal: TableCellValues, newVal: TableCellValues, isDateValue?: boolean) => boolean;
|
|
1
|
+
import { TableCellValues } from "../EditableTable/EditableTable.types";
|
|
2
|
+
export declare function sortDescendingStartDateString<T extends {
|
|
3
|
+
startDate: string;
|
|
4
|
+
}>(array: T[]): T[];
|
|
5
|
+
export declare const didCellValueChange: (oldVal: TableCellValues, newVal: TableCellValues, isDateValue?: boolean | undefined) => boolean;
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oc-digital/react-component-library",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7-beta.0",
|
|
4
4
|
"description": "React component library for Optimal Compliance",
|
|
5
5
|
"main": "build/index.js",
|
|
6
|
+
"types": "build/index.d.ts",
|
|
6
7
|
"files": [
|
|
7
8
|
"build"
|
|
8
9
|
],
|
|
@@ -25,7 +26,6 @@
|
|
|
25
26
|
"@material-ui/pickers": "^3.3.10",
|
|
26
27
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
27
28
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
28
|
-
"@rollup/plugin-typescript": "^8.2.5",
|
|
29
29
|
"@storybook/addon-actions": "^6.3.8",
|
|
30
30
|
"@storybook/addon-essentials": "^6.3.8",
|
|
31
31
|
"@storybook/addon-links": "^6.3.8",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"rollup": "^2.56.3",
|
|
61
61
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
62
62
|
"rollup-plugin-terser": "^7.0.2",
|
|
63
|
+
"rollup-plugin-typescript2": "^0.34.1",
|
|
63
64
|
"storybook-addon-material-ui": "^0.9.0-alpha.24",
|
|
64
65
|
"tslib": "^2.3.1",
|
|
65
66
|
"typescript": "^4.4.3",
|