ssovee-os-web-ui 0.1.18 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -26,7 +26,13 @@ npm install react react-dom
26
26
 
27
27
  ## CSS import
28
28
 
29
- In the consuming app, add only the package theme stylesheet to your global CSS:
29
+ Import the package stylesheet once in your app entry file or global stylesheet:
30
+
31
+ ```ts
32
+ import "ssovee-os-web-ui/theme.css";
33
+ ```
34
+
35
+ If your setup prefers CSS imports, this also works:
30
36
 
31
37
  ```css
32
38
  @import "ssovee-os-web-ui/theme.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ssovee-os-web-ui",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "Reusable UI component library for shared applications.",
5
5
  "author": "SSOVEE",
6
6
  "license": "MIT",
@@ -23,6 +23,7 @@
23
23
  "main": "dist/index.cjs",
24
24
  "module": "dist/index.js",
25
25
  "types": "dist/index.d.ts",
26
+ "style": "dist/index.css",
26
27
  "exports": {
27
28
  ".": {
28
29
  "types": "./dist/index.d.ts",
@@ -31,7 +32,8 @@
31
32
  },
32
33
  "./tailwind-preset": "./tailwind-preset.js",
33
34
  "./tailwind.config.js": "./tailwind.config.js",
34
- "./theme.css": "./theme.css"
35
+ "./theme.css": "./dist/index.css",
36
+ "./index.css": "./dist/index.css"
35
37
  },
36
38
  "files": [
37
39
  "dist",