@public-ui/react-standalone 2.0.2 → 2.0.4-rc.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/README.md +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -14,8 +14,8 @@ Load the necessary scripts in your HTML file, either from a CDN or from your loc
|
|
|
14
14
|
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
|
|
15
15
|
|
|
16
16
|
<!-- KoliBri -->
|
|
17
|
-
<script crossorigin src="https://unpkg.com/@public-ui/components@2.0.
|
|
18
|
-
<script crossorigin src="https://unpkg.com/@public-ui/react-standalone@2.0.
|
|
17
|
+
<script crossorigin src="https://unpkg.com/@public-ui/components@2.0.3/dist/kolibri/kolibri.esm.js" type="module"></script>
|
|
18
|
+
<script crossorigin src="https://unpkg.com/@public-ui/react-standalone@2.0.3/dist/index.mjs" type="module"></script>
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
@@ -23,7 +23,7 @@ Load the necessary scripts in your HTML file, either from a CDN or from your loc
|
|
|
23
23
|
First, initialize KoliBri with a [theme](https://github.com/public-ui/kolibri/tree/develop/packages/themes):
|
|
24
24
|
|
|
25
25
|
```ts
|
|
26
|
-
import { register } from 'https://unpkg.com/@public-ui/components@2.0.
|
|
26
|
+
import { register } from 'https://unpkg.com/@public-ui/components@2.0.3/dist/esm/index.js';
|
|
27
27
|
import { DEFAULT } from 'https://unpkg.com/@public-ui/themes/dist/index.mjs';
|
|
28
28
|
register(DEFAULT, []).catch(console.warn);
|
|
29
29
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/react-standalone",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4-rc.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": "https://github.com/public-ui/kolibri",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"react"
|
|
43
43
|
],
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@public-ui/react": "2.0.
|
|
45
|
+
"@public-ui/react": "2.0.4-rc.0",
|
|
46
46
|
"cpy-cli": "5.0.0",
|
|
47
47
|
"rimraf": "3.0.2"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@public-ui/components": "2.0.
|
|
50
|
+
"@public-ui/components": "2.0.4-rc.0",
|
|
51
51
|
"react": ">=16.14.0",
|
|
52
52
|
"react-dom": ">=16.14.0"
|
|
53
53
|
},
|