@ai-matrx/design-system 0.86.368 → 0.86.369
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 +12 -2
- package/dist/accents.cjs +2 -2
- package/dist/accents.cjs.map +1 -1
- package/dist/accents.js +2 -2
- package/dist/accents.js.map +1 -1
- package/dist/carousel.js +5 -5
- package/dist/{chunk-SOCDBDFS.js → chunk-2HB65PD6.js} +2 -2
- package/dist/{chunk-KOUHF4JC.js → chunk-345ESUIP.js} +4 -4
- package/dist/{chunk-LS3C7IUV.js → chunk-ASDPMZNP.js} +2 -2
- package/dist/{chunk-WLKHQGX5.js → chunk-CFFRMRWJ.js} +2 -2
- package/dist/{chunk-TBWKBTPM.js → chunk-F7IUBABK.js} +3 -3
- package/dist/{chunk-3JEAXZKX.js → chunk-FLYZSVTR.js} +2 -2
- package/dist/{chunk-UAIBCPMB.js → chunk-RLTTLDWU.js} +4 -4
- package/dist/{chunk-VG765KBC.js → chunk-U3SUPYNT.js} +2 -2
- package/dist/{chunk-QEQDJBNK.js → chunk-WSEZDHLA.js} +2 -2
- package/dist/{chunk-3YTF4MH2.js → chunk-YA3DNAAC.js} +2 -2
- package/dist/clipboard-fallback-dialog.js +2 -2
- package/dist/controls.css +7 -0
- package/dist/controls.js +5 -5
- package/dist/data-table/data-row-inspector.js +5 -5
- package/dist/data-table/data-row-window.js +6 -6
- package/dist/data-table/index.js +8 -8
- package/dist/data-table/pagination.js +3 -3
- package/dist/data-table/uuid-cell.js +3 -3
- package/dist/desktop.js +4 -4
- package/dist/index.cjs +20 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +27 -19
- package/dist/index.js.map +1 -1
- package/dist/item.js +3 -3
- package/dist/lite-table.js +2 -2
- package/dist/record-list.js +3 -3
- package/dist/settings.js +3 -3
- package/dist/swipe-deck-tree.cjs +238 -0
- package/dist/swipe-deck-tree.cjs.map +1 -0
- package/dist/swipe-deck-tree.d.cts +202 -0
- package/dist/swipe-deck-tree.d.ts +202 -0
- package/dist/swipe-deck-tree.js +208 -0
- package/dist/swipe-deck-tree.js.map +1 -0
- package/dist/swipe-deck.cjs.map +1 -1
- package/dist/swipe-deck.d.cts +5 -0
- package/dist/swipe-deck.d.ts +5 -0
- package/dist/swipe-deck.js.map +1 -1
- package/dist/text-input-dialog.js +1 -1
- package/dist/tokens.css +23 -23
- package/dist/web-theme.css +20 -20
- package/dist/writing-field.js +3 -3
- package/package.json +12 -2
- /package/dist/{chunk-SOCDBDFS.js.map → chunk-2HB65PD6.js.map} +0 -0
- /package/dist/{chunk-KOUHF4JC.js.map → chunk-345ESUIP.js.map} +0 -0
- /package/dist/{chunk-LS3C7IUV.js.map → chunk-ASDPMZNP.js.map} +0 -0
- /package/dist/{chunk-WLKHQGX5.js.map → chunk-CFFRMRWJ.js.map} +0 -0
- /package/dist/{chunk-TBWKBTPM.js.map → chunk-F7IUBABK.js.map} +0 -0
- /package/dist/{chunk-3JEAXZKX.js.map → chunk-FLYZSVTR.js.map} +0 -0
- /package/dist/{chunk-UAIBCPMB.js.map → chunk-RLTTLDWU.js.map} +0 -0
- /package/dist/{chunk-VG765KBC.js.map → chunk-U3SUPYNT.js.map} +0 -0
- /package/dist/{chunk-QEQDJBNK.js.map → chunk-WSEZDHLA.js.map} +0 -0
- /package/dist/{chunk-3YTF4MH2.js.map → chunk-YA3DNAAC.js.map} +0 -0
package/dist/data-table/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_TABLE_PAGE_SIZES,
|
|
7
7
|
GenericTablePagination
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-ASDPMZNP.js";
|
|
9
9
|
import {
|
|
10
10
|
useScrollPagination
|
|
11
11
|
} from "../chunk-VOFK23MG.js";
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
ConfirmDialog,
|
|
146
146
|
EmptyState,
|
|
147
147
|
Tile
|
|
148
|
-
} from "../chunk-
|
|
148
|
+
} from "../chunk-CFFRMRWJ.js";
|
|
149
149
|
import "../chunk-K4XCB576.js";
|
|
150
150
|
import {
|
|
151
151
|
ErrorBox
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
MacLookLayer,
|
|
172
172
|
useMacLookAttributes,
|
|
173
173
|
withMacLookDefaults
|
|
174
|
-
} from "../chunk-
|
|
174
|
+
} from "../chunk-WSEZDHLA.js";
|
|
175
175
|
import "../chunk-YC5GAO35.js";
|
|
176
176
|
import {
|
|
177
177
|
Checkbox
|
|
@@ -215,7 +215,7 @@ import {
|
|
|
215
215
|
searchValueVariants,
|
|
216
216
|
stringifyCellValue,
|
|
217
217
|
tokenFromColumnName
|
|
218
|
-
} from "../chunk-
|
|
218
|
+
} from "../chunk-RLTTLDWU.js";
|
|
219
219
|
import {
|
|
220
220
|
TIME_RANGE_PRESETS,
|
|
221
221
|
TIME_RANGE_PRESET_VALUES,
|
|
@@ -239,7 +239,7 @@ import {
|
|
|
239
239
|
} from "../chunk-FXT7PZAF.js";
|
|
240
240
|
import {
|
|
241
241
|
PropertyRow
|
|
242
|
-
} from "../chunk-
|
|
242
|
+
} from "../chunk-YA3DNAAC.js";
|
|
243
243
|
import "../chunk-WFBPCMPF.js";
|
|
244
244
|
import "../chunk-KGW373MK.js";
|
|
245
245
|
import {
|
|
@@ -257,7 +257,7 @@ import {
|
|
|
257
257
|
RecordId,
|
|
258
258
|
shortUuid,
|
|
259
259
|
useTableNotice
|
|
260
|
-
} from "../chunk-
|
|
260
|
+
} from "../chunk-FLYZSVTR.js";
|
|
261
261
|
import {
|
|
262
262
|
Badge,
|
|
263
263
|
Button as Button2,
|
|
@@ -266,9 +266,9 @@ import {
|
|
|
266
266
|
SegmentedControl,
|
|
267
267
|
Select as Select2,
|
|
268
268
|
Tabs
|
|
269
|
-
} from "../chunk-
|
|
270
|
-
import "../chunk-BD77DHUO.js";
|
|
269
|
+
} from "../chunk-345ESUIP.js";
|
|
271
270
|
import "../chunk-BKCJUFD3.js";
|
|
271
|
+
import "../chunk-BD77DHUO.js";
|
|
272
272
|
import {
|
|
273
273
|
Tooltip,
|
|
274
274
|
TooltipContent,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_TABLE_PAGE_SIZES,
|
|
4
4
|
GenericTablePagination
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-BD77DHUO.js";
|
|
5
|
+
} from "../chunk-ASDPMZNP.js";
|
|
6
|
+
import "../chunk-345ESUIP.js";
|
|
8
7
|
import "../chunk-BKCJUFD3.js";
|
|
8
|
+
import "../chunk-BD77DHUO.js";
|
|
9
9
|
import "../chunk-PIQJULQB.js";
|
|
10
10
|
import "../chunk-MOZRIHJF.js";
|
|
11
11
|
import "../chunk-AKSKVT2M.js";
|
|
@@ -3,10 +3,10 @@ import "../chunk-QFP4BUKZ.js";
|
|
|
3
3
|
import {
|
|
4
4
|
RecordId,
|
|
5
5
|
shortUuid
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-BD77DHUO.js";
|
|
6
|
+
} from "../chunk-FLYZSVTR.js";
|
|
7
|
+
import "../chunk-345ESUIP.js";
|
|
9
8
|
import "../chunk-BKCJUFD3.js";
|
|
9
|
+
import "../chunk-BD77DHUO.js";
|
|
10
10
|
import "../chunk-PIQJULQB.js";
|
|
11
11
|
import "../chunk-MOZRIHJF.js";
|
|
12
12
|
import "../chunk-AKSKVT2M.js";
|
package/dist/desktop.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
matchesOrganizationQuery,
|
|
20
20
|
orderOrganizationsForPicker,
|
|
21
21
|
organizationColor
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-F7IUBABK.js";
|
|
23
23
|
import {
|
|
24
24
|
Collapsible,
|
|
25
25
|
CollapsibleContent,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
import "./chunk-VQQ3O7J5.js";
|
|
42
42
|
import {
|
|
43
43
|
Tile
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CFFRMRWJ.js";
|
|
45
45
|
import "./chunk-FEITX4L3.js";
|
|
46
46
|
import {
|
|
47
47
|
Skeleton
|
|
@@ -71,9 +71,9 @@ import {
|
|
|
71
71
|
} from "./chunk-OPF265PU.js";
|
|
72
72
|
import {
|
|
73
73
|
Button
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import "./chunk-BD77DHUO.js";
|
|
74
|
+
} from "./chunk-345ESUIP.js";
|
|
76
75
|
import "./chunk-BKCJUFD3.js";
|
|
76
|
+
import "./chunk-BD77DHUO.js";
|
|
77
77
|
import {
|
|
78
78
|
Tooltip,
|
|
79
79
|
TooltipContent,
|
package/dist/index.cjs
CHANGED
|
@@ -4807,6 +4807,7 @@ __export(src_exports, {
|
|
|
4807
4807
|
sheetVariants: () => sheetVariants,
|
|
4808
4808
|
sidebarMenuButtonVariants: () => sidebarMenuButtonVariants,
|
|
4809
4809
|
siteHostname: () => siteHostname,
|
|
4810
|
+
smsBodyHref: () => smsBodyHref,
|
|
4810
4811
|
smsHref: () => smsHref,
|
|
4811
4812
|
startPointerDrag: () => startPointerDrag,
|
|
4812
4813
|
stepLines: () => stepLines,
|
|
@@ -13315,17 +13316,20 @@ function RowLink({ href, children }) {
|
|
|
13315
13316
|
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("a", { href, className, onClick: stop, children });
|
|
13316
13317
|
}
|
|
13317
13318
|
function RowAction({ onSelect, children }) {
|
|
13318
|
-
return
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
|
|
13323
|
-
|
|
13324
|
-
|
|
13325
|
-
|
|
13326
|
-
|
|
13327
|
-
|
|
13328
|
-
|
|
13319
|
+
return (
|
|
13320
|
+
// ui-exception: the row's own text that runs an action in place — it keeps the row's line and truncation, which the 28px Button box would not
|
|
13321
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
13322
|
+
"button",
|
|
13323
|
+
{
|
|
13324
|
+
type: "button",
|
|
13325
|
+
className: "max-w-full truncate text-left text-primary underline-offset-2 hover:underline",
|
|
13326
|
+
onClick: (event) => {
|
|
13327
|
+
event.stopPropagation();
|
|
13328
|
+
onSelect();
|
|
13329
|
+
},
|
|
13330
|
+
children
|
|
13331
|
+
}
|
|
13332
|
+
)
|
|
13329
13333
|
);
|
|
13330
13334
|
}
|
|
13331
13335
|
function PeekCardRows({ rows, numbered = false, limit }) {
|
|
@@ -14409,6 +14413,10 @@ function telHref(phone) {
|
|
|
14409
14413
|
function smsHref(phone) {
|
|
14410
14414
|
return `sms:${phone.e164 ?? phone.raw.replace(/[^\d+]/g, "")}`;
|
|
14411
14415
|
}
|
|
14416
|
+
function smsBodyHref(body, phone) {
|
|
14417
|
+
const to = phone ? phone.e164 ?? phone.raw.replace(/[^\d+]/g, "") : "";
|
|
14418
|
+
return `sms:${to}?&body=${encodeURIComponent(body)}`;
|
|
14419
|
+
}
|
|
14412
14420
|
function addressText(address) {
|
|
14413
14421
|
const parts = typeof address === "string" ? address.split(/\n+/) : address;
|
|
14414
14422
|
return parts.map((p) => (p ?? "").trim()).filter(Boolean).join(", ");
|
|
@@ -14558,7 +14566,7 @@ function useSearchRow(query, open) {
|
|
|
14558
14566
|
return {
|
|
14559
14567
|
// With the answer on the card, the press is for everything else the web has.
|
|
14560
14568
|
row: { text: answerText ? "Full search results" : "Search the web", glyph: SearchIcon, onSelect: () => searchWeb(query), ...tag ? { status: tag } : {} },
|
|
14561
|
-
answer: answerText ? { section: "From the web", glyph: SearchIcon, text: answerText, markdown: true, clamp:
|
|
14569
|
+
answer: answerText ? { section: "From the web", glyph: SearchIcon, text: answerText, markdown: true, clamp: 4 } : null
|
|
14562
14570
|
};
|
|
14563
14571
|
}
|
|
14564
14572
|
function withSearchRow(record, { row, answer }) {
|