@cossistant/next 0.0.9 → 0.0.10

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.
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # Cossistant NextJS SDK
2
+
3
+ Build fully featured customer support experiences in your NextJS app with the official `@cossistant/next` package. The SDK wraps the REST and WebSocket APIs, comes with a prebuilt widget, hooks, and UI primitives so you can ship your support quickly and customize later.
4
+
5
+ > 📚 **New to Cossistant?** Follow the [Quickstart guide](https://cossistant/docs/quickstart) in our official documentation.
6
+
7
+ ## Installation
8
+
9
+ Pick the command that matches your package manager:
10
+
11
+ ```bash
12
+ bun add @cossistant/next
13
+ # or
14
+ npm install @cossistant/next
15
+ # or
16
+ yarn add @cossistant/next
17
+ ```
18
+
19
+ ## Need help or spot a typo?
20
+
21
+ Open an issue in the main repository or start a discussion so we can improve the docs together. Screenshots, reproduction steps, and suggestions are welcome.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cossistant/next",
3
3
  "type": "module",
4
- "version": "0.0.9",
4
+ "version": "0.0.10",
5
5
  "private": false,
6
6
  "author": "Cossistant team",
7
7
  "description": "Next.js-ready SDK for building AI-powered support/chat widgets. Hooks + primitives, WS-driven, TypeScript-first. Next.js-ready, Tailwind optional.",
@@ -92,7 +92,7 @@
92
92
  "access": "public"
93
93
  },
94
94
  "dependencies": {
95
- "@cossistant/react": "0.0.9",
95
+ "@cossistant/react": "0.0.10",
96
96
  "tailwindcss": "^4.1.13"
97
97
  },
98
98
  "peerDependencies": {
package/tailwind.css CHANGED
@@ -1,4 +1,10 @@
1
- @custom-variant dark (&:is(.dark *));
1
+ @source "./components";
2
+ @source "./pages";
3
+
4
+ /*
5
+ * This indicates to tailwind to
6
+ * compile classes from Cossistant with the host tailwind config
7
+ */
2
8
 
3
9
  @layer base {
4
10
  .cossistant {
@@ -1 +1 @@
1
- {"version":3,"file":"use-rest-client.d.ts","names":[],"sources":["../../react/src/hooks/private/use-rest-client.ts"],"sourcesContent":[],"mappings":";AAMY,KAAA,eAAA,GAAe;EAWX,MAAA,EAVP,gBAUgB;SATjB;;;;;;;;iBASQ,SAAA,kEAIb"}
1
+ {"version":3,"file":"use-rest-client.d.ts","names":[],"sources":["../../react/src/hooks/private/use-rest-client.ts"],"sourcesContent":[],"mappings":";AAMY,KAAA,eAAA,GAAe;EAWX,MAAA,EAVP,gBAcN;SAbK;;;;;;;;iBASQ,SAAA,kEAIb"}