@public-ui/react-standalone 3.0.2-f97556ada8a20e9abe2dbb519562bad234f7191b.0 → 3.0.2-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 +9 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -26,6 +26,13 @@ Load the necessary scripts in your HTML file, either from a CDN or from your loc
|
|
|
26
26
|
<script crossorigin src="https://unpkg.com/@public-ui/react-standalone@2.0.3/dist/index.mjs" type="module"></script>
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
+
Alternatively install the package locally:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npm install @public-ui/react-standalone
|
|
33
|
+
pnpm add @public-ui/react-standalone
|
|
34
|
+
```
|
|
35
|
+
|
|
29
36
|
## Usage
|
|
30
37
|
|
|
31
38
|
First, initialize KoliBri with a [theme](https://github.com/public-ui/kolibri/tree/develop/packages/themes):
|
|
@@ -43,3 +50,5 @@ const node = document.querySelector('#app');
|
|
|
43
50
|
const root = ReactDOM.createRoot(node);
|
|
44
51
|
root.render(React.createElement(KolButton, { _label: 'Hello World' }));
|
|
45
52
|
```
|
|
53
|
+
|
|
54
|
+
See the [default theme README](../../themes/default/README.md) for available design tokens.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/react-standalone",
|
|
3
|
-
"version": "3.0.2-
|
|
3
|
+
"version": "3.0.2-rc.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"rimraf": "6.0.1",
|
|
50
50
|
"webpack": "5.99.9",
|
|
51
51
|
"webpack-cli": "6.0.1",
|
|
52
|
-
"@public-ui/react": "3.0.2-
|
|
52
|
+
"@public-ui/react": "3.0.2-rc.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"react": ">=16.14.0",
|
|
56
56
|
"react-dom": ">=16.14.0",
|
|
57
|
-
"@public-ui/components": "3.0.2-
|
|
57
|
+
"@public-ui/components": "3.0.2-rc.0"
|
|
58
58
|
},
|
|
59
59
|
"sideEffects": false,
|
|
60
60
|
"type": "module",
|