@ai-matrx/design-system 0.86.332 → 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 +2 -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 -2
- 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/tap-target.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ComponentType, ReactNode, Ref, ButtonHTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
|
+
/** A keyboard shortcut, written "mod+k", "shift+?", "alt+enter". */
|
|
5
|
+
type TapShortcut = string;
|
|
6
|
+
/** "mod+k" → "⌘K" on Apple, "Ctrl+K" elsewhere. */
|
|
7
|
+
declare function formatTapShortcut(shortcut: TapShortcut): string;
|
|
8
|
+
|
|
4
9
|
/** Glyph color. Replaces the free-form `className`. */
|
|
5
10
|
type TapTone = "default" | "muted" | "primary" | "destructive" | "success" | "warning" | "info";
|
|
6
11
|
/** Fill of a solid button. Replaces `bgColor` / `iconColor` / hover / active. */
|
|
7
12
|
type TapSolidTone = "primary" | "destructive" | "success" | "warning" | "neutral";
|
|
8
|
-
/**
|
|
9
|
-
* A keyboard shortcut: modifiers joined by "+", then one key —
|
|
10
|
-
* "mod+k" (⌘ on Apple, Ctrl elsewhere), "shift+mod+p", "alt+n", "/", "?".
|
|
11
|
-
*/
|
|
12
|
-
type TapShortcut = string;
|
|
13
13
|
interface TapFeatureProps {
|
|
14
14
|
/** Glyph color, from the system's list. */
|
|
15
15
|
tone?: TapTone | undefined;
|
|
@@ -26,8 +26,6 @@ interface TapFeatureProps {
|
|
|
26
26
|
/** A menu trigger: a small chevron after the label. */
|
|
27
27
|
chevron?: boolean | undefined;
|
|
28
28
|
}
|
|
29
|
-
/** "mod+k" → "⌘K" on Apple, "Ctrl+K" elsewhere. */
|
|
30
|
-
declare function formatTapShortcut(shortcut: TapShortcut): string;
|
|
31
29
|
|
|
32
30
|
/**
|
|
33
31
|
* The injectable link seam — the package's replacement for the original
|
package/dist/tap-target.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ComponentType, ReactNode, Ref, ButtonHTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
|
+
/** A keyboard shortcut, written "mod+k", "shift+?", "alt+enter". */
|
|
5
|
+
type TapShortcut = string;
|
|
6
|
+
/** "mod+k" → "⌘K" on Apple, "Ctrl+K" elsewhere. */
|
|
7
|
+
declare function formatTapShortcut(shortcut: TapShortcut): string;
|
|
8
|
+
|
|
4
9
|
/** Glyph color. Replaces the free-form `className`. */
|
|
5
10
|
type TapTone = "default" | "muted" | "primary" | "destructive" | "success" | "warning" | "info";
|
|
6
11
|
/** Fill of a solid button. Replaces `bgColor` / `iconColor` / hover / active. */
|
|
7
12
|
type TapSolidTone = "primary" | "destructive" | "success" | "warning" | "neutral";
|
|
8
|
-
/**
|
|
9
|
-
* A keyboard shortcut: modifiers joined by "+", then one key —
|
|
10
|
-
* "mod+k" (⌘ on Apple, Ctrl elsewhere), "shift+mod+p", "alt+n", "/", "?".
|
|
11
|
-
*/
|
|
12
|
-
type TapShortcut = string;
|
|
13
13
|
interface TapFeatureProps {
|
|
14
14
|
/** Glyph color, from the system's list. */
|
|
15
15
|
tone?: TapTone | undefined;
|
|
@@ -26,8 +26,6 @@ interface TapFeatureProps {
|
|
|
26
26
|
/** A menu trigger: a small chevron after the label. */
|
|
27
27
|
chevron?: boolean | undefined;
|
|
28
28
|
}
|
|
29
|
-
/** "mod+k" → "⌘K" on Apple, "Ctrl+K" elsewhere. */
|
|
30
|
-
declare function formatTapShortcut(shortcut: TapShortcut): string;
|
|
31
29
|
|
|
32
30
|
/**
|
|
33
31
|
* The injectable link seam — the package's replacement for the original
|
package/dist/tap-target.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
TapTargetCopyButton,
|
|
4
4
|
TapTargetLabeled,
|
|
5
5
|
TapTargetSearchGroup
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GLZJ7WZK.js";
|
|
7
7
|
import {
|
|
8
8
|
TapDefaultVariant,
|
|
9
9
|
useTapDefaultVariant
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B3LDW3IQ.js";
|
|
11
11
|
import {
|
|
12
12
|
TapSurface,
|
|
13
13
|
TapTargetButton,
|
|
@@ -21,13 +21,15 @@ import {
|
|
|
21
21
|
findPillInsetWarning,
|
|
22
22
|
findTapPlacementWarning,
|
|
23
23
|
findTapViolation,
|
|
24
|
-
formatTapShortcut,
|
|
25
24
|
useTapSurface
|
|
26
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FXT7PZAF.js";
|
|
27
26
|
import {
|
|
28
27
|
getTapTargetLinkComponent,
|
|
29
28
|
setTapTargetLinkComponent
|
|
30
29
|
} from "./chunk-WFBPCMPF.js";
|
|
30
|
+
import {
|
|
31
|
+
formatTapShortcut
|
|
32
|
+
} from "./chunk-KGW373MK.js";
|
|
31
33
|
import "./chunk-PIQJULQB.js";
|
|
32
34
|
import "./chunk-MOZRIHJF.js";
|
|
33
35
|
import "./chunk-XIUVUL2Y.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-AJ6BAYEN.js";
|
|
5
5
|
import {
|
|
6
6
|
Input
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GHPUO3O7.js";
|
|
8
8
|
import {
|
|
9
9
|
Drawer,
|
|
10
10
|
DrawerContent,
|
|
@@ -17,7 +17,6 @@ import {
|
|
|
17
17
|
ErrorActions
|
|
18
18
|
} from "./chunk-HKLIRHT2.js";
|
|
19
19
|
import "./chunk-TDMVH77G.js";
|
|
20
|
-
import "./chunk-IMQ3RX35.js";
|
|
21
20
|
import {
|
|
22
21
|
Dialog,
|
|
23
22
|
DialogContent,
|
|
@@ -25,29 +24,30 @@ import {
|
|
|
25
24
|
DialogFooter,
|
|
26
25
|
DialogHeader,
|
|
27
26
|
DialogTitle
|
|
28
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UWTODOMD.js";
|
|
28
|
+
import "./chunk-IMQ3RX35.js";
|
|
29
29
|
import {
|
|
30
30
|
useIsMobile
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-U24MOJWK.js";
|
|
32
32
|
import "./chunk-NDTDBBMM.js";
|
|
33
33
|
import "./chunk-LEPD6TV7.js";
|
|
34
|
-
import "./chunk-BKCJUFD3.js";
|
|
35
34
|
import "./chunk-BD77DHUO.js";
|
|
35
|
+
import "./chunk-BKCJUFD3.js";
|
|
36
36
|
import "./chunk-MOZRIHJF.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-SMJGESH7.js";
|
|
38
|
+
import "./chunk-WAT2XW7L.js";
|
|
38
39
|
import {
|
|
39
40
|
Button
|
|
40
41
|
} from "./chunk-7IOSA55D.js";
|
|
41
|
-
import "./chunk-WAT2XW7L.js";
|
|
42
42
|
import "./chunk-DGNHZBJY.js";
|
|
43
43
|
import "./chunk-XIUVUL2Y.js";
|
|
44
|
+
import {
|
|
45
|
+
Loader2Icon
|
|
46
|
+
} from "./chunk-YCUFQCJW.js";
|
|
44
47
|
import "./chunk-IMOOQQOO.js";
|
|
45
48
|
import {
|
|
46
49
|
cn
|
|
47
50
|
} from "./chunk-M6KA5EHN.js";
|
|
48
|
-
import {
|
|
49
|
-
Loader2Icon
|
|
50
|
-
} from "./chunk-YCUFQCJW.js";
|
|
51
51
|
|
|
52
52
|
// src/text-input-dialog.tsx
|
|
53
53
|
import * as React from "react";
|
package/dist/thumbnail-grid.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ContextMenu,
|
|
4
4
|
ContextMenuContent,
|
|
5
5
|
ContextMenuTrigger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HEFTQUJ5.js";
|
|
7
7
|
import {
|
|
8
8
|
DragCursorMonitor
|
|
9
9
|
} from "./chunk-NR22O36P.js";
|
|
@@ -11,11 +11,11 @@ import "./chunk-LEPD6TV7.js";
|
|
|
11
11
|
import "./chunk-BNXNIN2S.js";
|
|
12
12
|
import "./chunk-DGNHZBJY.js";
|
|
13
13
|
import "./chunk-XIUVUL2Y.js";
|
|
14
|
+
import "./chunk-YCUFQCJW.js";
|
|
14
15
|
import "./chunk-IMOOQQOO.js";
|
|
15
16
|
import {
|
|
16
17
|
cn
|
|
17
18
|
} from "./chunk-M6KA5EHN.js";
|
|
18
|
-
import "./chunk-YCUFQCJW.js";
|
|
19
19
|
|
|
20
20
|
// src/thumbnail-grid/thumbnail-grid.tsx
|
|
21
21
|
import {
|
|
@@ -913,6 +913,22 @@ function useTapGuardRef(forwarded, propViolation) {
|
|
|
913
913
|
|
|
914
914
|
// src/tap-target/tap-features.tsx
|
|
915
915
|
var import_react2 = require("react");
|
|
916
|
+
|
|
917
|
+
// src/tap-shortcut.ts
|
|
918
|
+
var IS_APPLE = typeof navigator !== "undefined" && /Mac|iPhone|iPad|iPod/.test(navigator.platform || navigator.userAgent);
|
|
919
|
+
function parseShortcut(shortcut) {
|
|
920
|
+
const parts = shortcut.toLowerCase().split("+");
|
|
921
|
+
const key = parts.pop() ?? "";
|
|
922
|
+
return { mod: parts.includes("mod"), shift: parts.includes("shift"), alt: parts.includes("alt"), key };
|
|
923
|
+
}
|
|
924
|
+
function formatTapShortcut(shortcut) {
|
|
925
|
+
const p = parseShortcut(shortcut);
|
|
926
|
+
const key = p.key.length === 1 ? p.key.toUpperCase() : p.key[0].toUpperCase() + p.key.slice(1);
|
|
927
|
+
if (IS_APPLE) return `${p.alt ? "\u2325" : ""}${p.shift ? "\u21E7" : ""}${p.mod ? "\u2318" : ""}${key}`;
|
|
928
|
+
return [p.mod && "Ctrl", p.alt && "Alt", p.shift && "Shift", key].filter(Boolean).join("+");
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
// src/tap-target/tap-features.tsx
|
|
916
932
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
917
933
|
var TAP_TONE_CLASS = {
|
|
918
934
|
default: "text-foreground",
|
|
@@ -930,18 +946,6 @@ var TAP_SOLID_TONE = {
|
|
|
930
946
|
warning: { fill: "bg-warning group-hover/tap:bg-warning/85", glyph: "text-warning-foreground" },
|
|
931
947
|
neutral: { fill: "bg-foreground group-hover/tap:bg-foreground/85", glyph: "text-background" }
|
|
932
948
|
};
|
|
933
|
-
var IS_APPLE = typeof navigator !== "undefined" && /Mac|iPhone|iPad|iPod/.test(navigator.platform || navigator.userAgent);
|
|
934
|
-
function parseShortcut(shortcut) {
|
|
935
|
-
const parts = shortcut.toLowerCase().split("+");
|
|
936
|
-
const key = parts.pop() ?? "";
|
|
937
|
-
return { mod: parts.includes("mod"), shift: parts.includes("shift"), alt: parts.includes("alt"), key };
|
|
938
|
-
}
|
|
939
|
-
function formatTapShortcut(shortcut) {
|
|
940
|
-
const p = parseShortcut(shortcut);
|
|
941
|
-
const key = p.key.length === 1 ? p.key.toUpperCase() : p.key[0].toUpperCase() + p.key.slice(1);
|
|
942
|
-
if (IS_APPLE) return `${p.alt ? "\u2325" : ""}${p.shift ? "\u21E7" : ""}${p.mod ? "\u2318" : ""}${key}`;
|
|
943
|
-
return [p.mod && "Ctrl", p.alt && "Alt", p.shift && "Shift", key].filter(Boolean).join("+");
|
|
944
|
-
}
|
|
945
949
|
function isTyping(target) {
|
|
946
950
|
const el = target;
|
|
947
951
|
return !!el && (el.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName));
|