@nice2dev/ui-monitoring 1.0.12 → 1.0.15

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 +14 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -14,3 +14,17 @@ npm install @nice2dev/ui-monitoring @nice2dev/ui
14
14
  ```
15
15
 
16
16
  Requires `@nice2dev/ui` as a peer dependency for shared base types.
17
+
18
+ ## Styling
19
+
20
+ This package ships unstyled component logic. Import the shared CSS bundle once at your app entrypoint:
21
+
22
+ ```tsx
23
+ import '@nice2dev/ui/style.css';
24
+ ```
25
+
26
+ Optional: opt into the legacy shorthand token aliases (`--bg-*`, `--text-*`, `--border-*`, ...) when migrating from a custom design-token system:
27
+
28
+ ```tsx
29
+ import '@nice2dev/ui/css/legacy-bg-text-aliases.css';
30
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice2dev/ui-monitoring",
3
- "version": "1.0.12",
3
+ "version": "1.0.15",
4
4
  "description": "Nice2Dev UI Monitoring - Observability React components: MetricsDashboard (Grafana-style), LogExplorer (Loki-style)",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {},
33
33
  "peerDependencies": {
34
- "@nice2dev/ui": "^1.0.12",
34
+ "@nice2dev/ui": "^1.0.15",
35
35
  "react": ">=17.0.0",
36
36
  "react-dom": ">=17.0.0"
37
37
  },