@conference-kit/ui-next 0.0.1 → 0.0.2

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 +37 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # @conference-kit/ui-next
2
+
3
+ Next.js entry point for the React UI kit. It re-exports everything from `@conference-kit/ui-react` so you can import from a Next-scoped package.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @conference-kit/ui-next
9
+ ```
10
+
11
+ Peer deps: React 18+, React DOM, Next 13+, TailwindCSS 3.4+.
12
+
13
+ ## Usage
14
+
15
+ ```tsx
16
+ // app/call/page.tsx (app router)
17
+ import { ParticipantGrid, ConnectionBadge } from "@conference-kit/ui-next";
18
+
19
+ export default function Page() {
20
+ return (
21
+ <div className="space-y-4">
22
+ <ConnectionBadge
23
+ status={{ signaling: "open", media: "ready", data: "ready" }}
24
+ />
25
+ <ParticipantGrid participants={[]} />
26
+ </div>
27
+ );
28
+ }
29
+ ```
30
+
31
+ Pair these components with state from `@conference-kit/react` (or `@conference-kit/nextjs`) inside client components.
32
+
33
+ ## Build
34
+
35
+ ```bash
36
+ npm run build
37
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conference-kit/ui-next",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",