@ai-matrx/vault 0.1.44 → 0.1.46
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 +12 -4
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.46
|
|
4
|
+
|
|
5
|
+
- **Narrow-container fixes from the 360px / 22.5rem playground walk** (2026-10-23): an Authenticator list row measures its OWN width, so below 26rem the code drops onto a second line under the name (the name keeps the row, the code is never squeezed) and above it everything stays on one line; the camera notes in Add authenticator wrap to a second line instead of being cut by Dismiss, and the setup-key hint is "Setup key or link" (`SETUP_KEY_PLACEHOLDER`, measured to fit the box at 360px); same-named organizations get the shortest id fragment that differs inside their group (`organizationHints`, a suffix when whole ids collide) instead of an identical first 8 characters; the item header measures its pane, not the window (the star and Share step into the "..." menu, the title wraps to two lines, the owner badge wraps below instead of clipping), and the one-time password row hides its separate copy button below 24rem so the ring never sits on it ("Copy code" is in its menu; the code itself still copies). Proof: `src/container-responsive-layout.test.tsx`, `src/narrow-setup-notes.test.tsx`, `src/organization-hints-distinct.test.ts`. Consumer action: none.
|
|
6
|
+
|
|
3
7
|
## 0.1.44
|
|
4
8
|
|
|
5
|
-
|
|
6
|
-
|
|
9
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
10
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
11
|
+
Diff: `git diff df0b433d21 552fd6028c -- apps/shared/vault/src`
|
|
12
|
+
|
|
13
|
+
Changed shipped source files (3):
|
|
14
|
+
- `apps/shared/vault/src/ItemPane.tsx`
|
|
15
|
+
- `apps/shared/vault/src/authenticator/AuthenticatorView.tsx`
|
|
16
|
+
- `apps/shared/vault/src/authenticator/TotpRows.tsx`
|
|
7
17
|
|
|
8
18
|
## 0.1.41
|
|
9
19
|
|
|
@@ -299,8 +309,6 @@ Changed shipped source files (8):
|
|
|
299
309
|
## 0.1.7
|
|
300
310
|
### Unreleased
|
|
301
311
|
|
|
302
|
-
- **Narrow-container fixes from the 360px / 22.5rem playground walk** (2026-10-23): an Authenticator list row measures its OWN width, so below 26rem the code drops onto a second line under the name (the name keeps the row, the code is never squeezed) and above it everything stays on one line; the camera notes in Add authenticator wrap to a second line instead of being cut by Dismiss, and the setup-key hint is "Setup key or otpauth link" (`SETUP_KEY_PLACEHOLDER`); same-named organizations get the shortest id fragment that differs inside their group (`organizationHints`, a suffix when whole ids collide) instead of an identical first 8 characters; the item header measures its pane, not the window (the star and Share step into the "..." menu, the title wraps to two lines, the owner badge wraps below instead of clipping), and the one-time password row hides its separate copy button below 24rem so the ring never sits on it ("Copy code" is in its menu; the code itself still copies). Proof: `src/container-responsive-layout.test.tsx`, `src/narrow-setup-notes.test.tsx`, `src/organization-hints-distinct.test.ts`. Consumer action: none.
|
|
303
|
-
|
|
304
312
|
- Host-held lock: `host.lock` (`VaultLock`: `locked`, `subscribe`, `unlock`, optional `lock` and
|
|
305
313
|
`unlockLabel`). While locked the vault shows only "Vault locked" with Unlock, and every port call
|
|
306
314
|
(areas included) is refused at call time (`guardPort`, `VaultLockedError`). "Lock" joins the
|
package/dist/index.cjs
CHANGED
|
@@ -1928,7 +1928,7 @@ function useCanScan() {
|
|
|
1928
1928
|
}, []);
|
|
1929
1929
|
return ok;
|
|
1930
1930
|
}
|
|
1931
|
-
var SETUP_KEY_PLACEHOLDER = "Setup key or
|
|
1931
|
+
var SETUP_KEY_PLACEHOLDER = "Setup key or link";
|
|
1932
1932
|
var CAMERA_NOTES = {
|
|
1933
1933
|
blocked: "Camera blocked. Paste the key or choose a QR image.",
|
|
1934
1934
|
missing: "No camera. Paste the key or choose a QR image.",
|
|
@@ -2231,6 +2231,7 @@ function TotpRow({ port, item, onChanged }) {
|
|
|
2231
2231
|
VaultRow,
|
|
2232
2232
|
{
|
|
2233
2233
|
label: "Authenticator",
|
|
2234
|
+
className: "@max-[24rem]/otprow:grid-cols-[4.5rem_minmax(0,1fr)_auto]",
|
|
2234
2235
|
actions: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
2235
2236
|
a.enabled ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "hidden @[24rem]/otprow:contents", "data-copy-code-button": "", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CopyCodeButton, { live, label: item.name }) }) : null,
|
|
2236
2237
|
menu
|