@ai-matrx/design-system 0.86.361 → 0.86.362

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 (79) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/carousel.js +5 -5
  3. package/dist/{chunk-ZU2ZODDD.js → chunk-2QFA6CK4.js} +4 -4
  4. package/dist/{chunk-UCEKAKHP.js → chunk-3YTF4MH2.js} +2 -2
  5. package/dist/{chunk-T57DLONB.js → chunk-AKSKVT2M.js} +17 -9
  6. package/dist/chunk-AKSKVT2M.js.map +1 -0
  7. package/dist/{chunk-LU75R6YX.js → chunk-KOUHF4JC.js} +2 -2
  8. package/dist/{chunk-HISATFYI.js → chunk-LS3C7IUV.js} +2 -2
  9. package/dist/{chunk-QK7GPIEA.js → chunk-QJ6SQNXD.js} +4 -4
  10. package/dist/{chunk-TSETPQWU.js → chunk-RO5CRIOL.js} +2 -2
  11. package/dist/{chunk-WHERV3VC.js → chunk-SOCDBDFS.js} +4 -4
  12. package/dist/{chunk-C5HYUXR2.js → chunk-UGUVTE77.js} +2 -2
  13. package/dist/{chunk-FF524V6P.js → chunk-VOLSYNJY.js} +3 -3
  14. package/dist/{chunk-WOA6WHV2.js → chunk-WLKHQGX5.js} +2 -2
  15. package/dist/{chunk-42GFQMLA.js → chunk-WUI5OFCH.js} +2 -2
  16. package/dist/clipboard-fallback-dialog.js +2 -2
  17. package/dist/controls.cjs +16 -8
  18. package/dist/controls.cjs.map +1 -1
  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.cjs +858 -772
  23. package/dist/data-table/index.cjs.map +1 -1
  24. package/dist/data-table/index.js +541 -461
  25. package/dist/data-table/index.js.map +1 -1
  26. package/dist/data-table/pagination.cjs +16 -8
  27. package/dist/data-table/pagination.cjs.map +1 -1
  28. package/dist/data-table/pagination.js +3 -3
  29. package/dist/data-table/uuid-cell.js +3 -3
  30. package/dist/desktop.cjs +16 -8
  31. package/dist/desktop.cjs.map +1 -1
  32. package/dist/desktop.js +5 -5
  33. package/dist/index.cjs +20 -12
  34. package/dist/index.cjs.map +1 -1
  35. package/dist/index.d.cts +5 -0
  36. package/dist/index.d.ts +5 -0
  37. package/dist/index.js +11 -11
  38. package/dist/index.js.map +1 -1
  39. package/dist/intro-stage.cjs +24 -3
  40. package/dist/intro-stage.cjs.map +1 -1
  41. package/dist/intro-stage.d.cts +9 -3
  42. package/dist/intro-stage.d.ts +9 -3
  43. package/dist/intro-stage.js +24 -3
  44. package/dist/intro-stage.js.map +1 -1
  45. package/dist/item.cjs +16 -8
  46. package/dist/item.cjs.map +1 -1
  47. package/dist/item.js +4 -4
  48. package/dist/lite-table.js +2 -2
  49. package/dist/menu-look.cjs +16 -8
  50. package/dist/menu-look.cjs.map +1 -1
  51. package/dist/menu-look.js +2 -2
  52. package/dist/record-list.cjs +16 -8
  53. package/dist/record-list.cjs.map +1 -1
  54. package/dist/record-list.js +4 -4
  55. package/dist/settings.js +3 -3
  56. package/dist/styles.css +18 -0
  57. package/dist/thumbnail-grid.cjs +27 -1
  58. package/dist/thumbnail-grid.cjs.map +1 -1
  59. package/dist/thumbnail-grid.d.cts +16 -2
  60. package/dist/thumbnail-grid.d.ts +16 -2
  61. package/dist/thumbnail-grid.js +27 -1
  62. package/dist/thumbnail-grid.js.map +1 -1
  63. package/dist/writing-field.cjs +3 -2
  64. package/dist/writing-field.cjs.map +1 -1
  65. package/dist/writing-field.js +6 -5
  66. package/dist/writing-field.js.map +1 -1
  67. package/package.json +2 -2
  68. package/dist/chunk-T57DLONB.js.map +0 -1
  69. /package/dist/{chunk-ZU2ZODDD.js.map → chunk-2QFA6CK4.js.map} +0 -0
  70. /package/dist/{chunk-UCEKAKHP.js.map → chunk-3YTF4MH2.js.map} +0 -0
  71. /package/dist/{chunk-LU75R6YX.js.map → chunk-KOUHF4JC.js.map} +0 -0
  72. /package/dist/{chunk-HISATFYI.js.map → chunk-LS3C7IUV.js.map} +0 -0
  73. /package/dist/{chunk-QK7GPIEA.js.map → chunk-QJ6SQNXD.js.map} +0 -0
  74. /package/dist/{chunk-TSETPQWU.js.map → chunk-RO5CRIOL.js.map} +0 -0
  75. /package/dist/{chunk-WHERV3VC.js.map → chunk-SOCDBDFS.js.map} +0 -0
  76. /package/dist/{chunk-C5HYUXR2.js.map → chunk-UGUVTE77.js.map} +0 -0
  77. /package/dist/{chunk-FF524V6P.js.map → chunk-VOLSYNJY.js.map} +0 -0
  78. /package/dist/{chunk-WOA6WHV2.js.map → chunk-WLKHQGX5.js.map} +0 -0
  79. /package/dist/{chunk-42GFQMLA.js.map → chunk-WUI5OFCH.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -3448,6 +3448,11 @@ interface PeekCode {
3448
3448
  language?: string;
3449
3449
  /** Where it comes from ("src/app.ts · 12–30"). */
3450
3450
  caption?: string;
3451
+ /**
3452
+ * A deliberate raw view (an AI run's exact request and response): kind markers in it are the data itself,
3453
+ * so the block is marked `data-kind-source="explicit"` and the kind-leak sentinel leaves it alone.
3454
+ */
3455
+ raw?: boolean;
3451
3456
  }
3452
3457
  /** A labeled block: running text, tags, a list of child rows, code — or several. */
3453
3458
  interface PeekSection {
package/dist/index.d.ts CHANGED
@@ -3448,6 +3448,11 @@ interface PeekCode {
3448
3448
  language?: string;
3449
3449
  /** Where it comes from ("src/app.ts · 12–30"). */
3450
3450
  caption?: string;
3451
+ /**
3452
+ * A deliberate raw view (an AI run's exact request and response): kind markers in it are the data itself,
3453
+ * so the block is marked `data-kind-source="explicit"` and the kind-leak sentinel leaves it alone.
3454
+ */
3455
+ raw?: boolean;
3451
3456
  }
3452
3457
  /** A labeled block: running text, tags, a list of child rows, code — or several. */
3453
3458
  interface PeekSection {
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ import {
25
25
  matchesOrganizationQuery,
26
26
  orderOrganizationsForPicker,
27
27
  organizationColor
28
- } from "./chunk-QK7GPIEA.js";
28
+ } from "./chunk-QJ6SQNXD.js";
29
29
  import {
30
30
  EditableLabel
31
31
  } from "./chunk-J6637L6D.js";
@@ -50,7 +50,7 @@ import {
50
50
  countReadState,
51
51
  indicatorText,
52
52
  unavailableCountLabel
53
- } from "./chunk-FF524V6P.js";
53
+ } from "./chunk-VOLSYNJY.js";
54
54
  import {
55
55
  Collapsible,
56
56
  CollapsibleContent,
@@ -68,7 +68,7 @@ import {
68
68
  resolveSiteIcon,
69
69
  siteHostname
70
70
  } from "./chunk-ZCRPESQX.js";
71
- import "./chunk-42GFQMLA.js";
71
+ import "./chunk-WUI5OFCH.js";
72
72
  import {
73
73
  ContextMenu,
74
74
  ContextMenuCheckboxItem,
@@ -137,7 +137,7 @@ import {
137
137
  EmptyState,
138
138
  RowGroup,
139
139
  Tile
140
- } from "./chunk-WOA6WHV2.js";
140
+ } from "./chunk-WLKHQGX5.js";
141
141
  import {
142
142
  Drawer,
143
143
  DrawerBody,
@@ -284,7 +284,7 @@ import {
284
284
  TableHeader,
285
285
  TableRow,
286
286
  useTableSize
287
- } from "./chunk-UCEKAKHP.js";
287
+ } from "./chunk-3YTF4MH2.js";
288
288
  import {
289
289
  getTapTargetLinkComponent,
290
290
  setTapTargetLinkComponent
@@ -302,14 +302,14 @@ import {
302
302
  RecordId,
303
303
  displayId,
304
304
  isRecordUuid
305
- } from "./chunk-TSETPQWU.js";
305
+ } from "./chunk-RO5CRIOL.js";
306
306
  import {
307
307
  Badge,
308
308
  Button as Button2,
309
309
  Chip,
310
310
  ChipSet,
311
311
  Switch
312
- } from "./chunk-LU75R6YX.js";
312
+ } from "./chunk-KOUHF4JC.js";
313
313
  import {
314
314
  BasicTextarea,
315
315
  Textarea,
@@ -342,7 +342,7 @@ import {
342
342
  DropdownMenuSubContent,
343
343
  DropdownMenuSubTrigger,
344
344
  DropdownMenuTrigger
345
- } from "./chunk-T57DLONB.js";
345
+ } from "./chunk-AKSKVT2M.js";
346
346
  import {
347
347
  useScrollFade
348
348
  } from "./chunk-BNXNIN2S.js";
@@ -3068,8 +3068,8 @@ function PeekCardRows({ rows, numbered = false, limit }) {
3068
3068
  rest > 0 ? /* @__PURE__ */ jsx19("li", { className: "type-meta text-muted-foreground", children: `+${rest} more` }) : null
3069
3069
  ] });
3070
3070
  }
3071
- function PeekCardCode({ text, language, caption }) {
3072
- return /* @__PURE__ */ jsxs9("figure", { "data-matrx-peek-code": "", className: "flex min-w-0 flex-col overflow-hidden rounded-md border border-border bg-muted", children: [
3071
+ function PeekCardCode({ text, language, caption, raw }) {
3072
+ return /* @__PURE__ */ jsxs9("figure", { "data-matrx-peek-code": "", "data-kind-source": raw ? "explicit" : void 0, className: "flex min-w-0 flex-col overflow-hidden rounded-md border border-border bg-muted", children: [
3073
3073
  language || caption ? /* @__PURE__ */ jsxs9("figcaption", { className: "type-meta flex min-w-0 items-center gap-2 border-b border-border px-2 py-1 text-muted-foreground", children: [
3074
3074
  caption ? /* @__PURE__ */ jsx19("span", { className: "min-w-0 flex-1 truncate font-mono", title: caption, children: caption }) : /* @__PURE__ */ jsx19("span", { className: "flex-1" }),
3075
3075
  language ? /* @__PURE__ */ jsx19("span", { className: "shrink-0", children: language }) : null
@@ -3788,7 +3788,7 @@ function Block({ block }) {
3788
3788
  }))
3789
3789
  }
3790
3790
  ) : null,
3791
- block.code ? /* @__PURE__ */ jsx20(PeekCardCode, { text: block.code.text, language: block.code.language, caption: block.code.caption }) : null,
3791
+ block.code ? /* @__PURE__ */ jsx20(PeekCardCode, { text: block.code.text, language: block.code.language, caption: block.code.caption, raw: block.code.raw }) : null,
3792
3792
  /* @__PURE__ */ jsx20(InputPreview, { section: block }),
3793
3793
  block.token ? /* @__PURE__ */ jsx20(TokenChip, { token: block.token }) : null,
3794
3794
  block.links?.length ? /* @__PURE__ */ jsx20("ul", { className: "flex flex-col gap-0.5", children: block.links.map((link, i) => /* @__PURE__ */ jsx20("li", { className: "type-secondary min-w-0 truncate", children: /* @__PURE__ */ jsx20(Outbound, { href: link.href, children: link.text }) }, `${i}:${link.href}`)) }) : null