@mechane-ai/elements 0.39.0 → 0.41.0

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 (110) hide show
  1. package/NOTICE +11 -19
  2. package/README.md +49 -25
  3. package/dist/accessibility-P89UG9-r.js +25 -0
  4. package/dist/agent.js +1 -0
  5. package/dist/ai.js +50 -44
  6. package/dist/{categorical-values-BECG-J6R.js → categorical-values-DnGR_pQx.js} +3 -3
  7. package/dist/{chart-frame-CJFnI39T.js → chart-frame-BsyI1Zc8.js} +58 -57
  8. package/dist/{chart-input-DwAobO8Y.js → chart-input-r4S3-QCT.js} +2 -2
  9. package/dist/chart-navigation-D7OkLdSx.js +119 -0
  10. package/dist/charts/cartesian.js +560 -583
  11. package/dist/charts/distribution.js +218 -218
  12. package/dist/charts/graph.js +86 -85
  13. package/dist/charts/hierarchy.js +4 -4
  14. package/dist/charts/matrix.js +148 -147
  15. package/dist/charts/timeline.js +77 -76
  16. package/dist/charts.js +2 -2
  17. package/dist/code-block-C4K1sM9O.js +255 -0
  18. package/dist/collections.js +828 -607
  19. package/dist/constants.stylex-BILvnwUk.js +84 -0
  20. package/dist/content/code.js +1 -1
  21. package/dist/content/diff.js +3 -3
  22. package/dist/content/link.js +1 -1
  23. package/dist/content/markdown.js +2 -2
  24. package/dist/content/tree.js +184 -77
  25. package/dist/{content-link-B3ObdyZY.js → content-link-CBDqSvgP.js} +1 -1
  26. package/dist/content.js +1 -1
  27. package/dist/control-styles-D3q_Qyxi.js +179 -0
  28. package/dist/csp.js +14 -1
  29. package/dist/feedback.js +1 -1
  30. package/dist/forms/dates.js +359 -245
  31. package/dist/forms-I-WMHTkr.js +139 -0
  32. package/dist/forms.js +3 -3
  33. package/dist/index.js +1 -1
  34. package/dist/layout.js +271 -241
  35. package/dist/navigation/commands.js +87 -76
  36. package/dist/{navigation-D2_sGy3C.js → navigation-CveMIuXI.js} +1 -1
  37. package/dist/navigation.js +2 -2
  38. package/dist/overlays.js +1 -1
  39. package/dist/packages/ai/src/message-action.d.ts +1 -1
  40. package/dist/packages/charts/src/chart-navigation.d.ts +18 -2
  41. package/dist/packages/charts/src/chart-surface.d.ts +23 -0
  42. package/dist/packages/charts/src/distribution/distribution-plot.d.ts +3 -2
  43. package/dist/packages/collections/src/data-table.d.ts +7 -2
  44. package/dist/packages/collections/src/index.d.ts +4 -1
  45. package/dist/packages/collections/src/query-controls.d.ts +18 -0
  46. package/dist/packages/collections/src/table-query.d.ts +64 -0
  47. package/dist/packages/collections/src/use-collection-controls.d.ts +3 -8
  48. package/dist/packages/content/src/pierre-theme.d.ts +0 -1
  49. package/dist/packages/core/src/actions.d.ts +15 -13
  50. package/dist/packages/core/src/copy-value.d.ts +3 -2
  51. package/dist/packages/core/src/disclosure.d.ts +14 -11
  52. package/dist/packages/feedback/src/notifications.d.ts +15 -15
  53. package/dist/packages/feedback/src/toast.d.ts +9 -3
  54. package/dist/packages/forms/src/combobox.d.ts +31 -41
  55. package/dist/packages/forms/src/dates/event-month.d.ts +17 -0
  56. package/dist/packages/forms/src/dates/index.d.ts +2 -0
  57. package/dist/packages/forms/src/field-styles.d.ts +0 -19
  58. package/dist/packages/forms/src/form-controls.d.ts +26 -24
  59. package/dist/packages/forms/src/forms.d.ts +17 -14
  60. package/dist/packages/forms/src/select-control.d.ts +6 -4
  61. package/dist/packages/forms/src/select.d.ts +14 -18
  62. package/dist/packages/forms/src/selection-state.d.ts +11 -0
  63. package/dist/packages/forms/src/selection-styles.d.ts +3 -0
  64. package/dist/packages/forms/src/selection.d.ts +21 -19
  65. package/dist/packages/foundations/src/agent/index.d.ts +2 -0
  66. package/dist/packages/foundations/src/control-state.d.ts +2 -3
  67. package/dist/packages/foundations/src/control-styles.d.ts +19 -0
  68. package/dist/packages/foundations/src/csp/index.d.ts +1 -1
  69. package/dist/packages/foundations/src/csp/provider.d.ts +3 -0
  70. package/dist/packages/foundations/src/style-composition.d.ts +4 -1
  71. package/dist/packages/layout/src/app-shell.d.ts +12 -1
  72. package/dist/packages/layout/src/index.d.ts +1 -1
  73. package/dist/packages/layout/src/navigation-rail.d.ts +15 -2
  74. package/dist/packages/layout/src/resizable.d.ts +2 -2
  75. package/dist/packages/layout/src/sidebar.d.ts +4 -3
  76. package/dist/packages/navigation/src/tab-styles.d.ts +1 -1
  77. package/dist/packages/navigation/src/tabs.d.ts +12 -10
  78. package/dist/packages/overlays/src/alert-dialog.d.ts +19 -13
  79. package/dist/packages/overlays/src/dialog.d.ts +39 -24
  80. package/dist/packages/overlays/src/drawer.d.ts +16 -26
  81. package/dist/packages/overlays/src/menu.d.ts +37 -44
  82. package/dist/packages/overlays/src/overlay-root.d.ts +10 -0
  83. package/dist/packages/overlays/src/popover.d.ts +11 -20
  84. package/dist/packages/overlays/src/preview.d.ts +6 -13
  85. package/dist/packages/overlays/src/tooltip.d.ts +12 -15
  86. package/dist/{pierre-diff-CaPsfQRo.js → pierre-diff-DJ3oOfPX.js} +5 -5
  87. package/dist/{src-DPRmO-JY.js → src-CNV1ewzb.js} +379 -407
  88. package/dist/{src-CSWIG_op.js → src-CQQvXi7a.js} +58 -81
  89. package/dist/{src-DWjAoOyd.js → src-D2OHco8V.js} +42 -41
  90. package/dist/src-DfOAlAd2.js +750 -0
  91. package/dist/src-na2DdkKI.js +561 -0
  92. package/dist/{src-C-Sx37kz.js → src-s3tWwnN4.js} +361 -518
  93. package/dist/styles.js +3 -0
  94. package/dist/{elements.css → styles2.css} +195 -97
  95. package/dist/tokens.js +3 -1
  96. package/dist/{tokens.stylex-CJbIDPB9.js → tokens.stylex-dF5CACEJ.js} +13 -93
  97. package/package.json +8 -9
  98. package/skills/elements-workspace/SKILL.md +12 -0
  99. package/dist/accessibility-C-aIZ1Yx.js +0 -15
  100. package/dist/chart-navigation-CBIeNtJq.js +0 -67
  101. package/dist/code-block-aC0Htt4N.js +0 -184
  102. package/dist/forms-BQQFas9g.js +0 -118
  103. package/dist/foundations.css +0 -7
  104. package/dist/packages/content/src/tree/pierre-tree.d.ts +0 -3
  105. package/dist/pierre-theme-BpNaWn1x.js +0 -126
  106. package/dist/pierre-tree-CYCRjdGG.js +0 -106
  107. package/dist/src-d7EAi61b.js +0 -617
  108. package/dist/src-nkgFDl-g.js +0 -1171
  109. package/dist/style-composition-uYlczSsB.js +0 -9
  110. package/styles.css +0 -2
@@ -0,0 +1,84 @@
1
+ import "@stylexjs/stylex";
2
+ // packages/foundations/src/constants.stylex.ts
3
+ var e = {
4
+ canvas: "#191919",
5
+ surface: "#101010",
6
+ ink: "#f2f2f2",
7
+ inkHover: "#d6d6d6",
8
+ inverse: "#0a0a0a",
9
+ muted: "#b0b0b0",
10
+ faint: "#777777",
11
+ line: "#303030",
12
+ focus: "#79b3ff",
13
+ accent: "#8ed3b3",
14
+ accentSoft: "#152b22",
15
+ warning: "#edc479",
16
+ warningSoft: "#302511",
17
+ danger: "#f59696",
18
+ dangerHover: "#ffc3c3",
19
+ dangerSoft: "#321c1c",
20
+ overlay: "#00000099"
21
+ }, t = {
22
+ series1: "#86a9d3",
23
+ series2: "#83b69f",
24
+ series3: "#b49bce",
25
+ series4: "#cfad70",
26
+ series5: "#80bbc0",
27
+ series6: "#d39aad",
28
+ negative: "#e0929b",
29
+ positive: "#80add0",
30
+ missing: "#363636"
31
+ }, n = {
32
+ identity1: "#f07d75",
33
+ identity2: "#f09a75",
34
+ identity3: "#f07598",
35
+ identity4: "#f075bb",
36
+ identity5: "#f075e6",
37
+ identity6: "#d375f0",
38
+ identity7: "#b375f0",
39
+ identity8: "#9275f0",
40
+ identity9: "#7575f0",
41
+ identity10: "#7596f0",
42
+ identity11: "#75b3f0",
43
+ identity12: "#75cff0",
44
+ identity13: "#75e8f0",
45
+ identity14: "#75f0e3",
46
+ identity15: "#75f0cd",
47
+ identity16: "#75f0b5",
48
+ identity17: "#75f09c",
49
+ identity18: "#75f080",
50
+ identity19: "#8cf075",
51
+ identity20: "#b0f075",
52
+ identity21: "#d7f075",
53
+ identity22: "#f0e175",
54
+ identity23: "#f0c375",
55
+ identity24: "#f0a875"
56
+ }, r = {
57
+ keyword: "#c4a1e5",
58
+ string: "#8ed3b3",
59
+ comment: "#a3a3a3",
60
+ number: "#edc479",
61
+ type: "#84bce3"
62
+ }, i = {
63
+ delaySeconds: 2,
64
+ revealMs: 80,
65
+ imageRevealMs: 200,
66
+ placeholderMs: 120
67
+ }, a = { popup: "0 4px 16px #00000066" }, o = {
68
+ sticky: "1",
69
+ backdrop: "20",
70
+ dialog: "21",
71
+ popup: "30",
72
+ tooltip: "40",
73
+ skipLink: "50"
74
+ }, s = {
75
+ rowHeight: 48,
76
+ headerHeight: 36
77
+ }, c = {
78
+ coarsePointer: "@media (pointer: coarse)",
79
+ hoverPointer: "@media (hover: hover) and (pointer: fine)",
80
+ compactText: "@media (max-width:639px)",
81
+ compactTable: "@media (max-width:600px)",
82
+ reducedMotion: "@media (prefers-reduced-motion: reduce)"
83
+ };
84
+ export { a, i as c, e as i, s as l, n, r as o, t as r, o as s, c as t };
@@ -1 +1 @@
1
- export { t as CodeBlock } from "../code-block-aC0Htt4N.js";
1
+ export { t as CodeBlock } from "../code-block-C4K1sM9O.js";
@@ -1,5 +1,5 @@
1
- import { D as e, _ as t, v as n } from "../src-C-Sx37kz.js";
2
- import { t as r } from "../code-block-aC0Htt4N.js";
1
+ import { D as e, _ as t, v as n } from "../src-s3tWwnN4.js";
2
+ import { t as r } from "../code-block-C4K1sM9O.js";
3
3
  import { t as i } from "../viewer-styles-DsFYri4K.js";
4
4
  import * as a from "@stylexjs/stylex";
5
5
  import { useEffect as o, useState as s } from "react";
@@ -44,7 +44,7 @@ function m(t) {
44
44
  let e = !0;
45
45
  async function t() {
46
46
  if (!A) try {
47
- let t = await import("../pierre-diff-CaPsfQRo.js"), n = t.prepareDiff(x);
47
+ let t = await import("../pierre-diff-DJ3oOfPX.js"), n = t.prepareDiff(x);
48
48
  e && w({
49
49
  source: x,
50
50
  Component: t.PierreDiff,
@@ -1 +1 @@
1
- export { t as ContentLink } from "../content-link-B3ObdyZY.js";
1
+ export { t as ContentLink } from "../content-link-CBDqSvgP.js";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "../use-scroll-tab-index-Dxpdh4W7.js";
2
2
  import { t } from "../visible-motion-1GcUaEi4.js";
3
- import { t as n } from "../code-block-aC0Htt4N.js";
4
- import { n as r, t as i } from "../content-link-B3ObdyZY.js";
3
+ import { t as n } from "../code-block-C4K1sM9O.js";
4
+ import { n as r, t as i } from "../content-link-CBDqSvgP.js";
5
5
  import { t as a } from "../viewer-styles-DsFYri4K.js";
6
6
  import * as o from "@stylexjs/stylex";
7
7
  import { Children as s, createContext as c, createElement as l, memo as u, useContext as d } from "react";
@@ -1,84 +1,191 @@
1
- import { D as e } from "../src-C-Sx37kz.js";
2
- import { t } from "../use-scroll-tab-index-Dxpdh4W7.js";
3
- import { t as n } from "../viewer-styles-DsFYri4K.js";
4
- import * as r from "@stylexjs/stylex";
5
- import { useEffect as i, useState as a } from "react";
6
- import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
1
+ import { c as e } from "../src-s3tWwnN4.js";
2
+ import { n as t } from "../forms-I-WMHTkr.js";
3
+ import { t as n } from "../constants.stylex-BILvnwUk.js";
4
+ import { u as r } from "../tokens.stylex-dF5CACEJ.js";
5
+ import { t as i } from "../viewer-styles-DsFYri4K.js";
6
+ import * as a from "@stylexjs/stylex";
7
+ import { useEffect as o, useId as s, useMemo as c, useRef as l, useState as u } from "react";
8
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
9
+ import { ChevronRight as p, File as m, Folder as h } from "lucide-react";
10
+ import { Tree as g, TreeItem as _, TreeItemIndicator as v, TreeItemLabel as y, treeFromPaths as b, visibleTreeRows as x } from "@ui-sdk/react/tree";
7
11
  // packages/content/src/tree/file-tree.tsx
8
- var l = 200, u = {
9
- kogj98: "x1ghz6dp",
10
- kmVPX3: "x69ldcm",
11
- kH6xsr: "x3ct3a4",
12
- kVQacm: "xysyzu8",
12
+ var S = {
13
+ k7Eaqz: "xeuugli",
14
+ k1xSpc: "x78zum5",
15
+ kXwgrk: "xdt5ytf",
13
16
  $$css: !0
14
- }, d = { paths: (e) => [
15
- u,
16
- {
17
- kskxy: e == null ? e : "x1jols5v",
18
- $$css: !0
19
- },
20
- { "--x-maxHeight": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e) }
21
- ] };
22
- function f(u) {
23
- let f = t(), [p, m] = a({
24
- Component: null,
25
- hasFailed: !1
26
- }), { label: h, paths: g, selectedPaths: _, onSelectedPathsChange: v, height: y = 320 } = u;
27
- return i(() => {
28
- let e = !0;
29
- async function t() {
30
- try {
31
- let t = await import("../pierre-tree-CYCRjdGG.js");
32
- e && m({
33
- Component: t.PierreTree,
34
- hasFailed: !1
35
- });
36
- } catch {
37
- e && m({
38
- Component: null,
39
- hasFailed: !0
40
- });
41
- }
17
+ }, C = {
18
+ k7Eaqz: "xeuugli",
19
+ kVAEAm: "x1n2onr6",
20
+ $$css: !0
21
+ }, w = {
22
+ kVAEAm: "x10l6tqk",
23
+ kkqhue: "x17y0mx6",
24
+ kZCmMZ: "xnvo3vl",
25
+ kwRFfy: "x1fa0jp5",
26
+ k1xSpc: "x78zum5",
27
+ kGNEyG: "x1qjc9v5",
28
+ kkrTdU: "x1ypdohk",
29
+ kWkggS: "x1a2jpx9 xif5pkx",
30
+ kZs9gx: "x19rmrnh",
31
+ k7shQP: "x9v5kkp",
32
+ kPJHz1: "x13qnu6",
33
+ kiEn40: "x1bqaal",
34
+ $$css: !0
35
+ }, T = {
36
+ body: (e) => [
37
+ S,
38
+ {
39
+ kZKoxP: e == null ? e : "x16ye13r",
40
+ $$css: !0
41
+ },
42
+ { "--x-height": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e) }
43
+ ],
44
+ tree: (e) => [
45
+ C,
46
+ {
47
+ kZKoxP: e == null ? e : "x16ye13r",
48
+ $$css: !0
49
+ },
50
+ { "--x-height": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e) }
51
+ ],
52
+ row: (e, t, n) => [
53
+ w,
54
+ {
55
+ k87sOh: e == null ? e : "xjbys53",
56
+ kZKoxP: t == null ? t : "x16ye13r",
57
+ $$css: !0
58
+ },
59
+ {
60
+ "--x-top": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e),
61
+ "--x-height": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(t),
62
+ "--x-paddingInlineStart": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(`calc(${r.sm} + ${n} * ${r.lg})`)
42
63
  }
43
- return t(), () => {
44
- e = !1;
45
- };
46
- }, []), /* @__PURE__ */ c("section", {
47
- "aria-label": h,
48
- ...r.props(n.root),
49
- children: [/* @__PURE__ */ s("div", {
50
- ...r.props(n.header),
51
- children: /* @__PURE__ */ s("span", {
52
- ...r.props(n.label),
53
- children: h
54
- })
55
- }), g.length === 0 ? /* @__PURE__ */ s("p", {
56
- ...r.props(n.note),
57
- children: "No files."
58
- }) : p.Component === null ? /* @__PURE__ */ c(o, { children: [
59
- p.hasFailed && /* @__PURE__ */ s("p", {
60
- ...r.props(n.note),
61
- children: "Tree navigation is unavailable. Select a path below."
62
- }),
63
- /* @__PURE__ */ s("ul", {
64
- ref: f.ref,
65
- "aria-label": `${h} paths`,
66
- tabIndex: f.tabIndex,
67
- ...r.props(n.scrollRegion, d.paths(y)),
68
- children: g.slice(0, l).map((t) => /* @__PURE__ */ s("li", {
69
- className: "x10dazmo xeuugli xj0a0fe",
70
- children: /* @__PURE__ */ s(e, {
71
- "aria-pressed": _.includes(t),
72
- onClick: () => v([t]),
73
- children: t
64
+ ]
65
+ };
66
+ function E(e) {
67
+ let t = /* @__PURE__ */ new Set();
68
+ for (let n of e) for (let e = n.indexOf("/"); e !== -1; e = n.indexOf("/", e + 1)) t.add(n.slice(0, e));
69
+ return [...t];
70
+ }
71
+ function D({ paths: r, label: i, selectedPaths: S, onSelectedPathsChange: C, statuses: w, height: D = 320 }) {
72
+ let O = s(), k = l(null), [A, j] = u(""), [M, N] = u(0), [P, F] = u(32), I = A.trim().toLowerCase(), L = c(() => I.length > 0 ? r.filter((e) => e.toLowerCase().includes(I)) : r, [I, r]), R = c(() => b(L.toSorted()), [L]), [z, B] = u(() => R.filter((e) => e.children !== void 0).map((e) => e.value)), [V, H] = u(() => /* @__PURE__ */ new Set()), U = c(() => I.length > 0 ? E(L) : [], [I, L]), W = c(() => I.length > 0 ? U.filter((e) => !V.has(e)) : z, [
73
+ V,
74
+ I,
75
+ z,
76
+ U
77
+ ]), G = c(() => x(R, W), [R, W]), K = c(() => new Map(w?.map(({ path: e, status: t }) => [e, t])), [w]), q = Math.max(0, Math.floor(M / P) - 4), J = Math.ceil((M + D) / P) + 4;
78
+ o(() => {
79
+ let e = globalThis.matchMedia(n.coarsePointer.slice(7));
80
+ function t() {
81
+ F(e.matches ? 44 : 32);
82
+ }
83
+ return t(), e.addEventListener("change", t), () => e.removeEventListener("change", t);
84
+ }, []);
85
+ function Y(e) {
86
+ j(e), H(/* @__PURE__ */ new Set()), k.current !== null && (k.current.scrollTop = 0), N(0);
87
+ }
88
+ function X(e) {
89
+ let t = k.current;
90
+ if (t === null) return;
91
+ let n = e * P;
92
+ n < t.scrollTop ? t.scrollTop = n : n + P > t.scrollTop + t.clientHeight && (t.scrollTop = n + P - t.clientHeight), N(t.scrollTop);
93
+ }
94
+ function Z(e) {
95
+ if (I.length > 0) {
96
+ let t = new Set(e);
97
+ H(new Set(U.filter((e) => !t.has(e))));
98
+ } else B(e);
99
+ }
100
+ return /* @__PURE__ */ f("div", {
101
+ ...a.props(T.body(D)),
102
+ children: [/* @__PURE__ */ f("div", {
103
+ className: "xn9t2bk x1doqdfy xrvj5dj xunmzkg",
104
+ children: [/* @__PURE__ */ d(t, {
105
+ type: "search",
106
+ "aria-label": `Search ${i}`,
107
+ "aria-controls": R.length > 0 ? O : void 0,
108
+ placeholder: "Search files…",
109
+ value: A,
110
+ onValueChange: Y,
111
+ onKeyDown: (e) => {
112
+ e.key === "Escape" && A.length > 0 && (e.preventDefault(), Y(""));
113
+ }
114
+ }), I.length > 0 && /* @__PURE__ */ d(e, {
115
+ variant: "caption",
116
+ tone: "muted",
117
+ role: "status",
118
+ children: L.length > 0 ? `${L.length} matches` : "No matching files."
119
+ })]
120
+ }), R.length > 0 && /* @__PURE__ */ d("div", {
121
+ ref: k,
122
+ className: "x2lwn1j x98rzlu xysyzu8",
123
+ onScroll: (e) => N(e.currentTarget.scrollTop),
124
+ children: /* @__PURE__ */ d(g, {
125
+ id: O,
126
+ "aria-label": i,
127
+ mode: "multiple",
128
+ items: R,
129
+ expanded: W,
130
+ onExpandedChange: Z,
131
+ value: [...S],
132
+ onValueChange: C,
133
+ onHighlight: (e, { index: t }) => X(t),
134
+ ...a.props(T.tree(G.length * P)),
135
+ children: G.slice(q, J).map(({ item: e, level: t, index: n }) => /* @__PURE__ */ d(_, {
136
+ value: e.value,
137
+ label: e.label,
138
+ branch: e.children !== void 0,
139
+ ...a.props(T.row(n * P, P, t - 1)),
140
+ children: /* @__PURE__ */ f(y, {
141
+ className: "xeuugli xh8yej3 x78zum5 x6s0dn4 xunmzkg",
142
+ children: [
143
+ e.children !== void 0 && /* @__PURE__ */ d(v, {
144
+ className: "x2lah0s x3nfvp2 x1dvy3gv",
145
+ children: /* @__PURE__ */ d(p, {
146
+ size: 14,
147
+ "aria-hidden": !0
148
+ })
149
+ }),
150
+ e.children === void 0 ? /* @__PURE__ */ d(m, {
151
+ size: 14,
152
+ "aria-hidden": !0,
153
+ className: "x2lah0s x153jb6y"
154
+ }) : /* @__PURE__ */ d(h, {
155
+ size: 14,
156
+ "aria-hidden": !0,
157
+ className: "x2lah0s x153jb6y"
158
+ }),
159
+ /* @__PURE__ */ d("span", {
160
+ title: e.value,
161
+ className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
162
+ children: e.label
163
+ }),
164
+ K.has(e.value) && /* @__PURE__ */ d("span", {
165
+ className: "x2lah0s xvc5jky x153jb6y",
166
+ children: K.get(e.value)
167
+ })
168
+ ]
74
169
  })
75
- }, t))
76
- }),
77
- g.length > l && /* @__PURE__ */ c("p", {
78
- ...r.props(n.note),
79
- children: [g.length - l, " paths omitted until tree navigation loads."]
170
+ }, e.value))
80
171
  })
81
- ] }) : /* @__PURE__ */ s(p.Component, { ...u })]
172
+ })]
173
+ });
174
+ }
175
+ function O(e) {
176
+ return /* @__PURE__ */ f("section", {
177
+ "aria-label": e.label,
178
+ ...a.props(i.root),
179
+ children: [/* @__PURE__ */ d("div", {
180
+ ...a.props(i.header),
181
+ children: /* @__PURE__ */ d("span", {
182
+ ...a.props(i.label),
183
+ children: e.label
184
+ })
185
+ }), e.paths.length === 0 ? /* @__PURE__ */ d("p", {
186
+ ...a.props(i.note),
187
+ children: "No files."
188
+ }) : /* @__PURE__ */ d(D, { ...e })]
82
189
  });
83
190
  }
84
- export { f as FileTree };
191
+ export { O as FileTree };
@@ -1,4 +1,4 @@
1
- import { O as e } from "./src-C-Sx37kz.js";
1
+ import { O as e } from "./src-s3tWwnN4.js";
2
2
  import "@stylexjs/stylex";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  // packages/content/src/content-link.tsx
package/dist/content.js CHANGED
@@ -1 +1 @@
1
- export { o as JsonViewer, a as LogViewer, r as MediaViewer, i as MediaViewerPlaceholder, n as StackTrace, t as Trace } from "./src-DWjAoOyd.js";
1
+ export { o as JsonViewer, a as LogViewer, r as MediaViewer, i as MediaViewerPlaceholder, n as StackTrace, t as Trace } from "./src-D2OHco8V.js";
@@ -0,0 +1,179 @@
1
+ import "@stylexjs/stylex";
2
+ // packages/foundations/src/control-styles.ts
3
+ var e = {
4
+ base: {
5
+ kB7OPa: "x9f619",
6
+ kAzted: "x17tes2r x17oiadl",
7
+ k8WAf4: "x1ixblau",
8
+ kg3NbH: "x1atzlso",
9
+ kMzoRj: "xmkeg23",
10
+ ksu8eU: "x1y0btm7",
11
+ kVAM5u: "x1ey3b81",
12
+ kaIpWk: "x1ok0vyi",
13
+ kMv6JI: "x1hz01jw",
14
+ khiITx: "xvmahel",
15
+ k63SB2: "xj57cvi",
16
+ kGuDYH: "xtqrqnz",
17
+ kLWn49: "x1778rvt",
18
+ $$css: !0
19
+ },
20
+ button: {
21
+ k1xSpc: "x3nfvp2",
22
+ kGNEyG: "x6s0dn4",
23
+ kjj79g: "xl56j7k",
24
+ kOIVth: "xbgj81g",
25
+ k7Eaqz: "xeuugli",
26
+ ks0D6T: "x193iq5w",
27
+ kHjlTd: "xj0a0fe",
28
+ k9WMMc: "x2b8uid",
29
+ $$css: !0
30
+ },
31
+ iconButton: {
32
+ kg3NbH: "xnjsko4",
33
+ $$css: !0
34
+ },
35
+ field: {
36
+ k1xSpc: "x1lliihq",
37
+ kzqmXN: "xh8yej3",
38
+ k7Eaqz: "xeuugli",
39
+ kWkggS: "xpvm0e4",
40
+ kMwMTN: "xbixft",
41
+ kGuDYH: "xtqrqnz xwqnu5x",
42
+ $$css: !0
43
+ },
44
+ textFieldState: {
45
+ kPJHz1: "x13qnu6",
46
+ k7shQP: "x9v5kkp",
47
+ kZs9gx: "x19rmrnh",
48
+ kiEn40: "x13iak60",
49
+ kr7hW5: "x76gt29",
50
+ kWC4TW: "x19mxcj1",
51
+ kD2jPA: "x19kzkq0",
52
+ kYPGJ8: "x1s07b3s",
53
+ k8Qsv1: "xz7023x",
54
+ $$css: !0
55
+ },
56
+ singleLineField: {
57
+ kZKoxP: "x1f9pz31 x992rv9",
58
+ $$css: !0
59
+ },
60
+ fieldRoot: {
61
+ k1xSpc: "x78zum5",
62
+ kXwgrk: "xdt5ytf",
63
+ kOIVth: "x1hnptsi",
64
+ k7Eaqz: "xeuugli",
65
+ kMv6JI: "x1hz01jw",
66
+ k63SB2: "xj57cvi",
67
+ khiITx: "xvmahel",
68
+ $$css: !0
69
+ },
70
+ label: {
71
+ kMwMTN: "xbixft",
72
+ kMv6JI: "x1hz01jw",
73
+ kGuDYH: "xtqrqnz",
74
+ k63SB2: "xk4h15q",
75
+ kLWn49: "x1778rvt",
76
+ kHjlTd: "xj0a0fe",
77
+ $$css: !0
78
+ },
79
+ description: {
80
+ kogj98: "x1ghz6dp",
81
+ kMwMTN: "x153jb6y",
82
+ kGuDYH: "xy8obcc",
83
+ kLWn49: "xas2l8k",
84
+ kHjlTd: "xj0a0fe",
85
+ $$css: !0
86
+ },
87
+ textarea: {
88
+ kAzted: "x13j50qi",
89
+ kHenm0: "x288g5",
90
+ kLWn49: "x1gj8gu9",
91
+ $$css: !0
92
+ },
93
+ plainTextarea: {
94
+ kAzted: "x16exltd",
95
+ kskxy: "x1y3glee",
96
+ kOwNse: "x5f5z56",
97
+ kHenm0: "xtt52l0",
98
+ k8WAf4: "xt970qd",
99
+ kg3NbH: "xnjsko4",
100
+ kMzoRj: "xc342km",
101
+ kaIpWk: "x2u8bby",
102
+ kWkggS: "xjbqb8w",
103
+ k7shQP: "xi5y0ii",
104
+ kD2jPA: "x1oqui1x",
105
+ $$css: !0
106
+ },
107
+ group: {
108
+ kVAEAm: "x1n2onr6",
109
+ k1xSpc: "x78zum5",
110
+ kGNEyG: "x1qjc9v5",
111
+ k7Eaqz: "xeuugli",
112
+ kaIpWk: "x1ok0vyi",
113
+ kWkggS: "xpvm0e4",
114
+ k5JduY: "x1s928wv",
115
+ kwXMNM: "x1j6awrg",
116
+ kv0HGH: "xarstr8",
117
+ kloYau: "x2q1x1w",
118
+ kPGmMm: "x5hscyn",
119
+ kbwMcY: "x86avzo",
120
+ kXtpa: "x10z0kkz",
121
+ kUfP38: "xt0q9np",
122
+ krLA0g: "xzggfk3",
123
+ $$css: !0
124
+ },
125
+ embedded: {
126
+ kUk6DE: "x98rzlu",
127
+ k7Eaqz: "xeuugli",
128
+ kzqmXN: "xnalus7",
129
+ kVAM5u: "x9r1u3d",
130
+ kWkggS: "xjbqb8w",
131
+ kr7hW5: "x1m9vbm4",
132
+ kiEn40: "x8fq8g9",
133
+ $$css: !0
134
+ }
135
+ }, t = {
136
+ standard: { $$css: !0 },
137
+ compact: {
138
+ kAzted: "x159bbqr x17oiadl",
139
+ k8WAf4: "x17qit1p",
140
+ kg3NbH: "xbsbsya",
141
+ kOIVth: "xva7r70",
142
+ $$css: !0
143
+ },
144
+ compactField: {
145
+ kZKoxP: "x1pn6w2t x992rv9",
146
+ $$css: !0
147
+ },
148
+ standardActionTarget: {
149
+ k7Eaqz: "x16opp91 x1gjsuxi",
150
+ kAzted: "x17tes2r x17oiadl",
151
+ $$css: !0
152
+ },
153
+ compactActionTarget: {
154
+ k7Eaqz: "xp2p21h x1gjsuxi",
155
+ kAzted: "x159bbqr x17oiadl",
156
+ $$css: !0
157
+ },
158
+ standardTarget: {
159
+ kAzted: "x17tes2r x17oiadl",
160
+ $$css: !0
161
+ },
162
+ compactTarget: {
163
+ kAzted: "x159bbqr x17oiadl",
164
+ $$css: !0
165
+ }
166
+ }, n = {
167
+ standard: t.standard,
168
+ compact: t.compact
169
+ }, r = {
170
+ standard: t.standard,
171
+ compact: t.compactField
172
+ }, i = {
173
+ standard: t.standardActionTarget,
174
+ compact: t.compactActionTarget
175
+ }, a = {
176
+ standard: t.standardTarget,
177
+ compact: t.compactTarget
178
+ };
179
+ export { r as a, a as i, n, e as r, i as t };
package/dist/csp.js CHANGED
@@ -1 +1,14 @@
1
- export { CSPProvider } from "@base-ui/react/csp-provider";
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import { CSPProvider as n } from "@base-ui/react/csp-provider";
3
+ // packages/foundations/src/csp/provider.tsx
4
+ function r({ children: r, nonce: i, ...a }) {
5
+ return /* @__PURE__ */ t(n, {
6
+ ...a,
7
+ nonce: i,
8
+ children: [/* @__PURE__ */ e("meta", {
9
+ property: "csp-nonce",
10
+ nonce: i
11
+ }), r]
12
+ });
13
+ }
14
+ export { r as CSPProvider };
package/dist/feedback.js CHANGED
@@ -1 +1 @@
1
- export { t as AsyncRegion, l as ButtonPlaceholder, n as ContentReveal, m as EmptyState, u as FieldPlaceholder, r as LoadingScope, o as Meter, h as Notice, s as Progress, d as Skeleton, f as SkeletonText, p as Spinner, i as Toaster, a as toast } from "./src-nkgFDl-g.js";
1
+ export { t as AsyncRegion, l as ButtonPlaceholder, n as ContentReveal, m as EmptyState, u as FieldPlaceholder, r as LoadingScope, o as Meter, h as Notice, s as Progress, d as Skeleton, f as SkeletonText, p as Spinner, i as Toaster, a as toast } from "./src-DfOAlAd2.js";