@ai-matrx/vault 0.1.29 → 0.1.30

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 CHANGED
@@ -1,6 +1,8 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.29
3
+ ## 0.1.30
4
+
5
+ - **The 46 aliased glyphs keep their hand-measured optical-trim air again.** They became plain design-system aliases when the glyphs moved, which dropped the per-glyph `--matrx-glyph-air-l/-r` the vault had measured; they are now `withGlyphDefaults(Icon, {}, { air: [l, r] })` (the shared option, no local copy). **Consumer action:** none.
4
6
 
5
7
  - **Lock and Open on the web at every width.** The three-pane sidebar's foot offers **Lock** whenever the host gives `lock.lock`, and **Open on the web** whenever it gives `openWebVault` (before, both lived only in the narrow layout's More menu, so a desktop window 1120px or wider had no manual lock). Guard: `src/no-feature-lost.test.tsx` § D1. Consumer action: none.
6
8
  - **"This page" has the list's search row and New.** A "Search the vault" box (so "/" finds), the compact actions and a **New item** button sit above the site on every page, https or not; typing shows the matching list with the cursor kept in the search, clearing it brings the page back. Guard: § E1. Consumer action: none.
package/dist/index.cjs CHANGED
@@ -255,27 +255,29 @@ function glyph(paths, air = [1, 1]) {
255
255
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("svg", { className, style, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: paths });
256
256
  };
257
257
  }
258
- var KeyGlyph = import_icons.KeyIcon;
259
- var NoteGlyph = import_icons.FileTextIcon;
260
- var PersonGlyph = import_icons.UserRoundIcon;
261
- var DatabaseGlyph = import_icons.DatabaseIcon;
262
- var ServerGlyph = import_icons.ServerIcon;
263
- var TerminalGlyph = import_icons.TerminalIcon;
264
- var FileGlyph = import_icons.FilePageIcon;
265
- var CodeGlyph = import_icons.CodeIcon;
266
- var StarGlyph = import_icons.StarIcon;
267
- var PlusGlyph = import_icons.PlusIcon;
268
- var EyeGlyph = import_icons.EyeIcon;
269
- var EyeOffGlyph = import_icons.EyeOffIcon;
270
- var LockGlyph = import_icons.LockIcon;
271
- var ExternalGlyph = import_icons.ExternalLinkIcon;
272
- var TrashGlyph = import_icons.TrashIcon;
273
- var TagGlyph = import_icons.TagIcon;
274
- var ShieldGlyph = import_icons.ShieldIcon;
275
- var BuildingGlyph = import_icons.BuildingIcon;
276
- var ChevronLeftGlyph = import_icons.ChevronLeftIcon;
277
- var GridGlyph = import_icons.LayoutGridIcon;
278
- var PlugGlyph = import_icons.PlugIcon;
258
+ var KeyGlyph = (0, import_icons.withGlyphDefaults)(import_icons.KeyIcon, {}, { air: [1, 2] });
259
+ var NoteGlyph = (0, import_icons.withGlyphDefaults)(import_icons.FileTextIcon, {}, { air: [3, 3] });
260
+ var CardGlyph = (0, import_icons.withGlyphDefaults)(import_icons.CreditCardIcon, {}, { air: [1, 1] });
261
+ var PersonGlyph = (0, import_icons.withGlyphDefaults)(import_icons.UserRoundIcon, {}, { air: [3, 3] });
262
+ var DatabaseGlyph = (0, import_icons.withGlyphDefaults)(import_icons.DatabaseIcon, {}, { air: [2, 2] });
263
+ var ServerGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ServerIcon, {}, { air: [1, 1] });
264
+ var TerminalGlyph = (0, import_icons.withGlyphDefaults)(import_icons.TerminalIcon, {}, { air: [3, 3] });
265
+ var FileGlyph = (0, import_icons.withGlyphDefaults)(import_icons.FilePageIcon, {}, { air: [3, 3] });
266
+ var CodeGlyph = (0, import_icons.withGlyphDefaults)(import_icons.CodeIcon, {}, { air: [1, 1] });
267
+ var StarGlyph = (0, import_icons.withGlyphDefaults)(import_icons.StarIcon, {}, { air: [1, 1] });
268
+ var PlusGlyph = (0, import_icons.withGlyphDefaults)(import_icons.PlusIcon, {}, { air: [4, 4] });
269
+ var EyeGlyph = (0, import_icons.withGlyphDefaults)(import_icons.EyeIcon, {}, { air: [1, 1] });
270
+ var EyeOffGlyph = (0, import_icons.withGlyphDefaults)(import_icons.EyeOffIcon, {}, { air: [1, 1] });
271
+ var LockGlyph = (0, import_icons.withGlyphDefaults)(import_icons.LockIcon, {}, { air: [2, 2] });
272
+ var ExternalGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ExternalLinkIcon, {}, { air: [2, 2] });
273
+ var TrashGlyph = (0, import_icons.withGlyphDefaults)(import_icons.TrashIcon, {}, { air: [2, 2] });
274
+ var ArchiveGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ArchiveIcon, {}, { air: [1, 1] });
275
+ var TagGlyph = (0, import_icons.withGlyphDefaults)(import_icons.TagIcon, {}, { air: [1, 1] });
276
+ var ShieldGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ShieldIcon, {}, { air: [3, 3] });
277
+ var BuildingGlyph = (0, import_icons.withGlyphDefaults)(import_icons.BuildingIcon, {}, { air: [3, 3] });
278
+ var ChevronLeftGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ChevronLeftIcon, {}, { air: [8, 8] });
279
+ var GridGlyph = (0, import_icons.withGlyphDefaults)(import_icons.LayoutGridIcon, {}, { air: [2, 2] });
280
+ var PlugGlyph = (0, import_icons.withGlyphDefaults)(import_icons.PlugIcon, {}, { air: [5, 5] });
279
281
  var FAMILY_GLYPHS = {
280
282
  databases: DatabaseGlyph,
281
283
  server_network: ServerGlyph,
@@ -289,34 +291,34 @@ function definitionGlyph(key, family) {
289
291
  if (key === "username_password" || key === "website_login") return import_icons.GlobeIcon;
290
292
  return FAMILY_GLYPHS[family] ?? KeyGlyph;
291
293
  }
292
- var XGlyph = import_icons.XIcon;
293
- var PencilGlyph = import_icons.PencilIcon;
294
- var ClockGlyph = import_icons.ClockIcon;
295
- var MoreGlyph = import_icons.MoreHorizontalIcon;
296
- var ShareGlyph = import_icons.ShareIcon;
297
- var ListGlyph = import_icons.ListIcon;
298
- var ImportGlyph = import_icons.DownloadIcon;
299
- var ExportGlyph = import_icons.UploadIcon;
300
- var ChevronDownGlyph = import_icons.ChevronDownIcon;
301
- var ChevronRightGlyph = import_icons.ChevronRightIcon;
302
- var SortGlyph = import_icons.ArrowUpDownIcon;
303
- var UserGlyph = import_icons.UserIcon;
304
- var MoveGlyph = import_icons.MoveIcon;
294
+ var XGlyph = (0, import_icons.withGlyphDefaults)(import_icons.XIcon, {}, { air: [5, 5] });
295
+ var PencilGlyph = (0, import_icons.withGlyphDefaults)(import_icons.PencilIcon, {}, { air: [2, 2] });
296
+ var ClockGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ClockIcon, {}, { air: [1, 1] });
297
+ var MoreGlyph = (0, import_icons.withGlyphDefaults)(import_icons.MoreHorizontalIcon, {}, { air: [3, 3] });
298
+ var ShareGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ShareIcon, {}, { air: [3, 3] });
299
+ var ListGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ListIcon, {}, { air: [2, 2] });
300
+ var ImportGlyph = (0, import_icons.withGlyphDefaults)(import_icons.DownloadIcon, {}, { air: [2, 2] });
301
+ var ExportGlyph = (0, import_icons.withGlyphDefaults)(import_icons.UploadIcon, {}, { air: [2, 2] });
302
+ var ChevronDownGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ChevronDownIcon, {}, { air: [5, 5] });
303
+ var ChevronRightGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ChevronRightIcon, {}, { air: [8, 8] });
304
+ var SortGlyph = (0, import_icons.withGlyphDefaults)(import_icons.ArrowUpDownIcon, {}, { air: [2, 2] });
305
+ var UserGlyph = (0, import_icons.withGlyphDefaults)(import_icons.UserIcon, {}, { air: [5, 5] });
306
+ var MoveGlyph = (0, import_icons.withGlyphDefaults)(import_icons.MoveIcon, {}, { air: [1, 1] });
305
307
  var SafeGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
306
308
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
307
309
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "4" }),
308
310
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 8v1M12 15v1M8 12h1M15 12h1" })
309
311
  ] }), [2, 2]);
310
- var RestoreGlyph = import_icons.RotateCcwIcon;
311
- var QrGlyph = import_icons.QrCodeIcon;
312
- var CameraGlyph = import_icons.CameraIcon;
313
- var CheckGlyph = import_icons.CheckIcon;
314
- var PowerGlyph = import_icons.PowerIcon;
315
- var RefreshGlyph = import_icons.RefreshCwIcon;
316
- var SlidersGlyph = import_icons.SlidersVerticalIcon;
317
- var UploadGlyph = import_icons.UploadIcon;
318
- var FingerprintGlyph = import_icons.FingerprintPatternIcon;
319
- var SendGlyph = import_icons.SendIcon;
312
+ var RestoreGlyph = (0, import_icons.withGlyphDefaults)(import_icons.RotateCcwIcon, {}, { air: [2, 2] });
313
+ var QrGlyph = (0, import_icons.withGlyphDefaults)(import_icons.QrCodeIcon, {}, { air: [2, 2] });
314
+ var CameraGlyph = (0, import_icons.withGlyphDefaults)(import_icons.CameraIcon, {}, { air: [1, 1] });
315
+ var CheckGlyph = (0, import_icons.withGlyphDefaults)(import_icons.CheckIcon, {}, { air: [3, 3] });
316
+ var PowerGlyph = (0, import_icons.withGlyphDefaults)(import_icons.PowerIcon, {}, { air: [2, 2] });
317
+ var RefreshGlyph = (0, import_icons.withGlyphDefaults)(import_icons.RefreshCwIcon, {}, { air: [2, 2] });
318
+ var SlidersGlyph = (0, import_icons.withGlyphDefaults)(import_icons.SlidersVerticalIcon, {}, { air: [0, 0] });
319
+ var UploadGlyph = (0, import_icons.withGlyphDefaults)(import_icons.UploadIcon, {}, { air: [2, 2] });
320
+ var FingerprintGlyph = (0, import_icons.withGlyphDefaults)(import_icons.FingerprintPatternIcon, {}, { air: [1, 1] });
321
+ var SendGlyph = (0, import_icons.withGlyphDefaults)(import_icons.SendIcon, {}, { air: [1, 1] });
320
322
 
321
323
  // src/auth/identity.ts
322
324
  var CONFIRM_RETURN_KEY = "matrx-vault:confirming-as";