cobrowse-agent-ui 1.4.2 → 1.6.0

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.
@@ -0,0 +1,111 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Demo Session</title>
7
+ <style>
8
+ * { box-sizing: border-box; margin: 0; }
9
+ body {
10
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
11
+ background: #f8fafc;
12
+ color: #1e293b;
13
+ height: 100vh;
14
+ display: flex;
15
+ flex-direction: column;
16
+ }
17
+ .toolbar {
18
+ background: #0f172a;
19
+ color: #e2e8f0;
20
+ padding: 8px 16px;
21
+ font-size: 13px;
22
+ display: flex;
23
+ align-items: center;
24
+ gap: 12px;
25
+ }
26
+ .toolbar-dot {
27
+ width: 8px;
28
+ height: 8px;
29
+ border-radius: 50%;
30
+ background: #22c55e;
31
+ }
32
+ .content {
33
+ flex: 1;
34
+ padding: 24px;
35
+ display: flex;
36
+ flex-direction: column;
37
+ gap: 16px;
38
+ }
39
+ .card {
40
+ background: #fff;
41
+ border: 1px solid #e2e8f0;
42
+ border-radius: 8px;
43
+ padding: 16px;
44
+ }
45
+ .card h3 {
46
+ font-size: 14px;
47
+ color: #64748b;
48
+ margin-bottom: 8px;
49
+ text-transform: uppercase;
50
+ letter-spacing: 0.05em;
51
+ }
52
+ .card p {
53
+ font-size: 15px;
54
+ line-height: 1.5;
55
+ color: #334155;
56
+ }
57
+ .metric-row {
58
+ display: flex;
59
+ gap: 12px;
60
+ }
61
+ .metric {
62
+ flex: 1;
63
+ background: #f1f5f9;
64
+ border-radius: 6px;
65
+ padding: 12px;
66
+ text-align: center;
67
+ }
68
+ .metric-value {
69
+ font-size: 20px;
70
+ font-weight: 700;
71
+ color: #0f172a;
72
+ }
73
+ .metric-label {
74
+ font-size: 11px;
75
+ color: #94a3b8;
76
+ margin-top: 2px;
77
+ text-transform: uppercase;
78
+ }
79
+ </style>
80
+ </head>
81
+ <body>
82
+ <div class="toolbar">
83
+ <span class="toolbar-dot"></span>
84
+ <span>Demo Device &mdash; Connected</span>
85
+ </div>
86
+ <div class="content">
87
+ <div class="card">
88
+ <h3>Account</h3>
89
+ <p>Jane Doe &bull; jane@example.com</p>
90
+ </div>
91
+ <div class="metric-row">
92
+ <div class="metric">
93
+ <div class="metric-value">3</div>
94
+ <div class="metric-label">Sessions</div>
95
+ </div>
96
+ <div class="metric">
97
+ <div class="metric-value">12m</div>
98
+ <div class="metric-label">Avg Duration</div>
99
+ </div>
100
+ <div class="metric">
101
+ <div class="metric-value">98%</div>
102
+ <div class="metric-label">Satisfaction</div>
103
+ </div>
104
+ </div>
105
+ <div class="card">
106
+ <h3>Recent Activity</h3>
107
+ <p>Navigated to Settings &rarr; Account &rarr; Billing. Viewed invoice #4821.</p>
108
+ </div>
109
+ </div>
110
+ </body>
111
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cobrowse-agent-ui",
3
- "version": "1.4.2",
3
+ "version": "1.6.0",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -41,6 +41,7 @@
41
41
  "ua-parser-js": "^1.0.33"
42
42
  },
43
43
  "peerDependencies": {
44
+ "cobrowse-agent-sdk": "^2.16.2",
44
45
  "react": "^19.0.0"
45
46
  },
46
47
  "browserslist": [
@@ -49,12 +50,12 @@
49
50
  "not op_mini all"
50
51
  ],
51
52
  "devDependencies": {
52
- "@microsoft/api-extractor": "^7.55.2",
53
+ "@microsoft/api-extractor": "^7.58.1",
53
54
  "@types/react": "^19.2.7",
54
55
  "@types/react-dom": "^19.2.3",
55
56
  "@types/ua-parser-js": "^0.7.39",
56
57
  "@vitejs/plugin-react": "^5.1.1",
57
- "cobrowse-agent-sdk": "^2.13.2",
58
+ "cobrowse-agent-sdk": "^2.16.2",
58
59
  "eslint": "^9.39.1",
59
60
  "eslint-config-love": "^136.0.0",
60
61
  "eslint-plugin-react": "^7.37.5",
@@ -63,7 +64,7 @@
63
64
  "react": "^19.0.0",
64
65
  "react-dom": "^19.0.0",
65
66
  "typescript": "^5.9.3",
66
- "vite": "^7.2.4",
67
+ "vite": "^7.3.2",
67
68
  "vite-plugin-dts": "^4.5.4",
68
69
  "vite-plugin-svgr": "^4.5.0"
69
70
  }