@nice2dev/ui-communication 1.0.12 → 1.0.14

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 +23 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -8,15 +8,15 @@
8
8
 
9
9
  Main entry-point with 7 modes:
10
10
 
11
- | Mode | Description |
12
- |------|-------------|
13
- | **bubble** | Floating chat bubble (customer support style) |
14
- | **chat** | Standalone chat panel |
15
- | **messenger** | Full messenger with contact list |
16
- | **workspace** | Teams-style workspace with rail navigation |
17
- | **call** | Audio/video call UI |
18
- | **conference** | Multi-participant conference |
19
- | **whiteboard** | Collaborative whiteboard |
11
+ | Mode | Description |
12
+ | -------------- | --------------------------------------------- |
13
+ | **bubble** | Floating chat bubble (customer support style) |
14
+ | **chat** | Standalone chat panel |
15
+ | **messenger** | Full messenger with contact list |
16
+ | **workspace** | Teams-style workspace with rail navigation |
17
+ | **call** | Audio/video call UI |
18
+ | **conference** | Multi-participant conference |
19
+ | **whiteboard** | Collaborative whiteboard |
20
20
 
21
21
  ### Components
22
22
 
@@ -39,6 +39,20 @@ Main entry-point with 7 modes:
39
39
  npm install @nice2dev/ui-communication
40
40
  ```
41
41
 
42
+ ## Styling
43
+
44
+ This package ships unstyled component logic. Import the shared CSS bundle once at your app entrypoint:
45
+
46
+ ```tsx
47
+ import '@nice2dev/ui/style.css';
48
+ ```
49
+
50
+ Optional: opt into the legacy shorthand token aliases (`--bg-*`, `--text-*`, `--border-*`, ...) when migrating from a custom design-token system:
51
+
52
+ ```tsx
53
+ import '@nice2dev/ui/css/legacy-bg-text-aliases.css';
54
+ ```
55
+
42
56
  ## License
43
57
 
44
58
  MIT © NiceToDev
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice2dev/ui-communication",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "NiceCommunication — full-spectrum communication suite: chat bubble, messenger, voice/video calls, multi-party conference, and Teams-style workspace. Provider-agnostic RTC transport.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -31,7 +31,7 @@
31
31
  "prepublishOnly": "npm run build"
32
32
  },
33
33
  "peerDependencies": {
34
- "@nice2dev/ui": "^1.0.12",
34
+ "@nice2dev/ui": "^1.0.14",
35
35
  "react": ">=17.0.0",
36
36
  "react-dom": ">=17.0.0"
37
37
  },