aefis-core-ui 2.1.3 → 2.1.5
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/Icon/index.modern.js +2 -6
- package/dist/Icon/index.modern.js.map +1 -1
- package/dist/{badgeAward~IuVQKLin.jpg → assets/badgeAward.jpg} +0 -0
- package/dist/{buildingForYou~hKFzTmtI.jpg → assets/buildingForYou.jpg} +0 -0
- package/dist/{checklist~bjKunRft.jpg → assets/checklist.jpg} +0 -0
- package/dist/{checklist_alt~yYmgYVyF.jpg → assets/checklist_alt.jpg} +0 -0
- package/dist/{completed~szlYgeZI.jpg → assets/completed.jpg} +0 -0
- package/dist/{construction~yJYhfnbk.png → assets/construction.png} +0 -0
- package/dist/{error~biczrDfn.jpg → assets/error.jpg} +0 -0
- package/dist/{error_alt2~bcvrQGNW.jpg → assets/error_alt2.jpg} +0 -0
- package/dist/{login~blyKOilj.jpg → assets/login.jpg} +0 -0
- package/dist/{report~PfgiBEoX.jpg → assets/report.jpg} +0 -0
- package/dist/{search~bUgPxnwO.jpg → assets/search.jpg} +0 -0
- package/dist/{search_alt1~bgclplDE.jpg → assets/search_alt1.jpg} +0 -0
- package/dist/{unknown~UugkXfOj.jpg → assets/unknown.jpg} +0 -0
- package/dist/{working~WIhDFjdC.jpg → assets/working.jpg} +0 -0
- package/dist/{working_alt~lFYaNgYj.jpg → assets/working_alt.jpg} +0 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.modern.js +1070 -2665
- package/dist/index.modern.js.map +1 -1
- package/package.json +16 -52
- package/README.md +0 -81
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aefis-core-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"module": "dist/index.modern.js",
|
|
8
|
-
"source": "src/core-ui/index.js",
|
|
8
|
+
"source": "../src/core-ui/index.js",
|
|
9
9
|
"exports": {
|
|
10
10
|
"module": "./dist/index.modern.js"
|
|
11
11
|
},
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@babel/runtime": "7.19.4",
|
|
17
|
-
"@mui/x-date-pickers": "^5.0.4",
|
|
18
|
-
"@react-keycloak/web": "^3.4.0",
|
|
19
17
|
"@rjsf/material-ui": "^4.2.0",
|
|
20
18
|
"axios": "^0.26",
|
|
21
19
|
"change-case": "^4.1.2",
|
|
@@ -28,15 +26,11 @@
|
|
|
28
26
|
"filepond-plugin-image-preview": "^4.6.11",
|
|
29
27
|
"framer-motion": "^4.1.17",
|
|
30
28
|
"iframe-resizer-react": "^1.1.0",
|
|
31
|
-
"
|
|
32
|
-
"moment": "2.29.1",
|
|
29
|
+
"moment": "^2.29.4",
|
|
33
30
|
"mustache": "^4.2.0",
|
|
34
|
-
"namor": "^2.0.2",
|
|
35
31
|
"notistack": "^3.0.0-alpha.7",
|
|
36
32
|
"nouislider-react": "^3.4.1",
|
|
37
|
-
"prop-types": "15.8.1",
|
|
38
33
|
"query-string": "^7.1.1",
|
|
39
|
-
"react-awesome-query-builder": "^4.6.0",
|
|
40
34
|
"react-copy-to-clipboard": "^5.0.3",
|
|
41
35
|
"react-fade-in": "^2.0.1",
|
|
42
36
|
"react-filepond": "^7.1.1",
|
|
@@ -46,7 +40,6 @@
|
|
|
46
40
|
"react-moment": "^1.1.1",
|
|
47
41
|
"react-perfect-scrollbar": "^1.5.8",
|
|
48
42
|
"react-query": "^3.5.6",
|
|
49
|
-
"react-router-dom": "^5.3.0",
|
|
50
43
|
"react-scroll": "^1.8.4",
|
|
51
44
|
"react-share": "^4.4.0",
|
|
52
45
|
"react-swipeable-views": "^0.14.0",
|
|
@@ -57,18 +50,9 @@
|
|
|
57
50
|
"use-sync-external-store": "^1.1.0"
|
|
58
51
|
},
|
|
59
52
|
"scripts": {
|
|
60
|
-
"build:components": "microbundle -f modern --
|
|
53
|
+
"build:components": "microbundle -f modern --no-compress --generateTypes --jsx React.createElement --alias components=src/components --jsxFragment React.Fragment --jsxImportSource react",
|
|
54
|
+
"build:Icon": "./scripts/build-icon.sh",
|
|
61
55
|
"build:lib": "rm -rf dist && (npm run build:components && ./scripts/build-icon.sh)",
|
|
62
|
-
"start": "react-scripts start",
|
|
63
|
-
"build": "react-scripts build",
|
|
64
|
-
"test": "react-scripts test --env=jsdom --silent",
|
|
65
|
-
"test:update-snapshots": "react-scripts test --env=jsdom --silent --watchAll -u",
|
|
66
|
-
"test:verbose": "react-scripts test --env=jsdom --verbose",
|
|
67
|
-
"test:image-snapshots": "ENABLE_IMAGE_SNAPSHOTS=true npm run test",
|
|
68
|
-
"eject": "react-scripts eject",
|
|
69
|
-
"storybook": "start-storybook -p 6006 -s public",
|
|
70
|
-
"build-storybook": "build-storybook -s public",
|
|
71
|
-
"storybook:server": "build-storybook -s public -o build && npx http-server ./build",
|
|
72
56
|
"prepare": "patch-package"
|
|
73
57
|
},
|
|
74
58
|
"eslintConfig": {
|
|
@@ -88,36 +72,16 @@
|
|
|
88
72
|
},
|
|
89
73
|
"devDependencies": {
|
|
90
74
|
"@babel/core": "^7.11.6",
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"@
|
|
95
|
-
"
|
|
96
|
-
"@storybook/addon-storyshots-puppeteer": "^6.5.10",
|
|
97
|
-
"@storybook/node-logger": "^6.5.10",
|
|
98
|
-
"@storybook/preset-create-react-app": "^3.2.0",
|
|
99
|
-
"@storybook/react": "^6.5.10",
|
|
100
|
-
"@testing-library/dom": "^8.10.1",
|
|
101
|
-
"@testing-library/jest-dom": "^5.11.6",
|
|
102
|
-
"@testing-library/react": "^11.2.2",
|
|
103
|
-
"@testing-library/user-event": "^12.2.2",
|
|
104
|
-
"@types/classnames": "^2.2.10",
|
|
105
|
-
"@types/react-table": "^7.0.24",
|
|
106
|
-
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
|
|
75
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
76
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.20.2",
|
|
77
|
+
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
|
|
78
|
+
"@svgr/rollup": "^6.5.1",
|
|
79
|
+
"autoprefixer": "^9.0.0",
|
|
107
80
|
"babel-loader": "8.1.0",
|
|
108
81
|
"babel-plugin-import": "^1.13.3",
|
|
109
|
-
"enzyme-to-json": "^3.6.2",
|
|
110
|
-
"eslint-plugin-jest-dom": "^3.2.3",
|
|
111
|
-
"eslint-plugin-only-warn": "^1.0.2",
|
|
112
|
-
"eslint-plugin-testing-library": "^3.9.0",
|
|
113
|
-
"http-server": "^13.0.2",
|
|
114
|
-
"jest-environment-jsdom-sixteen": "^1.0.3",
|
|
115
82
|
"microbundle": "^0.15.1",
|
|
116
|
-
"microbundle-crl": "^0.13.11",
|
|
117
83
|
"patch-package": "^6.5.0",
|
|
118
|
-
"
|
|
119
|
-
"react-app-rewired": "^2.1.8",
|
|
120
|
-
"react-is": "^17.0.2"
|
|
84
|
+
"rollup-plugin-smart-asset": "^2.1.2"
|
|
121
85
|
},
|
|
122
86
|
"peerDependencies": {
|
|
123
87
|
"@mui/icons-material": "^5.10.9",
|
|
@@ -125,14 +89,14 @@
|
|
|
125
89
|
"@mui/styles": "^5.10.10",
|
|
126
90
|
"@mui/system": "^5.10.10",
|
|
127
91
|
"@mui/utils": "^5.10.9",
|
|
92
|
+
"@mui/x-date-pickers": "^5.0.4",
|
|
128
93
|
"@types/react": "^17.0.2",
|
|
94
|
+
"lodash": "4.17.21",
|
|
95
|
+
"prop-types": "15.8.1",
|
|
129
96
|
"react": "^17.0.2",
|
|
130
97
|
"react-dom": "^17.0.2"
|
|
131
98
|
},
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"tabWidth": 4,
|
|
135
|
-
"useTabs": true,
|
|
136
|
-
"printWidth": 100
|
|
99
|
+
"publishConfig": {
|
|
100
|
+
"registry": "https://registry.npmjs.org"
|
|
137
101
|
}
|
|
138
102
|
}
|
package/README.md
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# CORE-UI
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Install `core-ui` package
|
|
5
|
-
|
|
6
|
-
* To install `core-ui` to your project, first add npm registry server configuration with the command below:
|
|
7
|
-
|
|
8
|
-
```bash
|
|
9
|
-
$> npm config set '@heliocampus:registry' https://node.bit.cloud
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
* Install (latest):
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
$> npm i @heliocampus/lib.core-ui@latest
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Release new `core-ui` version with `@bit`
|
|
19
|
-
|
|
20
|
-
We use [`bit`](https://bit.dev/docs/quick-start/) to manage our core-ui releases.
|
|
21
|
-
|
|
22
|
-
* Bit is used via its CLI tool that can be installed with following command:
|
|
23
|
-
```bash
|
|
24
|
-
$> npx @teambit/bvm install
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
> **Caveat!:** In case you already have legacy version `bit` CLI that we no longer use; you should able to access `bit` CLI with `bbit` command.
|
|
28
|
-
|
|
29
|
-
Legacy `bit` CLI, **should NOT be used!**:
|
|
30
|
-
```bash
|
|
31
|
-
$> bit --version
|
|
32
|
-
14.8.8
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
New version of `bit` (Harmony) that should be used:
|
|
36
|
-
```bash
|
|
37
|
-
$> bbit --version
|
|
38
|
-
0.0.793
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
* Once you have changes. 1st import latest remote state of core-ui release status:
|
|
42
|
-
```bash
|
|
43
|
-
$> bbit import
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
* Stage you changes:
|
|
47
|
-
```bash
|
|
48
|
-
$> bbit add src/core-ui
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
* Compile (optional), this will compile core-ui package into `node_modules/@heliocampus/lib.core-ui/` folder. You may later use this to test your changes without releasing on other repos.
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
$> bbit compile
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
* Tag you changes:
|
|
58
|
-
```bash
|
|
59
|
-
$> bbit tag
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
* Finally export the release with following command, (you may check the release on web: https://bit.cloud/heliocampus/lib/core-ui) :
|
|
63
|
-
```bash
|
|
64
|
-
$> bbit export
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
image.png
|
|
69
|
-
## Available Scripts
|
|
70
|
-
|
|
71
|
-
In the project directory, you can run:
|
|
72
|
-
|
|
73
|
-
Storybook:
|
|
74
|
-
```bash
|
|
75
|
-
npm run storybook
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Create React App:
|
|
79
|
-
```bash
|
|
80
|
-
npm run start
|
|
81
|
-
```
|