@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/dist/index.js CHANGED
@@ -215,7 +215,8 @@ import {
215
215
  UploadIcon,
216
216
  UserIcon,
217
217
  UserRoundIcon,
218
- XIcon
218
+ XIcon,
219
+ withGlyphDefaults
219
220
  } from "@ai-matrx/design-system/icons";
220
221
  import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
221
222
  function glyph(paths, air = [1, 1]) {
@@ -224,27 +225,29 @@ function glyph(paths, air = [1, 1]) {
224
225
  return /* @__PURE__ */ jsx2("svg", { className, style, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: paths });
225
226
  };
226
227
  }
227
- var KeyGlyph = KeyIcon;
228
- var NoteGlyph = FileTextIcon;
229
- var PersonGlyph = UserRoundIcon;
230
- var DatabaseGlyph = DatabaseIcon;
231
- var ServerGlyph = ServerIcon;
232
- var TerminalGlyph = TerminalIcon;
233
- var FileGlyph = FilePageIcon;
234
- var CodeGlyph = CodeIcon;
235
- var StarGlyph = StarIcon;
236
- var PlusGlyph = PlusIcon;
237
- var EyeGlyph = EyeIcon;
238
- var EyeOffGlyph = EyeOffIcon;
239
- var LockGlyph = LockIcon;
240
- var ExternalGlyph = ExternalLinkIcon;
241
- var TrashGlyph = TrashIcon;
242
- var TagGlyph = TagIcon;
243
- var ShieldGlyph = ShieldIcon;
244
- var BuildingGlyph = BuildingIcon;
245
- var ChevronLeftGlyph = ChevronLeftIcon;
246
- var GridGlyph = LayoutGridIcon;
247
- var PlugGlyph = PlugIcon;
228
+ var KeyGlyph = withGlyphDefaults(KeyIcon, {}, { air: [1, 2] });
229
+ var NoteGlyph = withGlyphDefaults(FileTextIcon, {}, { air: [3, 3] });
230
+ var CardGlyph = withGlyphDefaults(CreditCardIcon, {}, { air: [1, 1] });
231
+ var PersonGlyph = withGlyphDefaults(UserRoundIcon, {}, { air: [3, 3] });
232
+ var DatabaseGlyph = withGlyphDefaults(DatabaseIcon, {}, { air: [2, 2] });
233
+ var ServerGlyph = withGlyphDefaults(ServerIcon, {}, { air: [1, 1] });
234
+ var TerminalGlyph = withGlyphDefaults(TerminalIcon, {}, { air: [3, 3] });
235
+ var FileGlyph = withGlyphDefaults(FilePageIcon, {}, { air: [3, 3] });
236
+ var CodeGlyph = withGlyphDefaults(CodeIcon, {}, { air: [1, 1] });
237
+ var StarGlyph = withGlyphDefaults(StarIcon, {}, { air: [1, 1] });
238
+ var PlusGlyph = withGlyphDefaults(PlusIcon, {}, { air: [4, 4] });
239
+ var EyeGlyph = withGlyphDefaults(EyeIcon, {}, { air: [1, 1] });
240
+ var EyeOffGlyph = withGlyphDefaults(EyeOffIcon, {}, { air: [1, 1] });
241
+ var LockGlyph = withGlyphDefaults(LockIcon, {}, { air: [2, 2] });
242
+ var ExternalGlyph = withGlyphDefaults(ExternalLinkIcon, {}, { air: [2, 2] });
243
+ var TrashGlyph = withGlyphDefaults(TrashIcon, {}, { air: [2, 2] });
244
+ var ArchiveGlyph = withGlyphDefaults(ArchiveIcon, {}, { air: [1, 1] });
245
+ var TagGlyph = withGlyphDefaults(TagIcon, {}, { air: [1, 1] });
246
+ var ShieldGlyph = withGlyphDefaults(ShieldIcon, {}, { air: [3, 3] });
247
+ var BuildingGlyph = withGlyphDefaults(BuildingIcon, {}, { air: [3, 3] });
248
+ var ChevronLeftGlyph = withGlyphDefaults(ChevronLeftIcon, {}, { air: [8, 8] });
249
+ var GridGlyph = withGlyphDefaults(LayoutGridIcon, {}, { air: [2, 2] });
250
+ var PlugGlyph = withGlyphDefaults(PlugIcon, {}, { air: [5, 5] });
248
251
  var FAMILY_GLYPHS = {
249
252
  databases: DatabaseGlyph,
250
253
  server_network: ServerGlyph,
@@ -258,34 +261,34 @@ function definitionGlyph(key, family) {
258
261
  if (key === "username_password" || key === "website_login") return GlobeIcon;
259
262
  return FAMILY_GLYPHS[family] ?? KeyGlyph;
260
263
  }
261
- var XGlyph = XIcon;
262
- var PencilGlyph = PencilIcon;
263
- var ClockGlyph = ClockIcon;
264
- var MoreGlyph = MoreHorizontalIcon;
265
- var ShareGlyph = ShareIcon;
266
- var ListGlyph = ListIcon;
267
- var ImportGlyph = DownloadIcon;
268
- var ExportGlyph = UploadIcon;
269
- var ChevronDownGlyph = ChevronDownIcon;
270
- var ChevronRightGlyph = ChevronRightIcon;
271
- var SortGlyph = ArrowUpDownIcon;
272
- var UserGlyph = UserIcon;
273
- var MoveGlyph = MoveIcon;
264
+ var XGlyph = withGlyphDefaults(XIcon, {}, { air: [5, 5] });
265
+ var PencilGlyph = withGlyphDefaults(PencilIcon, {}, { air: [2, 2] });
266
+ var ClockGlyph = withGlyphDefaults(ClockIcon, {}, { air: [1, 1] });
267
+ var MoreGlyph = withGlyphDefaults(MoreHorizontalIcon, {}, { air: [3, 3] });
268
+ var ShareGlyph = withGlyphDefaults(ShareIcon, {}, { air: [3, 3] });
269
+ var ListGlyph = withGlyphDefaults(ListIcon, {}, { air: [2, 2] });
270
+ var ImportGlyph = withGlyphDefaults(DownloadIcon, {}, { air: [2, 2] });
271
+ var ExportGlyph = withGlyphDefaults(UploadIcon, {}, { air: [2, 2] });
272
+ var ChevronDownGlyph = withGlyphDefaults(ChevronDownIcon, {}, { air: [5, 5] });
273
+ var ChevronRightGlyph = withGlyphDefaults(ChevronRightIcon, {}, { air: [8, 8] });
274
+ var SortGlyph = withGlyphDefaults(ArrowUpDownIcon, {}, { air: [2, 2] });
275
+ var UserGlyph = withGlyphDefaults(UserIcon, {}, { air: [5, 5] });
276
+ var MoveGlyph = withGlyphDefaults(MoveIcon, {}, { air: [1, 1] });
274
277
  var SafeGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
275
278
  /* @__PURE__ */ jsx2("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
276
279
  /* @__PURE__ */ jsx2("circle", { cx: "12", cy: "12", r: "4" }),
277
280
  /* @__PURE__ */ jsx2("path", { d: "M12 8v1M12 15v1M8 12h1M15 12h1" })
278
281
  ] }), [2, 2]);
279
- var RestoreGlyph = RotateCcwIcon;
280
- var QrGlyph = QrCodeIcon;
281
- var CameraGlyph = CameraIcon;
282
- var CheckGlyph = CheckIcon;
283
- var PowerGlyph = PowerIcon;
284
- var RefreshGlyph = RefreshCwIcon;
285
- var SlidersGlyph = SlidersVerticalIcon;
286
- var UploadGlyph = UploadIcon;
287
- var FingerprintGlyph = FingerprintPatternIcon;
288
- var SendGlyph = SendIcon;
282
+ var RestoreGlyph = withGlyphDefaults(RotateCcwIcon, {}, { air: [2, 2] });
283
+ var QrGlyph = withGlyphDefaults(QrCodeIcon, {}, { air: [2, 2] });
284
+ var CameraGlyph = withGlyphDefaults(CameraIcon, {}, { air: [1, 1] });
285
+ var CheckGlyph = withGlyphDefaults(CheckIcon, {}, { air: [3, 3] });
286
+ var PowerGlyph = withGlyphDefaults(PowerIcon, {}, { air: [2, 2] });
287
+ var RefreshGlyph = withGlyphDefaults(RefreshCwIcon, {}, { air: [2, 2] });
288
+ var SlidersGlyph = withGlyphDefaults(SlidersVerticalIcon, {}, { air: [0, 0] });
289
+ var UploadGlyph = withGlyphDefaults(UploadIcon, {}, { air: [2, 2] });
290
+ var FingerprintGlyph = withGlyphDefaults(FingerprintPatternIcon, {}, { air: [1, 1] });
291
+ var SendGlyph = withGlyphDefaults(SendIcon, {}, { air: [1, 1] });
289
292
 
290
293
  // src/auth/identity.ts
291
294
  var CONFIRM_RETURN_KEY = "matrx-vault:confirming-as";