@nice2dev/ui-enterprise 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
@@ -13,6 +13,20 @@ Compliance & enterprise-grade React components for Nice2Dev. Moved from `@nice2d
13
13
  npm install @nice2dev/ui-enterprise
14
14
  ```
15
15
 
16
+ ## Styling
17
+
18
+ This package ships unstyled component logic. Import the shared CSS bundle once at your app entrypoint:
19
+
20
+ ```tsx
21
+ import '@nice2dev/ui/style.css';
22
+ ```
23
+
24
+ Optional: opt into the legacy shorthand token aliases (`--bg-*`, `--text-*`, `--border-*`, ...) when migrating from a custom design-token system:
25
+
26
+ ```tsx
27
+ import '@nice2dev/ui/css/legacy-bg-text-aliases.css';
28
+ ```
29
+
16
30
  ## License
17
31
 
18
32
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice2dev/ui-enterprise",
3
- "version": "1.0.12",
3
+ "version": "1.0.15",
4
4
  "description": "Nice2Dev UI Enterprise - Compliance & enterprise-grade React components: DataExportCenter, AuditTrail, ContractEditor, GDPRConsent, GlobalSearch, InvoiceDesigner, AccessLog",
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
  },