@rufous/ui 0.1.81 → 0.1.83
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 +2 -2
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -21,14 +21,14 @@ yarn add @rufous/ui
|
|
|
21
21
|
Import the global styles once in your app entry:
|
|
22
22
|
|
|
23
23
|
```tsx
|
|
24
|
-
import "@rufous/ui/
|
|
24
|
+
import "@rufous/ui/main.css";
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
Wrap your app with the theme provider:
|
|
28
28
|
|
|
29
29
|
```tsx
|
|
30
30
|
import { RufousThemeProvider } from "@rufous/ui";
|
|
31
|
-
import "@rufous/ui/
|
|
31
|
+
import "@rufous/ui/main.css";
|
|
32
32
|
|
|
33
33
|
ReactDOM.createRoot(document.getElementById("root")!).render(
|
|
34
34
|
<RufousThemeProvider>
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rufous/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.83",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Experimental: A lightweight React UI component library (Beta)",
|
|
7
|
-
"style": "./dist/
|
|
7
|
+
"style": "./dist/main.css",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"import": "./dist/main.js",
|
|
17
17
|
"require": "./dist/main.cjs"
|
|
18
18
|
},
|
|
19
|
-
"./style.css": "./dist/
|
|
19
|
+
"./style.css": "./dist/main.css",
|
|
20
|
+
"./main.css": "./dist/main.css"
|
|
20
21
|
},
|
|
21
22
|
"publishConfig": {
|
|
22
23
|
"access": "public"
|
|
@@ -67,4 +68,4 @@
|
|
|
67
68
|
"react": "^18.0.0 || ^19.0.0",
|
|
68
69
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
69
70
|
}
|
|
70
|
-
}
|
|
71
|
+
}
|