@oc-digital/react-component-library 4.4.0-beta.0 → 4.8.2-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.d.ts +1 -1
- package/build/Button/Button.types.d.ts +1 -1
- package/build/DatePicker/DatePicker.types.d.ts +1 -1
- package/build/EditableTable/EditableTable.types.d.ts +7 -7
- package/build/EditableTable/defaultCells.d.ts +5 -5
- package/build/LeftNavigation/LeftNavigation.types.d.ts +1 -1
- package/build/MainLayout/MainLayout.types.d.ts +1 -1
- package/build/MobileDatePicker/MobileDatePicker.types.d.ts +1 -1
- package/build/NavbarLayout/Navbar.d.ts +3 -3
- package/build/NavbarLayout/NavbarLayout.d.ts +3 -3
- package/build/StaticTable/StaticTable.types.d.ts +2 -2
- package/build/TextField/TextField.d.ts +1 -1
- package/build/globals/index.d.ts +2 -2
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/styles/themes.d.ts +2 -0
- package/build/utils/index.d.ts +1 -1
- package/package.json +18 -11
- package/build/ThemeProvider/index.d.ts +0 -5
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
|
|
5
|
+
export declare const didCellValueChange: (oldVal: TableCellValues, newVal: TableCellValues, isDateValue?: boolean) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oc-digital/react-component-library",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.2-0",
|
|
4
4
|
"description": "React component library for Optimal Compliance",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"build:watch": "npx rollup -c -w",
|
|
14
14
|
"prepublishOnly": "npm run build",
|
|
15
15
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
16
|
-
"storybook": "
|
|
17
|
-
"build-storybook": "build
|
|
16
|
+
"storybook": "storybook dev -p 6006",
|
|
17
|
+
"build-storybook": "storybook build",
|
|
18
18
|
"beta": "npm publish --tag beta",
|
|
19
19
|
"lint": "eslint ./",
|
|
20
20
|
"tsc": "tsc --skipLibCheck"
|
|
@@ -23,20 +23,26 @@
|
|
|
23
23
|
"license": "ISC",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@babel/core": "^7.15.5",
|
|
26
|
+
"@babel/preset-env": "^7.23.9",
|
|
27
|
+
"@babel/preset-react": "^7.23.3",
|
|
28
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
26
29
|
"@date-io/date-fns": "^1.3.13",
|
|
27
30
|
"@emotion/react": "^11.11.1",
|
|
28
31
|
"@emotion/styled": "^11.11.0",
|
|
32
|
+
"@fontsource/roboto": "^5.0.8",
|
|
29
33
|
"@mui/icons-material": "^5.14.12",
|
|
30
34
|
"@mui/material": "^5.14.12",
|
|
31
35
|
"@mui/styles": "^5.14.12",
|
|
32
36
|
"@mui/x-date-pickers": "^6.16.1",
|
|
33
37
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
34
38
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
35
|
-
"@storybook/addon-actions": "^6.
|
|
36
|
-
"@storybook/addon-essentials": "^6.
|
|
37
|
-
"@storybook/addon-links": "^6.
|
|
38
|
-
"@storybook/
|
|
39
|
-
"@
|
|
39
|
+
"@storybook/addon-actions": "^7.6.12",
|
|
40
|
+
"@storybook/addon-essentials": "^7.6.12",
|
|
41
|
+
"@storybook/addon-links": "^7.6.12",
|
|
42
|
+
"@storybook/addon-themes": "^7.6.12",
|
|
43
|
+
"@storybook/react": "^7.6.12",
|
|
44
|
+
"@storybook/react-webpack5": "^7.6.12",
|
|
45
|
+
"@types/react": "^17.0.21",
|
|
40
46
|
"@types/react-table": "^7.7.8",
|
|
41
47
|
"@typescript-eslint/eslint-plugin": "^4.31.1",
|
|
42
48
|
"@typescript-eslint/parser": "^4.31.1",
|
|
@@ -56,8 +62,8 @@
|
|
|
56
62
|
"lint-staged": "^11.1.2",
|
|
57
63
|
"lodash": "^4.17.21",
|
|
58
64
|
"prettier": "^2.4.1",
|
|
59
|
-
"react": "^
|
|
60
|
-
"react-dom": "^
|
|
65
|
+
"react": "^17.0.2",
|
|
66
|
+
"react-dom": "^17.0.2",
|
|
61
67
|
"react-number-format": "^4.8.0",
|
|
62
68
|
"react-router-dom": "^6.21.1",
|
|
63
69
|
"react-table": "^7.7.0",
|
|
@@ -66,6 +72,7 @@
|
|
|
66
72
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
67
73
|
"rollup-plugin-terser": "^7.0.2",
|
|
68
74
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
75
|
+
"storybook": "^7.6.12",
|
|
69
76
|
"tslib": "^2.3.1",
|
|
70
77
|
"typescript": "^4.4.3",
|
|
71
78
|
"yup": "^0.32.11"
|
|
@@ -131,4 +138,4 @@
|
|
|
131
138
|
"*.+(js|ts|jsx|tsx)": "eslint --fix",
|
|
132
139
|
"*.+(json|css|md)": "prettier --write"
|
|
133
140
|
}
|
|
134
|
-
}
|
|
141
|
+
}
|