@ai-matrx/design-system 0.86.331 → 0.86.333
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 +9 -1
- package/dist/auth-gate-dialog.js +4 -4
- package/dist/carousel.js +18 -18
- package/dist/{chunk-MVGMI6UZ.js → chunk-3MQMVPKO.js} +5 -5
- package/dist/{chunk-TBDMTCRW.js → chunk-6YZMGSQY.js} +10 -10
- package/dist/{chunk-OFJ5LGBU.js → chunk-7NEVJKDZ.js} +8 -8
- package/dist/{chunk-XTNAKJSH.js → chunk-B3LDW3IQ.js} +2 -2
- package/dist/{chunk-VTJWQPYR.js → chunk-BM2YYBUO.js} +5 -5
- package/dist/{chunk-FTZCPGTH.js → chunk-CFCWQDGC.js} +4 -4
- package/dist/{chunk-CN7C4KQB.js → chunk-CH2NWSES.js} +2 -2
- package/dist/{chunk-CJCUD62M.js → chunk-CSSD6NS4.js} +5 -5
- package/dist/{chunk-W3QSRJ3O.js → chunk-E4GS5QH7.js} +7 -7
- package/dist/{chunk-O4KANICE.js → chunk-FRJ4PPA2.js} +5 -5
- package/dist/{chunk-4PCLJAW2.js → chunk-FXT7PZAF.js} +5 -14
- package/dist/chunk-FXT7PZAF.js.map +1 -0
- package/dist/{chunk-D45XDOJS.js → chunk-GHPUO3O7.js} +2 -2
- package/dist/{chunk-RPUC5MNH.js → chunk-GLZJ7WZK.js} +3 -3
- package/dist/{chunk-VKWQTSB6.js → chunk-HEFTQUJ5.js} +6 -6
- package/dist/{chunk-KWBYKUKP.js → chunk-J6637L6D.js} +4 -4
- package/dist/chunk-KGW373MK.js +21 -0
- package/dist/chunk-KGW373MK.js.map +1 -0
- package/dist/{chunk-5LT34PFX.js → chunk-MEJVHDYJ.js} +18 -18
- package/dist/{chunk-PPB52S7F.js → chunk-MFUNGDHO.js} +7 -7
- package/dist/{chunk-LCPHFONA.js → chunk-MIJMP4WI.js} +5 -5
- package/dist/{chunk-2WL2SGKL.js → chunk-NNETFHGX.js} +8 -8
- package/dist/{chunk-XREKZXAL.js → chunk-SMJGESH7.js} +6 -6
- package/dist/{chunk-SNHCBHBE.js → chunk-U24MOJWK.js} +4 -4
- package/dist/{chunk-DO6G4EKJ.js → chunk-UWTODOMD.js} +2 -2
- package/dist/{chunk-BQR4N24F.js → chunk-VLLUUOYJ.js} +4 -4
- package/dist/{chunk-FD6V6JBN.js → chunk-VV6WZTH5.js} +8 -8
- package/dist/{chunk-LVM7XZRJ.js → chunk-WQ2QCMMA.js} +4 -4
- package/dist/{chunk-57OD2WTY.js → chunk-X6ZRHJQP.js} +6 -6
- package/dist/{chunk-PLFWDUJW.js → chunk-XEXSZBXV.js} +3 -3
- package/dist/{chunk-JSXNITMG.js → chunk-YC5GAO35.js} +2 -2
- package/dist/{chunk-5TF2AFDM.js → chunk-ZCRPESQX.js} +4 -4
- package/dist/{chunk-5IKQ6RU4.js → chunk-ZOQ2XKXF.js} +9 -9
- package/dist/clipboard-fallback-dialog.js +10 -10
- package/dist/controls.js +15 -15
- package/dist/data-table/data-row-inspector.js +15 -14
- package/dist/data-table/data-row-window.js +20 -19
- package/dist/data-table/index.cjs +16 -12
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +37 -36
- package/dist/data-table/index.js.map +1 -1
- package/dist/data-table/layered-filter-builder.js +4 -4
- package/dist/data-table/pagination.js +8 -8
- package/dist/data-table/uuid-cell.js +8 -8
- package/dist/desktop.js +22 -22
- package/dist/email-input-dialog.js +7 -7
- package/dist/index.cjs +16 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -7
- package/dist/index.d.ts +5 -7
- package/dist/index.js +88 -86
- package/dist/index.js.map +1 -1
- package/dist/intro-stage.js +3 -3
- package/dist/item.js +15 -15
- package/dist/lite-table.js +10 -10
- package/dist/menu-look.js +3 -3
- package/dist/record-list.js +13 -13
- package/dist/sandbox-gate-dialog.js +8 -8
- package/dist/scope-mismatch-dialog.js +7 -7
- package/dist/settings.cjs +16 -12
- package/dist/settings.cjs.map +1 -1
- package/dist/settings.js +20 -19
- package/dist/settings.js.map +1 -1
- package/dist/site-icon.js +2 -2
- package/dist/swipe-deck.js +1 -1
- package/dist/tap-shortcut.cjs +40 -0
- package/dist/tap-shortcut.cjs.map +1 -0
- package/dist/tap-shortcut.d.cts +13 -0
- package/dist/tap-shortcut.d.ts +13 -0
- package/dist/tap-shortcut.js +10 -0
- package/dist/tap-shortcut.js.map +1 -0
- package/dist/tap-target/ai-buttons.cjs +16 -12
- package/dist/tap-target/ai-buttons.cjs.map +1 -1
- package/dist/tap-target/ai-buttons.js +4 -3
- package/dist/tap-target/ai-buttons.js.map +1 -1
- package/dist/tap-target/buttons.cjs +16 -12
- package/dist/tap-target/buttons.cjs.map +1 -1
- package/dist/tap-target/buttons.d.cts +3 -5
- package/dist/tap-target/buttons.d.ts +3 -5
- package/dist/tap-target/buttons.js +4 -3
- package/dist/tap-target.cjs +16 -12
- package/dist/tap-target.cjs.map +1 -1
- package/dist/tap-target.d.cts +5 -7
- package/dist/tap-target.d.ts +5 -7
- package/dist/tap-target.js +6 -4
- package/dist/text-input-dialog.js +10 -10
- package/dist/thumbnail-grid.js +2 -2
- package/dist/transcript-scroll-nav.cjs +16 -12
- package/dist/transcript-scroll-nav.cjs.map +1 -1
- package/dist/transcript-scroll-nav.js +2 -1
- package/dist/transcript-scroll-nav.js.map +1 -1
- package/dist/value-prompts-dialog.js +5 -5
- package/dist/writing-field.cjs +16 -12
- package/dist/writing-field.cjs.map +1 -1
- package/dist/writing-field.js +21 -20
- package/dist/writing-field.js.map +1 -1
- package/package.json +12 -37
- package/dist/chunk-4PCLJAW2.js.map +0 -1
- /package/dist/{chunk-MVGMI6UZ.js.map → chunk-3MQMVPKO.js.map} +0 -0
- /package/dist/{chunk-TBDMTCRW.js.map → chunk-6YZMGSQY.js.map} +0 -0
- /package/dist/{chunk-OFJ5LGBU.js.map → chunk-7NEVJKDZ.js.map} +0 -0
- /package/dist/{chunk-XTNAKJSH.js.map → chunk-B3LDW3IQ.js.map} +0 -0
- /package/dist/{chunk-VTJWQPYR.js.map → chunk-BM2YYBUO.js.map} +0 -0
- /package/dist/{chunk-FTZCPGTH.js.map → chunk-CFCWQDGC.js.map} +0 -0
- /package/dist/{chunk-CN7C4KQB.js.map → chunk-CH2NWSES.js.map} +0 -0
- /package/dist/{chunk-CJCUD62M.js.map → chunk-CSSD6NS4.js.map} +0 -0
- /package/dist/{chunk-W3QSRJ3O.js.map → chunk-E4GS5QH7.js.map} +0 -0
- /package/dist/{chunk-O4KANICE.js.map → chunk-FRJ4PPA2.js.map} +0 -0
- /package/dist/{chunk-D45XDOJS.js.map → chunk-GHPUO3O7.js.map} +0 -0
- /package/dist/{chunk-RPUC5MNH.js.map → chunk-GLZJ7WZK.js.map} +0 -0
- /package/dist/{chunk-VKWQTSB6.js.map → chunk-HEFTQUJ5.js.map} +0 -0
- /package/dist/{chunk-KWBYKUKP.js.map → chunk-J6637L6D.js.map} +0 -0
- /package/dist/{chunk-5LT34PFX.js.map → chunk-MEJVHDYJ.js.map} +0 -0
- /package/dist/{chunk-PPB52S7F.js.map → chunk-MFUNGDHO.js.map} +0 -0
- /package/dist/{chunk-LCPHFONA.js.map → chunk-MIJMP4WI.js.map} +0 -0
- /package/dist/{chunk-2WL2SGKL.js.map → chunk-NNETFHGX.js.map} +0 -0
- /package/dist/{chunk-XREKZXAL.js.map → chunk-SMJGESH7.js.map} +0 -0
- /package/dist/{chunk-SNHCBHBE.js.map → chunk-U24MOJWK.js.map} +0 -0
- /package/dist/{chunk-DO6G4EKJ.js.map → chunk-UWTODOMD.js.map} +0 -0
- /package/dist/{chunk-BQR4N24F.js.map → chunk-VLLUUOYJ.js.map} +0 -0
- /package/dist/{chunk-FD6V6JBN.js.map → chunk-VV6WZTH5.js.map} +0 -0
- /package/dist/{chunk-LVM7XZRJ.js.map → chunk-WQ2QCMMA.js.map} +0 -0
- /package/dist/{chunk-57OD2WTY.js.map → chunk-X6ZRHJQP.js.map} +0 -0
- /package/dist/{chunk-PLFWDUJW.js.map → chunk-XEXSZBXV.js.map} +0 -0
- /package/dist/{chunk-JSXNITMG.js.map → chunk-YC5GAO35.js.map} +0 -0
- /package/dist/{chunk-5TF2AFDM.js.map → chunk-ZCRPESQX.js.map} +0 -0
- /package/dist/{chunk-5IKQ6RU4.js.map → chunk-ZOQ2XKXF.js.map} +0 -0
package/dist/site-icon.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
SiteIcon,
|
|
4
4
|
resolveSiteIcon,
|
|
5
5
|
siteHostname
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZCRPESQX.js";
|
|
7
|
+
import "./chunk-YCUFQCJW.js";
|
|
7
8
|
import "./chunk-IMOOQQOO.js";
|
|
8
9
|
import "./chunk-M6KA5EHN.js";
|
|
9
|
-
import "./chunk-YCUFQCJW.js";
|
|
10
10
|
export {
|
|
11
11
|
SiteIcon,
|
|
12
12
|
resolveSiteIcon,
|
package/dist/swipe-deck.js
CHANGED
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
Input
|
|
7
7
|
} from "./chunk-TDMVH77G.js";
|
|
8
8
|
import "./chunk-WAT2XW7L.js";
|
|
9
|
-
import "./chunk-M6KA5EHN.js";
|
|
10
9
|
import {
|
|
11
10
|
ArrowDownIcon,
|
|
12
11
|
ArrowLeftIcon,
|
|
@@ -24,6 +23,7 @@ import {
|
|
|
24
23
|
Undo2Icon,
|
|
25
24
|
XIcon
|
|
26
25
|
} from "./chunk-YCUFQCJW.js";
|
|
26
|
+
import "./chunk-M6KA5EHN.js";
|
|
27
27
|
|
|
28
28
|
// src/swipe-deck/SwipeDeck.tsx
|
|
29
29
|
import * as React4 from "react";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/tap-shortcut.ts
|
|
22
|
+
var tap_shortcut_exports = {};
|
|
23
|
+
__export(tap_shortcut_exports, {
|
|
24
|
+
formatTapShortcut: () => formatTapShortcut,
|
|
25
|
+
parseShortcut: () => parseShortcut
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(tap_shortcut_exports);
|
|
28
|
+
var IS_APPLE = typeof navigator !== "undefined" && /Mac|iPhone|iPad|iPod/.test(navigator.platform || navigator.userAgent);
|
|
29
|
+
function parseShortcut(shortcut) {
|
|
30
|
+
const parts = shortcut.toLowerCase().split("+");
|
|
31
|
+
const key = parts.pop() ?? "";
|
|
32
|
+
return { mod: parts.includes("mod"), shift: parts.includes("shift"), alt: parts.includes("alt"), key };
|
|
33
|
+
}
|
|
34
|
+
function formatTapShortcut(shortcut) {
|
|
35
|
+
const p = parseShortcut(shortcut);
|
|
36
|
+
const key = p.key.length === 1 ? p.key.toUpperCase() : p.key[0].toUpperCase() + p.key.slice(1);
|
|
37
|
+
if (IS_APPLE) return `${p.alt ? "\u2325" : ""}${p.shift ? "\u21E7" : ""}${p.mod ? "\u2318" : ""}${key}`;
|
|
38
|
+
return [p.mod && "Ctrl", p.alt && "Alt", p.shift && "Shift", key].filter(Boolean).join("+");
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=tap-shortcut.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tap-shortcut.ts"],"sourcesContent":["// src/tap-shortcut.ts — @ai-matrx/design-system/tap-shortcut\n//\n// THE ONE SHORTCUT FORMATTER, light (FB5, 2026-10-23). `formatTapShortcut` (\"mod+k\" → \"⌘K\" on Apple, \"Ctrl+K\"\n// elsewhere) is pure; it lived in tap-target's \"use client\" feature module, so a plain helper that only needed the\n// words (records-ui's table action list) had to import the whole tap-target entry and was itself stamped\n// \"use client\". This entry carries the parse and the words only — no React. `./tap-target` re-exports both.\n\n/** A keyboard shortcut, written \"mod+k\", \"shift+?\", \"alt+enter\". */\nexport type TapShortcut = string;\n\nexport interface ParsedShortcut {\n mod: boolean;\n shift: boolean;\n alt: boolean;\n key: string;\n}\n\nconst IS_APPLE =\n typeof navigator !== \"undefined\" && /Mac|iPhone|iPad|iPod/.test(navigator.platform || navigator.userAgent);\n\nexport function parseShortcut(shortcut: TapShortcut): ParsedShortcut {\n const parts = shortcut.toLowerCase().split(\"+\");\n const key = parts.pop() ?? \"\";\n return { mod: parts.includes(\"mod\"), shift: parts.includes(\"shift\"), alt: parts.includes(\"alt\"), key };\n}\n\n/** \"mod+k\" → \"⌘K\" on Apple, \"Ctrl+K\" elsewhere. */\nexport function formatTapShortcut(shortcut: TapShortcut): string {\n const p = parseShortcut(shortcut);\n const key = p.key.length === 1 ? p.key.toUpperCase() : p.key[0]!.toUpperCase() + p.key.slice(1);\n if (IS_APPLE) return `${p.alt ? \"⌥\" : \"\"}${p.shift ? \"⇧\" : \"\"}${p.mod ? \"⌘\" : \"\"}${key}`;\n return [p.mod && \"Ctrl\", p.alt && \"Alt\", p.shift && \"Shift\", key].filter(Boolean).join(\"+\");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBA,IAAM,WACJ,OAAO,cAAc,eAAe,uBAAuB,KAAK,UAAU,YAAY,UAAU,SAAS;AAEpG,SAAS,cAAc,UAAuC;AACnE,QAAM,QAAQ,SAAS,YAAY,EAAE,MAAM,GAAG;AAC9C,QAAM,MAAM,MAAM,IAAI,KAAK;AAC3B,SAAO,EAAE,KAAK,MAAM,SAAS,KAAK,GAAG,OAAO,MAAM,SAAS,OAAO,GAAG,KAAK,MAAM,SAAS,KAAK,GAAG,IAAI;AACvG;AAGO,SAAS,kBAAkB,UAA+B;AAC/D,QAAM,IAAI,cAAc,QAAQ;AAChC,QAAM,MAAM,EAAE,IAAI,WAAW,IAAI,EAAE,IAAI,YAAY,IAAI,EAAE,IAAI,CAAC,EAAG,YAAY,IAAI,EAAE,IAAI,MAAM,CAAC;AAC9F,MAAI,SAAU,QAAO,GAAG,EAAE,MAAM,WAAM,EAAE,GAAG,EAAE,QAAQ,WAAM,EAAE,GAAG,EAAE,MAAM,WAAM,EAAE,GAAG,GAAG;AACtF,SAAO,CAAC,EAAE,OAAO,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,SAAS,GAAG,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAC5F;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** A keyboard shortcut, written "mod+k", "shift+?", "alt+enter". */
|
|
2
|
+
type TapShortcut = string;
|
|
3
|
+
interface ParsedShortcut {
|
|
4
|
+
mod: boolean;
|
|
5
|
+
shift: boolean;
|
|
6
|
+
alt: boolean;
|
|
7
|
+
key: string;
|
|
8
|
+
}
|
|
9
|
+
declare function parseShortcut(shortcut: TapShortcut): ParsedShortcut;
|
|
10
|
+
/** "mod+k" → "⌘K" on Apple, "Ctrl+K" elsewhere. */
|
|
11
|
+
declare function formatTapShortcut(shortcut: TapShortcut): string;
|
|
12
|
+
|
|
13
|
+
export { type ParsedShortcut, type TapShortcut, formatTapShortcut, parseShortcut };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** A keyboard shortcut, written "mod+k", "shift+?", "alt+enter". */
|
|
2
|
+
type TapShortcut = string;
|
|
3
|
+
interface ParsedShortcut {
|
|
4
|
+
mod: boolean;
|
|
5
|
+
shift: boolean;
|
|
6
|
+
alt: boolean;
|
|
7
|
+
key: string;
|
|
8
|
+
}
|
|
9
|
+
declare function parseShortcut(shortcut: TapShortcut): ParsedShortcut;
|
|
10
|
+
/** "mod+k" → "⌘K" on Apple, "Ctrl+K" elsewhere. */
|
|
11
|
+
declare function formatTapShortcut(shortcut: TapShortcut): string;
|
|
12
|
+
|
|
13
|
+
export { type ParsedShortcut, type TapShortcut, formatTapShortcut, parseShortcut };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -622,6 +622,22 @@ function useTapSurface(explicit) {
|
|
|
622
622
|
|
|
623
623
|
// src/tap-target/tap-features.tsx
|
|
624
624
|
var import_react3 = require("react");
|
|
625
|
+
|
|
626
|
+
// src/tap-shortcut.ts
|
|
627
|
+
var IS_APPLE = typeof navigator !== "undefined" && /Mac|iPhone|iPad|iPod/.test(navigator.platform || navigator.userAgent);
|
|
628
|
+
function parseShortcut(shortcut) {
|
|
629
|
+
const parts = shortcut.toLowerCase().split("+");
|
|
630
|
+
const key = parts.pop() ?? "";
|
|
631
|
+
return { mod: parts.includes("mod"), shift: parts.includes("shift"), alt: parts.includes("alt"), key };
|
|
632
|
+
}
|
|
633
|
+
function formatTapShortcut(shortcut) {
|
|
634
|
+
const p = parseShortcut(shortcut);
|
|
635
|
+
const key = p.key.length === 1 ? p.key.toUpperCase() : p.key[0].toUpperCase() + p.key.slice(1);
|
|
636
|
+
if (IS_APPLE) return `${p.alt ? "\u2325" : ""}${p.shift ? "\u21E7" : ""}${p.mod ? "\u2318" : ""}${key}`;
|
|
637
|
+
return [p.mod && "Ctrl", p.alt && "Alt", p.shift && "Shift", key].filter(Boolean).join("+");
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
// src/tap-target/tap-features.tsx
|
|
625
641
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
626
642
|
var TAP_TONE_CLASS = {
|
|
627
643
|
default: "text-foreground",
|
|
@@ -639,18 +655,6 @@ var TAP_SOLID_TONE = {
|
|
|
639
655
|
warning: { fill: "bg-warning group-hover/tap:bg-warning/85", glyph: "text-warning-foreground" },
|
|
640
656
|
neutral: { fill: "bg-foreground group-hover/tap:bg-foreground/85", glyph: "text-background" }
|
|
641
657
|
};
|
|
642
|
-
var IS_APPLE = typeof navigator !== "undefined" && /Mac|iPhone|iPad|iPod/.test(navigator.platform || navigator.userAgent);
|
|
643
|
-
function parseShortcut(shortcut) {
|
|
644
|
-
const parts = shortcut.toLowerCase().split("+");
|
|
645
|
-
const key = parts.pop() ?? "";
|
|
646
|
-
return { mod: parts.includes("mod"), shift: parts.includes("shift"), alt: parts.includes("alt"), key };
|
|
647
|
-
}
|
|
648
|
-
function formatTapShortcut(shortcut) {
|
|
649
|
-
const p = parseShortcut(shortcut);
|
|
650
|
-
const key = p.key.length === 1 ? p.key.toUpperCase() : p.key[0].toUpperCase() + p.key.slice(1);
|
|
651
|
-
if (IS_APPLE) return `${p.alt ? "\u2325" : ""}${p.shift ? "\u21E7" : ""}${p.mod ? "\u2318" : ""}${key}`;
|
|
652
|
-
return [p.mod && "Ctrl", p.alt && "Alt", p.shift && "Shift", key].filter(Boolean).join("+");
|
|
653
|
-
}
|
|
654
658
|
function isTyping(target) {
|
|
655
659
|
const el = target;
|
|
656
660
|
return !!el && (el.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName));
|