You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-80Lines changed: 27 additions & 80 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,38 +11,21 @@ Core-UI is a component library containing all components, layouts, icons and the
11
11
- Add `@scality/core-ui` in the `package.json`'s dependencies of your project.
12
12
13
13
```json
14
-
"@scality/core-ui": "0.115.0",
14
+
"@scality/core-ui": "^0.165.0",
15
15
```
16
16
17
17
-`@scality/core-ui` requires the peerDependencies below. Make sure that you have them in the `package.json`'s dependencies.
18
18
19
19
```json
20
-
"@fortawesome/fontawesome-free": "^5.10.2",
21
-
"@fortawesome/fontawesome-svg-core": "^1.2.35",
22
-
"@fortawesome/free-regular-svg-icons": "^5.15.3",
23
-
"@fortawesome/free-solid-svg-icons": "^5.15.3",
24
-
"@fortawesome/react-fontawesome": "^0.1.14",
25
-
"@js-temporal/polyfill": "^0.4.4",
26
-
"polished": "3.4.1",
27
-
"pretty-bytes": "^5.6.0",
28
-
"react": "^17.0.2",
29
-
"react-debounce-input": "3.2.2",
30
-
"react-dom": "^17.0.2",
31
-
"react-dropzone": "^14.2.3",
20
+
"react": "^18.0.0",
21
+
"react-dom": "^18.0.0",
22
+
// to provides a Provider to the components using react-query
32
23
"react-query": "^3.34.0",
33
-
"react-router": "^5.2.0",
34
-
"react-router-dom": "^5.2.0",
35
-
"react-select": "4.3.1",
36
-
"react-table": "^7.7.0",
37
-
"react-virtualized": "9.22.3",
38
-
"react-virtualized-auto-sizer": "^1.0.5",
39
-
"react-window": "^1.8.6",
40
-
"styled-components": "^4.1.2",
41
-
"styled-system": "^5.1.5",
42
-
"vega": "^5.17.3",
43
-
"vega-embed": "^6.0.0",
44
-
"vega-lite": "^5.0.0",
45
-
"vega-tooltip": "^0.27.0"
24
+
// for the components using react router
25
+
"react-router": "^7.0.1",
26
+
"react-router-dom": "^7.0.1",
27
+
// for legacy chart components
28
+
"canvas": "^2.10.1",
46
29
```
47
30
48
31
- Install the dependencies :
@@ -90,59 +73,31 @@ import { coreUIAvailableThemes as themes } from '@scality/core-ui/dist/style/the
90
73
91
74
There is 2 default theme available in Core-UI : you can find them [here](https://github.com/scality/core-ui/pull/684#:~:text=https%3A//github.com/scality/core%2Dui/blob/development/1.0/src/lib/style/theme.ts)
92
75
93
-
<br/>
94
-
95
-
You can also modify or create a new theme. In this case make sure to respect this type :
76
+
You can also modify or create a new theme but make sure to extend this type:
This project is built with [React](https://react.dev/) and [TypeScript](https://www.typescriptlang.org/), and styled with [styled-components](https://styled-components.com/).
130
85
131
-
To start contributing to core-ui, clone the repository:
86
+
To start contributing to core-ui, clone the repository:
0 commit comments