@esri/calcite-components-react 5.0.0-next.19 → 5.0.0-next.20
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/README.md +1 -9
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -49,20 +49,12 @@ Since you manually defined the custom elements on the window, you only need to i
|
|
|
49
49
|
import { CalciteButton, CalciteIcon, CalciteSlider } from "@esri/calcite-components-react";
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
## Import stylesheet
|
|
53
|
-
|
|
54
|
-
Import the global stylesheet into your app (only do this once):
|
|
55
|
-
|
|
56
|
-
```js
|
|
57
|
-
import "@esri/calcite-components/dist/calcite/calcite.css";
|
|
58
|
-
```
|
|
59
|
-
|
|
60
52
|
## Copy Assets
|
|
61
53
|
|
|
62
54
|
Some components (icon, date-picker) rely on assets being available at a particular path. If using assets locally, you'll need to copy these over to your public folder. Something like:
|
|
63
55
|
|
|
64
56
|
```sh
|
|
65
|
-
cp -r node_modules/@esri/calcite-components/dist/
|
|
57
|
+
cp -r node_modules/@esri/calcite-components/dist/cdn/assets/* ./public/assets/
|
|
66
58
|
```
|
|
67
59
|
|
|
68
60
|
## Why not just use the web components directly?
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components-react",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.20",
|
|
4
4
|
"description": "A set of React components that wrap calcite components",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/calcite-design-system/",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@arcgis/lumina": ">=5.0.0-next.75 <6.0.0",
|
|
32
|
-
"@esri/calcite-components": "5.0.0-next.
|
|
32
|
+
"@esri/calcite-components": "5.0.0-next.20",
|
|
33
33
|
"@lit/react": "^1.0.8",
|
|
34
34
|
"lit": "^3.3.0"
|
|
35
35
|
},
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"volta": {
|
|
41
41
|
"extends": "../../package.json"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "e3a2cf16bbce4abe62d2160186e4db35d87f6d05"
|
|
44
44
|
}
|