ag-common 0.0.246 → 0.0.249
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/dist/api/helpers/api.js
CHANGED
|
@@ -47,7 +47,7 @@ const stripPKs = (record, keepPk = true) => {
|
|
|
47
47
|
}
|
|
48
48
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
49
49
|
// @ts-ignore
|
|
50
|
-
const { PK, PK1, PK2, PK3, PK4, PK5, L1, L2, L3, L4, L5, L6 } = record, rest = __rest(record, ["PK", "PK1", "PK2", "PK3", "PK4", "PK5", "L1", "L2", "L3", "L4", "L5", "L6"]);
|
|
50
|
+
const { PK, PK1, PK2, PK3, PK4, PK5, L1, L2, L3, L4, L5, L6, type } = record, rest = __rest(record, ["PK", "PK1", "PK2", "PK3", "PK4", "PK5", "L1", "L2", "L3", "L4", "L5", "L6", "type"]);
|
|
51
51
|
if (keepPk) {
|
|
52
52
|
//@ts-ignore
|
|
53
53
|
rest.PK = PK;
|
|
@@ -36,9 +36,7 @@ exports.ButtonBase = (0, styled_components_1.css) `
|
|
|
36
36
|
display: flex;
|
|
37
37
|
justify-content: center;
|
|
38
38
|
align-items: center;
|
|
39
|
-
|
|
40
39
|
border: 0;
|
|
41
|
-
|
|
42
40
|
font-weight: bold;
|
|
43
41
|
font-family: inherit;
|
|
44
42
|
font-size: 1.2rem;
|
|
@@ -51,7 +49,6 @@ exports.ButtonBase = (0, styled_components_1.css) `
|
|
|
51
49
|
}
|
|
52
50
|
padding-left: 1rem;
|
|
53
51
|
padding-right: 1rem;
|
|
54
|
-
|
|
55
52
|
background-color: ${colours_1.colours.darkGreen};
|
|
56
53
|
color: white;
|
|
57
54
|
&[data-invert='true'] {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ag-common",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.249",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"author": "Andrei Gec <@andreigec> (https://gec.dev/)",
|
|
7
7
|
"repository": "github:andreigec/ag-common",
|
|
8
8
|
"license": "ISC",
|
|
9
|
-
"packageManager": "yarn@3.2.
|
|
9
|
+
"packageManager": "yarn@3.2.1",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"format": "npx eslint --ext .ts,.tsx ./src --fix",
|
|
12
12
|
"build": "rimraf dist && yarn lint && tsc",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"jsonwebtoken": "8.x",
|
|
23
23
|
"jwks-rsa": "2.x",
|
|
24
24
|
"node-cache": "5.x",
|
|
25
|
-
"openapi-request-validator": "11.0.
|
|
25
|
+
"openapi-request-validator": "11.0.1",
|
|
26
26
|
"react": "18.1.0",
|
|
27
27
|
"react-dom": "18.1.0",
|
|
28
28
|
"react-hot-toast": "2.x",
|
|
@@ -30,30 +30,30 @@
|
|
|
30
30
|
"typescript": "4.x"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@babel/core": "7.
|
|
34
|
-
"@storybook/addon-actions": "6.4
|
|
35
|
-
"@storybook/addon-docs": "6.4
|
|
36
|
-
"@storybook/addon-essentials": "6.4
|
|
37
|
-
"@storybook/addon-interactions": "6.4
|
|
38
|
-
"@storybook/addon-links": "6.4
|
|
39
|
-
"@storybook/addons": "6.4
|
|
40
|
-
"@storybook/react": "6.4
|
|
41
|
-
"@storybook/theming": "6.4
|
|
33
|
+
"@babel/core": "7.18.0",
|
|
34
|
+
"@storybook/addon-actions": "6.5.4",
|
|
35
|
+
"@storybook/addon-docs": "6.5.4",
|
|
36
|
+
"@storybook/addon-essentials": "6.5.4",
|
|
37
|
+
"@storybook/addon-interactions": "6.5.4",
|
|
38
|
+
"@storybook/addon-links": "6.5.4",
|
|
39
|
+
"@storybook/addons": "6.5.4",
|
|
40
|
+
"@storybook/react": "6.5.4",
|
|
41
|
+
"@storybook/theming": "6.5.4",
|
|
42
42
|
"@types/jsonwebtoken": "8.5.8",
|
|
43
|
-
"@types/node": "17.0.
|
|
43
|
+
"@types/node": "17.0.35",
|
|
44
44
|
"@types/react": "17.0.43",
|
|
45
45
|
"@types/react-dom": "17.0.14",
|
|
46
46
|
"@types/styled-components": "5.1.25",
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
48
|
-
"@typescript-eslint/parser": "5.
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "5.25.0",
|
|
48
|
+
"@typescript-eslint/parser": "5.25.0",
|
|
49
49
|
"cross-env": "7.0.3",
|
|
50
|
-
"eslint": "8.
|
|
50
|
+
"eslint": "8.16.0",
|
|
51
51
|
"eslint-config-airbnb-typescript": "17.0.0",
|
|
52
52
|
"eslint-config-prettier": "8.5.0",
|
|
53
53
|
"eslint-plugin-import": "2.26.0",
|
|
54
54
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
55
55
|
"eslint-plugin-prettier": "4.0.0",
|
|
56
|
-
"eslint-plugin-react": "7.
|
|
56
|
+
"eslint-plugin-react": "7.30.0",
|
|
57
57
|
"eslint-plugin-react-hooks": "4.5.0",
|
|
58
58
|
"prettier": "2.6.2",
|
|
59
59
|
"rimraf": "3.0.2"
|