@nivaro/react 0.1.30 → 0.1.31
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/index.js +6 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17012,7 +17012,7 @@ function PipelinePanelInner({
|
|
|
17012
17012
|
type: "text",
|
|
17013
17013
|
value: c,
|
|
17014
17014
|
onChange: (H) => p(H.target.value),
|
|
17015
|
-
placeholder: "Add a comment (optional)",
|
|
17015
|
+
placeholder: String((K == null ? void 0 : K.comment_mode) ?? "") === "required" ? "Add a note (required)" : "Add a comment (optional)",
|
|
17016
17016
|
className: "w-full rounded-md border border-slate-200 bg-white px-3 py-1.5 text-[13px] placeholder-slate-400 focus:outline-none focus:ring-2 focus:ring-nvr-cyan/30"
|
|
17017
17017
|
}
|
|
17018
17018
|
),
|
|
@@ -17352,7 +17352,7 @@ function PipelineTransitionButtonsInner({
|
|
|
17352
17352
|
type: "text",
|
|
17353
17353
|
value: a,
|
|
17354
17354
|
onChange: (b) => l(b.target.value),
|
|
17355
|
-
placeholder: "Add a comment (optional)",
|
|
17355
|
+
placeholder: String((u == null ? void 0 : u.comment_mode) ?? "") === "required" ? "Add a note (required)" : "Add a comment (optional)",
|
|
17356
17356
|
className: "w-full rounded-md border border-slate-200 bg-white px-3 py-1.5 text-[13px] placeholder-slate-400 focus:outline-none focus:ring-2 focus:ring-nvr-cyan/30"
|
|
17357
17357
|
}
|
|
17358
17358
|
),
|
|
@@ -37299,7 +37299,10 @@ function useApiUpdate() {
|
|
|
37299
37299
|
);
|
|
37300
37300
|
}
|
|
37301
37301
|
function ApiUpdateBanner({
|
|
37302
|
-
|
|
37302
|
+
// "The API", not "Nivaro": the reader is an operator of whatever app this is
|
|
37303
|
+
// embedded in, and the platform's own name means nothing to them. Hosts that
|
|
37304
|
+
// want to be specific pass appName.
|
|
37305
|
+
appName: e = "The API",
|
|
37303
37306
|
fetchVersion: t
|
|
37304
37307
|
}) {
|
|
37305
37308
|
const s = useOptionalNivaroClient(), n = useApiUpdate(), [r, a] = useState(!1);
|