@oc-digital/react-component-library 2.2.0-beta.1 → 2.2.1-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/Breadcrumbs/Breadcrumbs.types.d.ts +6 -6
- package/build/Button/Button.types.d.ts +1 -1
- package/build/DatePicker/DatePicker.types.d.ts +2 -4
- package/build/EditableTable/EditableTable.types.d.ts +7 -7
- package/build/EditableTable/defaultCells.d.ts +7 -7
- package/build/KeyboardDatePicker/KeyboardDatePicker.types.d.ts +2 -4
- package/build/LeftNavigation/LeftNavigation.types.d.ts +1 -1
- package/build/NavbarLayout/Navbar.d.ts +3 -3
- package/build/NavbarLayout/NavbarLayout.d.ts +3 -3
- package/build/Select/Select.types.d.ts +1 -1
- package/build/StaticTable/StaticTable.types.d.ts +2 -2
- package/build/TextField/TextField.d.ts +3 -3
- package/build/TextField/TextField.types.d.ts +1 -1
- package/build/globals/index.d.ts +2 -1
- package/build/index.d.ts +3 -2
- package/build/index.js +1 -155
- package/build/index.js.map +1 -1
- package/build/styles/font.d.ts +1 -1
- package/build/styles/layout.d.ts +1 -1
- package/build/styles/spacing.d.ts +1 -1
- package/build/utils/index.d.ts +1 -1
- package/package.json +4 -12
- package/build/styles/theme.d.ts +0 -1
package/build/styles/font.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useFontStyles: (props?: any) => import("@
|
|
1
|
+
export declare const useFontStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"boldText" | "bolderText" | "smallText" | "warningColor" | "centerText">;
|
package/build/styles/layout.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useLayoutStyles: (props?: any) => import("@
|
|
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("@
|
|
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
|
@@ -2,4 +2,4 @@ import { TableCellValues } from "../EditableTable/EditableTable.types";
|
|
|
2
2
|
export declare function sortDescendingStartDateString<T extends {
|
|
3
3
|
startDate: string;
|
|
4
4
|
}>(array: T[]): T[];
|
|
5
|
-
export declare const didCellValueChange: (oldVal: TableCellValues, newVal: TableCellValues, isDateValue?: boolean) => boolean;
|
|
5
|
+
export declare const didCellValueChange: (oldVal: TableCellValues, newVal: TableCellValues, isDateValue?: boolean | undefined) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oc-digital/react-component-library",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1-beta.0",
|
|
4
4
|
"description": "React component library for Optimal Compliance",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
16
16
|
"storybook": "start-storybook -p 6006",
|
|
17
17
|
"build-storybook": "build-storybook",
|
|
18
|
-
"beta": "npm publish --tag beta"
|
|
18
|
+
"beta": "npm publish --tag beta",
|
|
19
|
+
"lint": "eslint ./"
|
|
19
20
|
},
|
|
20
21
|
"author": "Sergej-Vlasov",
|
|
21
22
|
"license": "ISC",
|
|
@@ -128,14 +129,5 @@
|
|
|
128
129
|
"lint-staged": {
|
|
129
130
|
"*.+(js|ts|jsx|tsx)": "eslint --fix",
|
|
130
131
|
"*.+(json|css|md)": "prettier --write"
|
|
131
|
-
},
|
|
132
|
-
"dependencies": {
|
|
133
|
-
"@emotion/react": "^11.10.6",
|
|
134
|
-
"@mui/icons-material": "^5.11.16",
|
|
135
|
-
"@mui/lab": "^5.0.0-alpha.127",
|
|
136
|
-
"@mui/material": "^5.12.2",
|
|
137
|
-
"@mui/styles": "^5.12.0",
|
|
138
|
-
"@mui/x-date-pickers": "^5.0.20",
|
|
139
|
-
"storybook-addon-material-ui5": "^1.0.0"
|
|
140
132
|
}
|
|
141
|
-
}
|
|
133
|
+
}
|
package/build/styles/theme.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const theme: import("@mui/material/styles").Theme;
|