@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.
Files changed (60) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/dist/accents.cjs +2 -2
  3. package/dist/accents.cjs.map +1 -1
  4. package/dist/accents.js +2 -2
  5. package/dist/accents.js.map +1 -1
  6. package/dist/carousel.js +5 -5
  7. package/dist/{chunk-SOCDBDFS.js → chunk-2HB65PD6.js} +2 -2
  8. package/dist/{chunk-KOUHF4JC.js → chunk-345ESUIP.js} +4 -4
  9. package/dist/{chunk-LS3C7IUV.js → chunk-ASDPMZNP.js} +2 -2
  10. package/dist/{chunk-WLKHQGX5.js → chunk-CFFRMRWJ.js} +2 -2
  11. package/dist/{chunk-TBWKBTPM.js → chunk-F7IUBABK.js} +3 -3
  12. package/dist/{chunk-3JEAXZKX.js → chunk-FLYZSVTR.js} +2 -2
  13. package/dist/{chunk-UAIBCPMB.js → chunk-RLTTLDWU.js} +4 -4
  14. package/dist/{chunk-VG765KBC.js → chunk-U3SUPYNT.js} +2 -2
  15. package/dist/{chunk-QEQDJBNK.js → chunk-WSEZDHLA.js} +2 -2
  16. package/dist/{chunk-3YTF4MH2.js → chunk-YA3DNAAC.js} +2 -2
  17. package/dist/clipboard-fallback-dialog.js +2 -2
  18. package/dist/controls.css +7 -0
  19. package/dist/controls.js +5 -5
  20. package/dist/data-table/data-row-inspector.js +5 -5
  21. package/dist/data-table/data-row-window.js +6 -6
  22. package/dist/data-table/index.js +8 -8
  23. package/dist/data-table/pagination.js +3 -3
  24. package/dist/data-table/uuid-cell.js +3 -3
  25. package/dist/desktop.js +4 -4
  26. package/dist/index.cjs +20 -12
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +9 -4
  29. package/dist/index.d.ts +9 -4
  30. package/dist/index.js +27 -19
  31. package/dist/index.js.map +1 -1
  32. package/dist/item.js +3 -3
  33. package/dist/lite-table.js +2 -2
  34. package/dist/record-list.js +3 -3
  35. package/dist/settings.js +3 -3
  36. package/dist/swipe-deck-tree.cjs +238 -0
  37. package/dist/swipe-deck-tree.cjs.map +1 -0
  38. package/dist/swipe-deck-tree.d.cts +202 -0
  39. package/dist/swipe-deck-tree.d.ts +202 -0
  40. package/dist/swipe-deck-tree.js +208 -0
  41. package/dist/swipe-deck-tree.js.map +1 -0
  42. package/dist/swipe-deck.cjs.map +1 -1
  43. package/dist/swipe-deck.d.cts +5 -0
  44. package/dist/swipe-deck.d.ts +5 -0
  45. package/dist/swipe-deck.js.map +1 -1
  46. package/dist/text-input-dialog.js +1 -1
  47. package/dist/tokens.css +23 -23
  48. package/dist/web-theme.css +20 -20
  49. package/dist/writing-field.js +3 -3
  50. package/package.json +12 -2
  51. /package/dist/{chunk-SOCDBDFS.js.map → chunk-2HB65PD6.js.map} +0 -0
  52. /package/dist/{chunk-KOUHF4JC.js.map → chunk-345ESUIP.js.map} +0 -0
  53. /package/dist/{chunk-LS3C7IUV.js.map → chunk-ASDPMZNP.js.map} +0 -0
  54. /package/dist/{chunk-WLKHQGX5.js.map → chunk-CFFRMRWJ.js.map} +0 -0
  55. /package/dist/{chunk-TBWKBTPM.js.map → chunk-F7IUBABK.js.map} +0 -0
  56. /package/dist/{chunk-3JEAXZKX.js.map → chunk-FLYZSVTR.js.map} +0 -0
  57. /package/dist/{chunk-UAIBCPMB.js.map → chunk-RLTTLDWU.js.map} +0 -0
  58. /package/dist/{chunk-VG765KBC.js.map → chunk-U3SUPYNT.js.map} +0 -0
  59. /package/dist/{chunk-QEQDJBNK.js.map → chunk-WSEZDHLA.js.map} +0 -0
  60. /package/dist/{chunk-3YTF4MH2.js.map → chunk-YA3DNAAC.js.map} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  DEFAULT_TABLE_PAGE_SIZES,
7
7
  GenericTablePagination
8
- } from "../chunk-LS3C7IUV.js";
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-WLKHQGX5.js";
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-QEQDJBNK.js";
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-UAIBCPMB.js";
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-3YTF4MH2.js";
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-3JEAXZKX.js";
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-KOUHF4JC.js";
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-LS3C7IUV.js";
6
- import "../chunk-KOUHF4JC.js";
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-3JEAXZKX.js";
7
- import "../chunk-KOUHF4JC.js";
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-TBWKBTPM.js";
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-WLKHQGX5.js";
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-KOUHF4JC.js";
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 /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
13319
- "button",
13320
- {
13321
- type: "button",
13322
- className: "max-w-full truncate text-left text-primary underline-offset-2 hover:underline",
13323
- onClick: (event) => {
13324
- event.stopPropagation();
13325
- onSelect();
13326
- },
13327
- children
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: 6 } : null
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 }) {