@nice2dev/ui-science 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 +1 -1
package/README.md CHANGED
@@ -45,6 +45,20 @@ function App() {
45
45
  }
46
46
  ```
47
47
 
48
+ ## Styling
49
+
50
+ This package ships unstyled component logic. Import the shared CSS bundle once at your app entrypoint:
51
+
52
+ ```tsx
53
+ import '@nice2dev/ui/style.css';
54
+ ```
55
+
56
+ Optional: opt into the legacy shorthand token aliases (`--bg-*`, `--text-*`, `--border-*`, ...) when migrating from a custom design-token system:
57
+
58
+ ```tsx
59
+ import '@nice2dev/ui/css/legacy-bg-text-aliases.css';
60
+ ```
61
+
48
62
  ## License
49
63
 
50
64
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice2dev/ui-science",
3
- "version": "1.0.12",
3
+ "version": "1.0.15",
4
4
  "description": "Nice2Dev Scientific Visualization Components - Scientific charts, molecular viewers, phylogenetic trees, geographic maps, and 3D plots",
5
5
  "type": "module",
6
6
  "sideEffects": false,