@farming-labs/theme 0.2.19 → 0.2.21
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/dist/docs-feedback.mjs
CHANGED
|
@@ -116,7 +116,7 @@ function CheckIcon() {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
|
-
function DocsFeedback({ pathname, entry, locale, question = "How is this guide?", placeholder = "
|
|
119
|
+
function DocsFeedback({ pathname, entry, locale, question = "How is this guide?", placeholder = "Share what could be clearer...", requireComment = false, positiveLabel = "Good", negativeLabel = "Bad", submitLabel = "Submit", successMessage = "Thanks for the feedback.", errorMessage = "Could not send feedback. Please try again.", onFeedback, analytics = false }) {
|
|
120
120
|
const [selected, setSelected] = useState(null);
|
|
121
121
|
const [comment, setComment] = useState("");
|
|
122
122
|
const [status, setStatus] = useState("idle");
|
package/dist/docs-layout.mjs
CHANGED
|
@@ -850,7 +850,7 @@ function resolveFeedbackConfig(feedback) {
|
|
|
850
850
|
const defaults = {
|
|
851
851
|
enabled: false,
|
|
852
852
|
question: "How is this guide?",
|
|
853
|
-
placeholder: "
|
|
853
|
+
placeholder: "Share what could be clearer...",
|
|
854
854
|
requireComment: false,
|
|
855
855
|
positiveLabel: "Good",
|
|
856
856
|
negativeLabel: "Bad",
|
package/dist/tanstack-layout.mjs
CHANGED
|
@@ -192,7 +192,7 @@ function resolveFeedbackConfig(feedback) {
|
|
|
192
192
|
const defaults = {
|
|
193
193
|
enabled: false,
|
|
194
194
|
question: "How is this guide?",
|
|
195
|
-
placeholder: "
|
|
195
|
+
placeholder: "Share what could be clearer...",
|
|
196
196
|
requireComment: false,
|
|
197
197
|
positiveLabel: "Good",
|
|
198
198
|
negativeLabel: "Bad",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farming-labs/theme",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.21",
|
|
4
4
|
"description": "Theme package for @farming-labs/docs — layout, provider, MDX components, and styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"tsdown": "^0.20.3",
|
|
146
146
|
"typescript": "^5.9.3",
|
|
147
147
|
"vitest": "^4.1.8",
|
|
148
|
-
"@farming-labs/docs": "0.2.
|
|
148
|
+
"@farming-labs/docs": "0.2.21"
|
|
149
149
|
},
|
|
150
150
|
"peerDependencies": {
|
|
151
151
|
"@farming-labs/docs": ">=0.0.1",
|