@oc-digital/react-component-library 2.0.6 → 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.
Files changed (65) hide show
  1. package/README.md +14 -4
  2. package/build/Alert/Alert.d.ts +4 -4
  3. package/build/AlphabeticalList/AlphabeticalList.d.ts +4 -4
  4. package/build/AlphabeticalList/AlphabeticalList.types.d.ts +16 -16
  5. package/build/Breadcrumbs/Breadcrumbs.d.ts +4 -4
  6. package/build/Breadcrumbs/Breadcrumbs.types.d.ts +23 -23
  7. package/build/Button/Button.d.ts +4 -4
  8. package/build/Button/Button.types.d.ts +14 -14
  9. package/build/ButtonWithConfirm/ButtonWithConfirm.d.ts +4 -4
  10. package/build/ButtonWithConfirm/ButtonWithConfirm.types.d.ts +12 -12
  11. package/build/ContentBox/ContentBox.d.ts +4 -4
  12. package/build/ContentBox/ContentBox.types.d.ts +6 -6
  13. package/build/ContentLabel/ContentLabel.d.ts +4 -4
  14. package/build/ContentLabel/ContentLabel.types.d.ts +5 -5
  15. package/build/DatePicker/DatePicker.d.ts +4 -4
  16. package/build/DatePicker/DatePicker.types.d.ts +5 -5
  17. package/build/EditableTable/EditableTable.d.ts +4 -4
  18. package/build/EditableTable/EditableTable.types.d.ts +105 -105
  19. package/build/EditableTable/defaultCells.d.ts +33 -33
  20. package/build/EntityList/EntityList.d.ts +4 -4
  21. package/build/EntityList/EntityList.types.d.ts +14 -14
  22. package/build/ErrorIndicator/ErrorIndicator.d.ts +4 -4
  23. package/build/ErrorIndicator/ErrorIndicator.types.d.ts +4 -4
  24. package/build/ImageDisplayAndUpload/ImageDisplayAndUpload.d.ts +4 -4
  25. package/build/ImageDisplayAndUpload/ImageDisplayAndUpload.types.d.ts +8 -8
  26. package/build/KeyboardDatePicker/KeyboardDatePicker.d.ts +4 -4
  27. package/build/KeyboardDatePicker/KeyboardDatePicker.types.d.ts +5 -5
  28. package/build/LeftNavigation/LeftNavigation.d.ts +4 -4
  29. package/build/LeftNavigation/LeftNavigation.types.d.ts +96 -96
  30. package/build/LeftNavigation/NavListItem.d.ts +4 -4
  31. package/build/LeftNavigation/PrimaryLeftNavigation.d.ts +4 -4
  32. package/build/LeftNavigation/SecondaryLeftNavigation.d.ts +4 -4
  33. package/build/LoadingSpinner/LoadingSpinner.d.ts +4 -4
  34. package/build/LoadingSpinner/LoadingSpinner.types.d.ts +5 -5
  35. package/build/MainLayout/MainLayout.d.ts +4 -4
  36. package/build/MainLayout/MainLayout.types.d.ts +9 -9
  37. package/build/SearchBar/SearchBar.d.ts +4 -4
  38. package/build/SearchBar/SearchBar.types.d.ts +23 -23
  39. package/build/Select/Select.d.ts +4 -4
  40. package/build/Select/Select.types.d.ts +14 -14
  41. package/build/StaticTable/StaticTable.d.ts +4 -4
  42. package/build/StaticTable/StaticTable.types.d.ts +21 -21
  43. package/build/SvgComponents/ContainedPartnersLogo.d.ts +4 -4
  44. package/build/SvgComponents/HomeSvg.d.ts +4 -4
  45. package/build/SvgComponents/NovelLogoSvg.d.ts +4 -4
  46. package/build/SvgComponents/OrganisationList.d.ts +4 -4
  47. package/build/SvgComponents/ProjectsSvg.d.ts +4 -4
  48. package/build/SvgComponents/index.d.ts +5 -5
  49. package/build/SvgComponents/types.d.ts +6 -6
  50. package/build/TextField/TextField.d.ts +16 -15
  51. package/build/TextField/TextField.types.d.ts +7 -7
  52. package/build/globals/index.d.ts +24 -24
  53. package/build/hooks/index.d.ts +3 -3
  54. package/build/hooks/useDebounceEffect.d.ts +2 -2
  55. package/build/hooks/useInterval.d.ts +2 -2
  56. package/build/hooks/useWhyDidYouUpdate.d.ts +1 -1
  57. package/build/index.d.ts +29 -29
  58. package/build/index.js +1 -1
  59. package/build/index.js.map +1 -1
  60. package/build/styles/font.d.ts +1 -1
  61. package/build/styles/index.d.ts +3 -3
  62. package/build/styles/layout.d.ts +1 -1
  63. package/build/styles/spacing.d.ts +1 -1
  64. package/build/utils/index.d.ts +5 -5
  65. package/package.json +3 -2
@@ -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">;
@@ -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";
@@ -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">;
@@ -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.6",
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",