prompt-area 0.3.1 → 0.3.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.
- package/CHANGELOG.md +13 -0
- package/README.md +5 -3
- package/package.json +2 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to the `prompt-area` package are documented here. This
|
|
4
4
|
project adheres to [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## 0.3.2
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- **Installs cleanly alongside Tailwind v3 (or no Tailwind).** `tailwindcss` and
|
|
11
|
+
`tw-animate-css` are no longer declared as (optional) peer dependencies — they
|
|
12
|
+
are build-time tools, and an optional peer still triggers an npm `ERESOLVE`
|
|
13
|
+
conflict when the consumer has a non-matching version (e.g. Tailwind v3)
|
|
14
|
+
installed. The prebuilt `prompt-area/styles.css` is self-contained and works
|
|
15
|
+
with any stack; the optional `prompt-area/tailwind.css` preset still requires
|
|
16
|
+
Tailwind v4 in your own project (documented, not version-gated). No API or
|
|
17
|
+
runtime changes.
|
|
18
|
+
|
|
6
19
|
## 0.3.1
|
|
7
20
|
|
|
8
21
|
### Changed
|
package/README.md
CHANGED
|
@@ -111,9 +111,11 @@ The components are client components and carry a `'use client'` boundary, so you
|
|
|
111
111
|
## Dependencies
|
|
112
112
|
|
|
113
113
|
- **Peer:** `react`, `react-dom` (>= 18)
|
|
114
|
-
- **
|
|
115
|
-
|
|
116
|
-
`prompt-area/
|
|
114
|
+
- **Tailwind is not a peer dependency.** The prebuilt `prompt-area/styles.css`
|
|
115
|
+
is self-contained and works with **any** stack — Tailwind v4, v3, or no
|
|
116
|
+
Tailwind at all. The optional `prompt-area/tailwind.css` preset uses Tailwind
|
|
117
|
+
v4 syntax, so it requires Tailwind v4 in your own project; if you're on v3 or
|
|
118
|
+
not using Tailwind, use `styles.css` (and theme via the CSS variables above).
|
|
117
119
|
- **Runtime:** `clsx`, `tailwind-merge` — the two `cn` helpers, both already
|
|
118
120
|
present in any shadcn/Tailwind project.
|
|
119
121
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prompt-area",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "An opinionated, dependency-light React rich-text prompt input with trigger-based chips (@mentions, /commands, #tags), inline markdown, undo/redo, file & image attachments, and a complete chat-input layout. Ships as an npm package or a shadcn registry.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -79,17 +79,7 @@
|
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"react": ">=18",
|
|
82
|
-
"react-dom": ">=18"
|
|
83
|
-
"tailwindcss": ">=4",
|
|
84
|
-
"tw-animate-css": ">=1"
|
|
85
|
-
},
|
|
86
|
-
"peerDependenciesMeta": {
|
|
87
|
-
"tailwindcss": {
|
|
88
|
-
"optional": true
|
|
89
|
-
},
|
|
90
|
-
"tw-animate-css": {
|
|
91
|
-
"optional": true
|
|
92
|
-
}
|
|
82
|
+
"react-dom": ">=18"
|
|
93
83
|
},
|
|
94
84
|
"dependencies": {
|
|
95
85
|
"clsx": "^2.1.1",
|