@tensorix/metahub 0.2.1 → 0.2.2

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
@@ -20033,7 +20033,7 @@ init_config();
20033
20033
  // package.json
20034
20034
  var package_default = {
20035
20035
  name: "@tensorix/metahub",
20036
- version: "0.2.1",
20036
+ version: "0.2.2",
20037
20037
  description: "Metahub core library and CLI",
20038
20038
  license: "AGPL-3.0-only",
20039
20039
  type: "module",
@@ -21256,6 +21256,28 @@ var styles_default = ` :root {
21256
21256
  .doc-table-addrow { width:100%; height:22px; margin-top:4px; display:grid; place-items:center; color:var(--muted);
21257
21257
  border:1px dashed var(--line-strong); border-radius:var(--radius-sm); background:var(--surface); transition:background .12s,color .12s,border-color .12s; }
21258
21258
  .doc-table-addcol:hover, .doc-table-addrow:hover { background:var(--accent-soft); color:var(--accent); border-color:var(--accent); }
21259
+ /* cell range selection (box select): soft fill per cell; the accent rectangle
21260
+ outline is drawn via inline inset box-shadow on the edge cells (see
21261
+ cell-select.ts edgeShadow). While selecting, suppress the caret + native
21262
+ text selection inside the table so the rectangle owns the interaction. */
21263
+ table.doc-table td.cellsel { background:var(--accent-soft); animation:doc-cellsel-pop .12s ease-out; }
21264
+ /* while a selection exists: suppress the caret + native text-select, and keep a
21265
+ normal arrow cursor over the cells \u2014 the crosshair only shows while actively
21266
+ dragging (body.cell-selecting) and over the fill handle. */
21267
+ table.doc-table.cells-active .doc-td { caret-color:transparent; user-select:none; cursor:default; }
21268
+ @keyframes doc-cellsel-pop { from { background:transparent; } to { background:var(--accent-soft); } }
21269
+ /* fill handle at the selection's bottom-right corner \u2014 drag it to grow/shrink
21270
+ the rectangle. ::after enlarges the hit target without enlarging the nub. */
21271
+ .doc-cell-handle { position:absolute; right:-3px; bottom:-3px; width:7px; height:7px; z-index:4;
21272
+ background:var(--accent); border:1.5px solid var(--bg); border-radius:2px; cursor:crosshair; touch-action:none; }
21273
+ .doc-cell-handle::after { content:""; position:absolute; inset:-4px; }
21274
+ /* one-shot accent flash on the whole table after a copy */
21275
+ table.doc-table.copied { animation:doc-table-copied .26s ease-out; }
21276
+ @keyframes doc-table-copied {
21277
+ 0% { box-shadow:var(--shadow-sm), 0 0 0 0 var(--accent); }
21278
+ 35% { box-shadow:var(--shadow-sm), 0 0 0 3px var(--accent-soft); }
21279
+ 100% { box-shadow:var(--shadow-sm), 0 0 0 0 var(--accent); }
21280
+ }
21259
21281
 
21260
21282
  /* database / table */
21261
21283
  .db { padding:22px 36px 90px; min-width:0; }
@@ -23157,7 +23179,7 @@ function clampExpiry(sec) {
23157
23179
 
23158
23180
  // src/core/sync/share-actions.ts
23159
23181
  init_storage_s3_bun();
23160
- var DEFAULT_SHARE_VIEWER = "https://metahub-share.pages.dev";
23182
+ var DEFAULT_SHARE_VIEWER = "https://share.mh.tensorix.org";
23161
23183
  var DEFAULT_S3_EXPIRY_SEC = MAX_PRESIGN_SECONDS;
23162
23184
  function targetTitle(db2, kind, id) {
23163
23185
  try {
@@ -24400,4 +24422,4 @@ export {
24400
24422
  BLOB_HASH_HEX
24401
24423
  };
24402
24424
 
24403
- //# debugId=D4E389BCE68D120264756E2164756E21
24425
+ //# debugId=53C623352D26C68364756E2164756E21