@ai-matrx/vault 0.1.20 → 0.1.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/CHANGELOG.md +5 -0
- package/dist/index.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.21
|
|
4
|
+
|
|
5
|
+
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
6
|
+
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/vault/src`.
|
|
7
|
+
|
|
3
8
|
## 0.1.20
|
|
4
9
|
|
|
5
10
|
- **A multi-line secret edits as several lines.** A field whose type says multi-line, any field under a notes key (an old **Secure note**, `secure_notes`) and any value that already holds a line break now edit in a multi-line box — a one-line box dropped the line breaks on save. Shown values keep their lines too. Guard: `src/vault-gaps-2026-10-19.test.tsx`. Consumer action: none.
|
package/dist/index.cjs
CHANGED
|
@@ -622,6 +622,8 @@ function ConfirmIdentityDialog({ open, identity, onDone, onCancel }) {
|
|
|
622
622
|
var import_react5 = require("react");
|
|
623
623
|
var import_controls2 = require("@ai-matrx/design-system/controls");
|
|
624
624
|
var import_design_system5 = require("@ai-matrx/design-system");
|
|
625
|
+
var import_outbound = require("@ai-matrx/kit/outbound");
|
|
626
|
+
var import_outbound_react = require("@ai-matrx/kit/outbound-react");
|
|
625
627
|
var import_icons2 = require("@ai-matrx/design-system/icons");
|
|
626
628
|
|
|
627
629
|
// src/hooks.ts
|
|
@@ -833,13 +835,13 @@ function PlainRow({ label, value, hint: hint2, openUrl, extra, multiline = false
|
|
|
833
835
|
top: multiline,
|
|
834
836
|
actions: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
835
837
|
extra,
|
|
836
|
-
isUrl && openUrl ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_controls2.Button, { variant: "quiet", icon: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ExternalGlyph, {}), "aria-label": `Open ${value}`, onClick: () => openUrl(value) }) : null,
|
|
838
|
+
isUrl && openUrl ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_controls2.Button, { variant: "quiet", icon: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ExternalGlyph, {}), "aria-label": `Open ${value}`, onClick: () => openUrl((0, import_outbound.withReferral)(value)) }) : null,
|
|
837
839
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_controls2.Button, { variant: "quiet", icon: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_icons2.CopyIcon, {}), "aria-label": `Copy ${typeof label === "string" ? label : "value"}`, onClick: () => void copyValue2(value, typeof label === "string" && label ? label : "Value", { secret: false }) })
|
|
838
840
|
] }),
|
|
839
841
|
children: isUrl && openUrl ? (
|
|
840
842
|
// A real link (right-click, copy link address, open in a new tab); a click goes through the host's opener.
|
|
841
843
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
842
|
-
|
|
844
|
+
import_outbound_react.OutboundLink,
|
|
843
845
|
{
|
|
844
846
|
href: value,
|
|
845
847
|
target: "_blank",
|
|
@@ -847,7 +849,7 @@ function PlainRow({ label, value, hint: hint2, openUrl, extra, multiline = false
|
|
|
847
849
|
className: "block max-w-full truncate text-primary hover:underline",
|
|
848
850
|
onClick: (e) => {
|
|
849
851
|
e.preventDefault();
|
|
850
|
-
openUrl(value);
|
|
852
|
+
openUrl((0, import_outbound.withReferral)(value));
|
|
851
853
|
},
|
|
852
854
|
children: value.replace(/^https?:\/\//i, "").replace(/\/$/, "")
|
|
853
855
|
}
|