@mastra/playground-ui 51.1.0 → 51.2.0-alpha.1
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 +89 -0
- package/dist/Composer.css +1 -4
- package/dist/components/Comment.cjs.js +170 -0
- package/dist/components/Comment.cjs.js.map +1 -0
- package/dist/components/Comment.d.ts +2 -0
- package/dist/components/Comment.es.js +156 -0
- package/dist/components/Comment.es.js.map +1 -0
- package/dist/components/Composer.cjs.js +1 -1
- package/dist/components/Composer.cjs.js.map +1 -1
- package/dist/components/Composer.es.js +1 -1
- package/dist/components/Composer.es.js.map +1 -1
- package/dist/components/DataList.cjs.js +9 -9
- package/dist/components/DataList.cjs.js.map +1 -1
- package/dist/components/DataList.es.js +9 -9
- package/dist/components/DataList.es.js.map +1 -1
- package/dist/components/DateTimePicker.cjs.js +1 -1
- package/dist/components/DateTimePicker.es.js +1 -1
- package/dist/components/EnvironmentVariablesEditor.cjs.js +6 -6
- package/dist/components/EnvironmentVariablesEditor.cjs.js.map +1 -1
- package/dist/components/EnvironmentVariablesEditor.es.js +6 -6
- package/dist/components/EnvironmentVariablesEditor.es.js.map +1 -1
- package/dist/components/FormFieldBlocks.cjs.js +1 -1
- package/dist/components/FormFieldBlocks.es.js +1 -1
- package/dist/components/JSONSchemaForm.cjs.js +1 -1
- package/dist/components/JSONSchemaForm.es.js +1 -1
- package/dist/components/LogsDataList.cjs.js +2 -3
- package/dist/components/LogsDataList.cjs.js.map +1 -1
- package/dist/components/LogsDataList.es.js +2 -3
- package/dist/components/LogsDataList.es.js.map +1 -1
- package/dist/components/MainSidebar.cjs.js +1 -1
- package/dist/components/MainSidebar.cjs.js.map +1 -1
- package/dist/components/MainSidebar.es.js +1 -1
- package/dist/components/MainSidebar.es.js.map +1 -1
- package/dist/components/SettingsRow.cjs.js +35 -14
- package/dist/components/SettingsRow.cjs.js.map +1 -1
- package/dist/components/SettingsRow.es.js +35 -14
- package/dist/components/SettingsRow.es.js.map +1 -1
- package/dist/components/ai/tool-call.cjs.js +1 -1
- package/dist/components/ai/tool-call.cjs.js.map +1 -1
- package/dist/components/ai/tool-call.es.js +1 -1
- package/dist/components/ai/tool-call.es.js.map +1 -1
- package/dist/{data-list-CfsEAR2E.js → data-list-BOI8fRuk.js} +7 -9
- package/dist/data-list-BOI8fRuk.js.map +1 -0
- package/dist/{data-list-BK_lJxMN.cjs → data-list-CCacNODd.cjs} +7 -9
- package/dist/data-list-CCacNODd.cjs.map +1 -0
- package/dist/{data-list-skeleton-dVbplSiW.cjs → data-list-skeleton-BHBSIQHN.cjs} +8 -4
- package/dist/data-list-skeleton-BHBSIQHN.cjs.map +1 -0
- package/dist/{data-list-skeleton-DQp3KwVO.js → data-list-skeleton-DDO_OE14.js} +8 -4
- package/dist/data-list-skeleton-DDO_OE14.js.map +1 -0
- package/dist/{data-list-top-cell-DyBSefIr.cjs → data-list-top-cell-BOXO5s7I.cjs} +55 -104
- package/dist/data-list-top-cell-BOXO5s7I.cjs.map +1 -0
- package/dist/{data-list-top-cell-DZiX9cTb.js → data-list-top-cell-CC5jjv5s.js} +54 -104
- package/dist/data-list-top-cell-CC5jjv5s.js.map +1 -0
- package/dist/domains/logs/components/logs-list-view.cjs.js +2 -2
- package/dist/domains/logs/components/logs-list-view.es.js +2 -2
- package/dist/domains/metrics/components/memory-card-view.cjs.js +3 -3
- package/dist/domains/metrics/components/memory-card-view.cjs.js.map +1 -1
- package/dist/domains/metrics/components/memory-card-view.es.js +3 -3
- package/dist/domains/metrics/components/memory-card-view.es.js.map +1 -1
- package/dist/domains/metrics/components/model-usage-cost-card-view.cjs.js +2 -2
- package/dist/domains/metrics/components/model-usage-cost-card-view.cjs.js.map +1 -1
- package/dist/domains/metrics/components/model-usage-cost-card-view.es.js +2 -2
- package/dist/domains/metrics/components/model-usage-cost-card-view.es.js.map +1 -1
- package/dist/domains/metrics/components/scores-card-view.cjs.js +2 -2
- package/dist/domains/metrics/components/scores-card-view.cjs.js.map +1 -1
- package/dist/domains/metrics/components/scores-card-view.es.js +2 -2
- package/dist/domains/metrics/components/scores-card-view.es.js.map +1 -1
- package/dist/domains/traces/components/span-data-panel-view.cjs.js +1 -1
- package/dist/domains/traces/components/span-data-panel-view.cjs.js.map +1 -1
- package/dist/domains/traces/components/span-data-panel-view.es.js +1 -1
- package/dist/domains/traces/components/span-data-panel-view.es.js.map +1 -1
- package/dist/domains/traces/components/trace-data-panel-view.cjs.js +16 -5
- package/dist/domains/traces/components/trace-data-panel-view.cjs.js.map +1 -1
- package/dist/domains/traces/components/trace-data-panel-view.es.js +16 -5
- package/dist/domains/traces/components/trace-data-panel-view.es.js.map +1 -1
- package/dist/domains/traces/components/traces-list-view.cjs.js +4 -4
- package/dist/domains/traces/components/traces-list-view.cjs.js.map +1 -1
- package/dist/domains/traces/components/traces-list-view.es.js +4 -4
- package/dist/domains/traces/components/traces-list-view.es.js.map +1 -1
- package/dist/ee/topics/components/topic-trace-summary-list.cjs.js +1 -1
- package/dist/ee/topics/components/topic-trace-summary-list.es.js +1 -1
- package/dist/{logs-data-list-COfm0LbS.js → logs-data-list-DRXJ89IZ.js} +7 -7
- package/dist/logs-data-list-DRXJ89IZ.js.map +1 -0
- package/dist/{logs-data-list-CEPdgKxp.cjs → logs-data-list-Xayqbjw4.cjs} +7 -7
- package/dist/logs-data-list-Xayqbjw4.cjs.map +1 -0
- package/dist/metrics-kpi-card-AhIw9eyu.js.map +1 -1
- package/dist/metrics-kpi-card-tAReOFYk.cjs.map +1 -1
- package/dist/src/domains/traces/components/trace-data-panel-view.d.ts +11 -2
- package/dist/src/ds/components/Comment/comment-composer.d.ts +12 -0
- package/dist/src/ds/components/Comment/comment-context.d.ts +3 -0
- package/dist/src/ds/components/Comment/comment.d.ts +21 -0
- package/dist/src/ds/components/Comment/comment.stories.d.ts +10 -0
- package/dist/src/ds/components/Comment/index.d.ts +5 -0
- package/dist/src/ds/components/DataList/data-list-cells.d.ts +16 -18
- package/dist/src/ds/components/DataList/data-list-root.d.ts +6 -7
- package/dist/src/ds/components/DataList/data-list-row-link.d.ts +1 -1
- package/dist/src/ds/components/DataList/data-list-row-wrapper.d.ts +2 -2
- package/dist/src/ds/components/DataList/data-list.d.ts +2 -2
- package/dist/src/ds/components/DataList/data-list.stories.d.ts +1 -1
- package/dist/src/ds/components/DataList/shared.d.ts +18 -18
- package/dist/src/ds/components/MetricsKpiCard/metrics-kpi-card-value.d.ts +2 -1
- package/dist/src/ds/components/SettingsRow/settings-row.d.ts +8 -3
- package/dist/src/ds/components/SettingsRow/settings-row.stories.d.ts +1 -0
- package/dist/style.css +67 -232
- package/dist/{text-field-block-BGlwSFYC.cjs → text-field-block-B4CvIwKh.cjs} +2 -1
- package/dist/text-field-block-B4CvIwKh.cjs.map +1 -0
- package/dist/{text-field-block-DOiM0dpY.js → text-field-block-Ddl2tJ6D.js} +2 -1
- package/dist/{text-field-block-DOiM0dpY.js.map → text-field-block-Ddl2tJ6D.js.map} +1 -1
- package/dist/{traces-data-list-CyaLRi1n.cjs → traces-data-list-BLZgf-Es.cjs} +7 -7
- package/dist/traces-data-list-BLZgf-Es.cjs.map +1 -0
- package/dist/{traces-data-list-BURMAmFH.js → traces-data-list-DmXGwe4Q.js} +7 -7
- package/dist/traces-data-list-DmXGwe4Q.js.map +1 -0
- package/package.json +7 -7
- package/theme.css +7 -0
- package/dist/data-list-BK_lJxMN.cjs.map +0 -1
- package/dist/data-list-CfsEAR2E.js.map +0 -1
- package/dist/data-list-skeleton-DQp3KwVO.js.map +0 -1
- package/dist/data-list-skeleton-dVbplSiW.cjs.map +0 -1
- package/dist/data-list-top-cell-DZiX9cTb.js.map +0 -1
- package/dist/data-list-top-cell-DyBSefIr.cjs.map +0 -1
- package/dist/logs-data-list-CEPdgKxp.cjs.map +0 -1
- package/dist/logs-data-list-COfm0LbS.js.map +0 -1
- package/dist/text-field-block-BGlwSFYC.cjs.map +0 -1
- package/dist/traces-data-list-BURMAmFH.js.map +0 -1
- package/dist/traces-data-list-CyaLRi1n.cjs.map +0 -1
|
@@ -10,18 +10,18 @@ const scrollArea = require('./scroll-area-Dv6QagXt.cjs');
|
|
|
10
10
|
const tooltip = require('./tooltip-DMOZ2oaq.cjs');
|
|
11
11
|
|
|
12
12
|
const dataListRowOuterStyles = [
|
|
13
|
-
"data-list-row col-span-full relative
|
|
14
|
-
'after:absolute after:inset-x-[-0.25rem] after:bottom-[-0.25rem] after:h-px after:bg-border1 after:content-[""] after:pointer-events-none',
|
|
15
|
-
"[&:has(+.data-list-subheader)]:after:hidden [&:not(:has(~.data-list-row))]:after:hidden",
|
|
13
|
+
"group/data-list-row data-list-row col-span-full relative min-h-9",
|
|
16
14
|
"transition-colors duration-200 rounded-lg"
|
|
17
15
|
];
|
|
18
16
|
const dataListRowInteractiveStyles = [
|
|
19
17
|
"grid grid-cols-subgrid gap-8 px-5 outline-none cursor-pointer",
|
|
20
|
-
"
|
|
18
|
+
"focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-accent1",
|
|
21
19
|
"transition-colors duration-200 rounded-lg"
|
|
22
20
|
];
|
|
23
|
-
const dataListRowStyles = [
|
|
24
|
-
const dataListRowStaticStyles = ["
|
|
21
|
+
const dataListRowStyles = [...dataListRowInteractiveStyles, ...dataListRowOuterStyles];
|
|
22
|
+
const dataListRowStaticStyles = ["grid grid-cols-subgrid gap-8 px-5", ...dataListRowOuterStyles];
|
|
23
|
+
const dataListRowRevealStyles = "opacity-0 pointer-coarse:opacity-100 group-focus-within/data-list-row:opacity-100 group-hover/data-list-row:opacity-100";
|
|
24
|
+
const dataListTopRevealStyles = "opacity-0 pointer-coarse:opacity-100 group-focus-within/data-list-top:opacity-100 group-hover/data-list-top:opacity-100";
|
|
25
25
|
const dataListStickyStartStyles = [
|
|
26
26
|
"data-list-sticky-start sticky left-0 z-10 isolate self-stretch overflow-visible",
|
|
27
27
|
'after:absolute after:-right-4 after:top-1/2 after:-translate-y-1/2 after:h-4 after:w-px after:bg-border2 after:content-[""] after:pointer-events-none'
|
|
@@ -38,14 +38,13 @@ const dataListRowVariants = index.cva("", {
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
function DataListCell({ children, className,
|
|
41
|
+
function DataListCell({ children, className, as, sticky, ...rest }) {
|
|
42
42
|
const Component = as || "span";
|
|
43
43
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44
44
|
Component,
|
|
45
45
|
{
|
|
46
46
|
className: utils_cn.cn(
|
|
47
47
|
'relative grid max-w-full min-w-0 items-center overflow-hidden text-ui-md whitespace-nowrap text-neutral3 empty:before:text-neutral2 empty:before:content-["—"]',
|
|
48
|
-
height === "compact" ? "py-1.5" : "py-2.5",
|
|
49
48
|
sticky === "start" && dataListStickyStartStyles,
|
|
50
49
|
className
|
|
51
50
|
),
|
|
@@ -54,6 +53,18 @@ function DataListCell({ children, className, height = "default", as, sticky, ...
|
|
|
54
53
|
}
|
|
55
54
|
);
|
|
56
55
|
}
|
|
56
|
+
function DataListActionsCell({ children, className, ...rest }) {
|
|
57
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, { className, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
58
|
+
"span",
|
|
59
|
+
{
|
|
60
|
+
className: utils_cn.cn(
|
|
61
|
+
"flex w-full items-center justify-end gap-1 pr-3 transition-opacity duration-200",
|
|
62
|
+
dataListRowRevealStyles
|
|
63
|
+
),
|
|
64
|
+
children
|
|
65
|
+
}
|
|
66
|
+
) });
|
|
67
|
+
}
|
|
57
68
|
const dataListTruncateContentStyles = 'block min-w-0 max-w-full truncate empty:before:content-["—"] empty:before:text-neutral2 [&>*]:min-w-0 [&>*]:max-w-full [&>*]:overflow-hidden [&>*]:text-ellipsis [&>*]:whitespace-nowrap';
|
|
58
69
|
const dataListInlineTextTruncateStyles = "min-w-0 flex-1 truncate";
|
|
59
70
|
function DataListInlineText({ children }) {
|
|
@@ -78,11 +89,11 @@ function DataListTruncatedCellContent({ children }) {
|
|
|
78
89
|
});
|
|
79
90
|
});
|
|
80
91
|
}
|
|
81
|
-
function DataListTextCell({ children, className, ...rest }) {
|
|
82
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, { className, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: dataListTruncateContentStyles, children: /* @__PURE__ */ jsxRuntime.jsx(DataListTruncatedCellContent, { children }) }) });
|
|
92
|
+
function DataListTextCell({ children, className, font = "sans", ...rest }) {
|
|
93
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, { className: utils_cn.cn(font === "mono" && "font-mono text-ui-smd", className), ...rest, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: dataListTruncateContentStyles, children: /* @__PURE__ */ jsxRuntime.jsx(DataListTruncatedCellContent, { children }) }) });
|
|
83
94
|
}
|
|
84
95
|
function DataListNameCell({ children, className }) {
|
|
85
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, { className: utils_cn.cn("text-left text-neutral4", className), children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: dataListTruncateContentStyles, children: /* @__PURE__ */ jsxRuntime.jsx(DataListTruncatedCellContent, { children }) }) });
|
|
96
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, { className: utils_cn.cn("text-left font-medium text-neutral4", className), children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: dataListTruncateContentStyles, children: /* @__PURE__ */ jsxRuntime.jsx(DataListTruncatedCellContent, { children }) }) });
|
|
86
97
|
}
|
|
87
98
|
function DataListDescriptionCell({ children, className }) {
|
|
88
99
|
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, { className: utils_cn.cn("text-neutral2", className), children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: dataListTruncateContentStyles, children: /* @__PURE__ */ jsxRuntime.jsx(DataListTruncatedCellContent, { children }) }) });
|
|
@@ -93,7 +104,7 @@ function DataListRowHeaderCell({ children, className, ...rest }) {
|
|
|
93
104
|
{
|
|
94
105
|
sticky: "start",
|
|
95
106
|
className: utils_cn.cn(
|
|
96
|
-
"data-list-row-header -mr-4 -ml-5 w-auto max-w-none rounded-l-
|
|
107
|
+
"data-list-row-header -mr-4 -ml-5 w-auto max-w-none rounded-l-lg pr-4 pl-5 text-left text-ui-sm font-medium text-neutral2",
|
|
97
108
|
className
|
|
98
109
|
),
|
|
99
110
|
...rest,
|
|
@@ -101,17 +112,10 @@ function DataListRowHeaderCell({ children, className, ...rest }) {
|
|
|
101
112
|
}
|
|
102
113
|
);
|
|
103
114
|
}
|
|
104
|
-
function DataListNumberCell({
|
|
105
|
-
children,
|
|
106
|
-
className,
|
|
107
|
-
highlight,
|
|
108
|
-
height = "compact",
|
|
109
|
-
...rest
|
|
110
|
-
}) {
|
|
115
|
+
function DataListNumberCell({ children, className, highlight, ...rest }) {
|
|
111
116
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
112
117
|
DataListCell,
|
|
113
118
|
{
|
|
114
|
-
height,
|
|
115
119
|
className: utils_cn.cn(
|
|
116
120
|
"justify-items-end text-right text-ui-sm tabular-nums",
|
|
117
121
|
highlight ? "font-semibold text-neutral4" : "text-neutral3",
|
|
@@ -126,16 +130,16 @@ function getShortId(id) {
|
|
|
126
130
|
return id?.slice(0, 8) ?? "";
|
|
127
131
|
}
|
|
128
132
|
function DataListIdCell({ id }) {
|
|
129
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, {
|
|
133
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, { className: "text-ui-smd text-neutral3 tracking-wide", children: getShortId(id) });
|
|
130
134
|
}
|
|
131
135
|
function DataListSelectCell({ checked, onToggle, disabled, ...rest }) {
|
|
132
136
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
133
137
|
DataListCell,
|
|
134
138
|
{
|
|
135
139
|
as: "label",
|
|
136
|
-
height: "compact",
|
|
137
140
|
className: utils_cn.cn(
|
|
138
|
-
"size-8 justify-items-center self-center overflow-visible px-0
|
|
141
|
+
"size-8 justify-items-center self-center overflow-visible px-0",
|
|
142
|
+
!checked && dataListRowRevealStyles,
|
|
139
143
|
disabled ? "cursor-not-allowed" : "cursor-pointer"
|
|
140
144
|
),
|
|
141
145
|
onClick: (e) => e.stopPropagation(),
|
|
@@ -153,29 +157,17 @@ function DataListSelectCell({ checked, onToggle, disabled, ...rest }) {
|
|
|
153
157
|
}
|
|
154
158
|
);
|
|
155
159
|
}
|
|
156
|
-
function DataListMonoCell({ children, className, height = "compact" }) {
|
|
157
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, { height, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
158
|
-
"span",
|
|
159
|
-
{
|
|
160
|
-
className: utils_cn.cn(
|
|
161
|
-
'block max-w-full min-w-0 truncate font-mono text-ui-smd text-neutral3 empty:before:content-["—"]',
|
|
162
|
-
className
|
|
163
|
-
),
|
|
164
|
-
children
|
|
165
|
-
}
|
|
166
|
-
) });
|
|
167
|
-
}
|
|
168
160
|
function toDate(value) {
|
|
169
161
|
const date = value instanceof Date ? value : new Date(value);
|
|
170
162
|
return isNaN(date.getTime()) ? null : date;
|
|
171
163
|
}
|
|
172
164
|
function DataListDateCell({ timestamp }) {
|
|
173
165
|
const date = toDate(timestamp);
|
|
174
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, {
|
|
166
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, { className: "text-ui-smd text-neutral2", children: date ? dateFns.isToday(date) ? "Today" : dateFns.format(date, "MMM dd") : null });
|
|
175
167
|
}
|
|
176
168
|
function DataListTimeCell({ timestamp }) {
|
|
177
169
|
const date = toDate(timestamp);
|
|
178
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, {
|
|
170
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DataListCell, { className: "text-ui-smd text-neutral3 flex tabular-nums", children: date ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
179
171
|
dateFns.format(date, "h:mm:ss"),
|
|
180
172
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-neutral2", children: [
|
|
181
173
|
".",
|
|
@@ -225,8 +217,8 @@ function DataListNoMatch({
|
|
|
225
217
|
|
|
226
218
|
const stickyHeaderBackgroundValues = {
|
|
227
219
|
tinted: {
|
|
228
|
-
background: "
|
|
229
|
-
hoverBackground: "
|
|
220
|
+
background: "var(--surface-header)",
|
|
221
|
+
hoverBackground: "var(--surface-header-hover)"
|
|
230
222
|
},
|
|
231
223
|
surface: {
|
|
232
224
|
background: "var(--surface2)",
|
|
@@ -246,55 +238,36 @@ const borderlessTableStyles = [
|
|
|
246
238
|
"gap-y-px",
|
|
247
239
|
// A shared opaque tint gives both column headers and sticky row headers the
|
|
248
240
|
// same treatment without revealing scrolled content beneath sticky surfaces.
|
|
249
|
-
"[&_.data-list-top]:
|
|
250
|
-
"[&_.data-list-
|
|
251
|
-
// header column separators: a short, faint vertical line centered in the gap
|
|
252
|
-
// to the left of every header cell but the first. A `before` pseudo (not a
|
|
253
|
-
// `border-l` + padding) keeps header text aligned with the row cells below.
|
|
254
|
-
// The cell's default `overflow-hidden` would clip a gap-positioned pseudo, so
|
|
255
|
-
// these cells switch to `overflow-visible`; the title text still truncates via
|
|
256
|
-
// its inner `truncate` span, so nothing else spills.
|
|
257
|
-
"[&_.data-list-top>*:not(:first-child)]:relative [&_.data-list-top>*:not(:first-child)]:overflow-visible",
|
|
258
|
-
'[&_.data-list-top>*:not(:first-child)]:before:absolute [&_.data-list-top>*:not(:first-child)]:before:-left-4 [&_.data-list-top>*:not(:first-child)]:before:top-1/2 [&_.data-list-top>*:not(:first-child)]:before:-translate-y-1/2 [&_.data-list-top>*:not(:first-child)]:before:h-4 [&_.data-list-top>*:not(:first-child)]:before:w-px [&_.data-list-top>*:not(:first-child)]:before:bg-border2 [&_.data-list-top>*:not(:first-child)]:before:content-[""]',
|
|
259
|
-
"[&_.data-list-row]:mx-0 [&_.data-list-row]:my-0 [&_.data-list-row]:rounded-md",
|
|
241
|
+
"[&_.data-list-top]:bg-[var(--data-list-sticky-header-background)] [&_.data-list-top]:rounded-lg",
|
|
242
|
+
"[&_.data-list-row]:rounded-lg",
|
|
260
243
|
"[&_.data-list-row]:hover:bg-surface-overlay-strong!",
|
|
261
|
-
"[&_.data-list-row
|
|
244
|
+
"[&_.data-list-row:focus-within]:bg-surface-overlay-strong!",
|
|
262
245
|
"[&_.data-list-row>.data-list-sticky-start]:bg-[var(--data-list-sticky-header-background)]",
|
|
263
246
|
"[&_.data-list-row>.data-list-sticky-start]:after:right-0",
|
|
264
247
|
"[&_.data-list-row:hover>.data-list-sticky-start]:bg-[var(--data-list-sticky-header-hover-background)]",
|
|
265
|
-
"[&_.data-list-row:focus-visible>.data-list-sticky-start]:bg-[var(--data-list-sticky-header-hover-background)]",
|
|
266
248
|
"[&_.data-list-row:focus-within>.data-list-sticky-start]:bg-[var(--data-list-sticky-header-hover-background)]",
|
|
267
|
-
"[&_.data-list-top>.data-list-sticky-start]:after:right-0"
|
|
268
|
-
"[&_.data-list-top>.data-list-sticky-start+*]:before:hidden"
|
|
249
|
+
"[&_.data-list-top>.data-list-sticky-start]:after:right-0"
|
|
269
250
|
];
|
|
270
251
|
const dataListFitClasses = {
|
|
271
252
|
content: "w-max max-w-none min-w-full",
|
|
272
253
|
container: "w-full max-w-full"
|
|
273
254
|
};
|
|
274
|
-
const dataListRootVariants = index.cva(utils_cn.cn("grid content-start"), {
|
|
255
|
+
const dataListRootVariants = index.cva(utils_cn.cn("grid content-start", ...borderlessTableStyles), {
|
|
275
256
|
variants: {
|
|
276
257
|
variant: {
|
|
277
|
-
striped:
|
|
278
|
-
|
|
279
|
-
"[&_.data-list-row]:after:hidden",
|
|
280
|
-
"[&_.data-list-row]:even:bg-surface-overlay-soft"
|
|
281
|
-
),
|
|
282
|
-
lined: utils_cn.cn(
|
|
283
|
-
...borderlessTableStyles,
|
|
284
|
-
'[&_.data-list-row]:after:pointer-events-none [&_.data-list-row]:after:absolute [&_.data-list-row]:after:h-px [&_.data-list-row]:after:content-[""]',
|
|
285
|
-
"[&_.data-list-row]:after:inset-x-2 [&_.data-list-row]:after:-bottom-px [&_.data-list-row]:after:bg-neutral6/10"
|
|
286
|
-
)
|
|
258
|
+
striped: "[&_.data-list-row]:even:bg-surface-overlay-soft",
|
|
259
|
+
plain: ""
|
|
287
260
|
}
|
|
288
261
|
},
|
|
289
262
|
defaultVariants: {
|
|
290
|
-
variant: "
|
|
263
|
+
variant: "plain"
|
|
291
264
|
}
|
|
292
265
|
});
|
|
293
266
|
function DataListRoot({
|
|
294
267
|
children,
|
|
295
268
|
columns,
|
|
296
269
|
className,
|
|
297
|
-
variant = "
|
|
270
|
+
variant = "plain",
|
|
298
271
|
fit = "content",
|
|
299
272
|
stickyHeaderBackground = "tinted",
|
|
300
273
|
mask,
|
|
@@ -323,7 +296,7 @@ function DataListRoot({
|
|
|
323
296
|
mask: getDataListMask(mask),
|
|
324
297
|
viewportRef: scrollRef,
|
|
325
298
|
viewPortClassName: "max-h-[inherit]",
|
|
326
|
-
className: utils_cn.cn("size-full
|
|
299
|
+
className: utils_cn.cn("size-full", className),
|
|
327
300
|
children: grid
|
|
328
301
|
}
|
|
329
302
|
);
|
|
@@ -335,19 +308,7 @@ function useDataListRowWrapperContext() {
|
|
|
335
308
|
}
|
|
336
309
|
|
|
337
310
|
const DataListRowButton = React.forwardRef(
|
|
338
|
-
({
|
|
339
|
-
children,
|
|
340
|
-
className,
|
|
341
|
-
type = "button",
|
|
342
|
-
flushLeft,
|
|
343
|
-
flushRight,
|
|
344
|
-
colStart,
|
|
345
|
-
colEnd,
|
|
346
|
-
featured,
|
|
347
|
-
variant,
|
|
348
|
-
style,
|
|
349
|
-
...rest
|
|
350
|
-
}, ref) => {
|
|
311
|
+
({ children, className, type = "button", colStart, colEnd, featured, variant, style, ...rest }, ref) => {
|
|
351
312
|
const isWrapped = useDataListRowWrapperContext();
|
|
352
313
|
const hasColumnOverride = colStart !== void 0 || colEnd !== void 0;
|
|
353
314
|
const resolvedStyle = hasColumnOverride ? { ...style, gridColumn: `${colStart ?? 1} / ${colEnd ?? -1}` } : style;
|
|
@@ -359,11 +320,9 @@ const DataListRowButton = React.forwardRef(
|
|
|
359
320
|
className: utils_cn.cn(
|
|
360
321
|
...isWrapped ? dataListRowInteractiveStyles : dataListRowStyles,
|
|
361
322
|
"text-left",
|
|
362
|
-
!isWrapped && flushLeft && "ml-0!",
|
|
363
|
-
!isWrapped && flushRight && "mr-0!",
|
|
364
323
|
// `!` so the selection fill wins over borderless table root styling
|
|
365
324
|
// (higher-specificity descendant rules); same color in `default`.
|
|
366
|
-
featured && "bg-
|
|
325
|
+
featured && "bg-surface-row-featured!",
|
|
367
326
|
dataListRowVariants({ variant }),
|
|
368
327
|
className
|
|
369
328
|
),
|
|
@@ -382,8 +341,6 @@ function DataListRowLink({
|
|
|
382
341
|
className,
|
|
383
342
|
style,
|
|
384
343
|
LinkComponent: Link = "a",
|
|
385
|
-
flushLeft,
|
|
386
|
-
flushRight,
|
|
387
344
|
colStart,
|
|
388
345
|
colEnd,
|
|
389
346
|
featured,
|
|
@@ -399,11 +356,9 @@ function DataListRowLink({
|
|
|
399
356
|
href: to,
|
|
400
357
|
className: utils_cn.cn(
|
|
401
358
|
...isWrapped ? dataListRowInteractiveStyles : dataListRowStyles,
|
|
402
|
-
!isWrapped && flushLeft && "ml-0!",
|
|
403
|
-
!isWrapped && flushRight && "mr-0!",
|
|
404
359
|
// `!` so the selection fill wins over borderless table root styling
|
|
405
360
|
// (higher-specificity descendant rules); same color in `default`.
|
|
406
|
-
featured && "bg-
|
|
361
|
+
featured && "bg-surface-row-featured!",
|
|
407
362
|
dataListRowVariants({ variant }),
|
|
408
363
|
className
|
|
409
364
|
),
|
|
@@ -416,15 +371,7 @@ function DataListRowLink({
|
|
|
416
371
|
|
|
417
372
|
const DataListRowWrapper = React.forwardRef(
|
|
418
373
|
({ children, className, ...rest }, ref) => {
|
|
419
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DataListRowWrapperContext.Provider, { value: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
420
|
-
"div",
|
|
421
|
-
{
|
|
422
|
-
ref,
|
|
423
|
-
className: utils_cn.cn("mx-1 grid grid-cols-subgrid gap-0", ...dataListRowOuterStyles, className),
|
|
424
|
-
...rest,
|
|
425
|
-
children
|
|
426
|
-
}
|
|
427
|
-
) });
|
|
374
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DataListRowWrapperContext.Provider, { value: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: utils_cn.cn("grid grid-cols-subgrid gap-0", ...dataListRowOuterStyles, className), ...rest, children }) });
|
|
428
375
|
}
|
|
429
376
|
);
|
|
430
377
|
DataListRowWrapper.displayName = "DataListRowWrapper";
|
|
@@ -439,7 +386,7 @@ function DataListTop({ children, className, hasLeadingCell, ...props }) {
|
|
|
439
386
|
"div",
|
|
440
387
|
{
|
|
441
388
|
className: utils_cn.cn(
|
|
442
|
-
|
|
389
|
+
"group/data-list-top data-list-top sticky top-0 z-20 col-span-full grid grid-cols-subgrid gap-8 px-5",
|
|
443
390
|
hasLeadingCell && "gap-0 pl-0!",
|
|
444
391
|
className
|
|
445
392
|
),
|
|
@@ -458,9 +405,9 @@ const DataListTopCell = React.forwardRef(
|
|
|
458
405
|
{
|
|
459
406
|
ref,
|
|
460
407
|
className: utils_cn.cn(
|
|
461
|
-
"flex h-
|
|
408
|
+
"flex h-10 max-w-full min-w-0 items-center overflow-hidden py-1 text-ui-sm font-medium whitespace-nowrap text-neutral2",
|
|
462
409
|
sticky === "start" && dataListStickyStartStyles,
|
|
463
|
-
sticky === "start" && "-mr-4 -ml-5 w-auto max-w-none rounded-
|
|
410
|
+
sticky === "start" && "-mr-4 -ml-5 w-auto max-w-none rounded-l-lg pr-4 pl-5",
|
|
464
411
|
sticky === "start" && "z-20 bg-[var(--data-list-sticky-header-background)]",
|
|
465
412
|
className
|
|
466
413
|
),
|
|
@@ -506,18 +453,21 @@ function DataListTopSelectCell({ checked, onToggle, ...rest }) {
|
|
|
506
453
|
DataListTopCell,
|
|
507
454
|
{
|
|
508
455
|
as: "label",
|
|
509
|
-
className:
|
|
456
|
+
className: utils_cn.cn(
|
|
457
|
+
"w-8 cursor-pointer justify-center overflow-visible px-0 py-0!",
|
|
458
|
+
checked === false && dataListTopRevealStyles
|
|
459
|
+
),
|
|
510
460
|
onClick: (e) => e.stopPropagation(),
|
|
511
461
|
children: /* @__PURE__ */ jsxRuntime.jsx(checkbox.Checkbox, { checked, onCheckedChange: () => onToggle(), "aria-label": rest["aria-label"] })
|
|
512
462
|
}
|
|
513
463
|
);
|
|
514
464
|
}
|
|
515
465
|
|
|
466
|
+
exports.DataListActionsCell = DataListActionsCell;
|
|
516
467
|
exports.DataListCell = DataListCell;
|
|
517
468
|
exports.DataListDateCell = DataListDateCell;
|
|
518
469
|
exports.DataListDescriptionCell = DataListDescriptionCell;
|
|
519
470
|
exports.DataListIdCell = DataListIdCell;
|
|
520
|
-
exports.DataListMonoCell = DataListMonoCell;
|
|
521
471
|
exports.DataListNameCell = DataListNameCell;
|
|
522
472
|
exports.DataListNextPageLoading = DataListNextPageLoading;
|
|
523
473
|
exports.DataListNoMatch = DataListNoMatch;
|
|
@@ -536,7 +486,8 @@ exports.DataListTopCell = DataListTopCell;
|
|
|
536
486
|
exports.DataListTopCellSmart = DataListTopCellSmart;
|
|
537
487
|
exports.DataListTopCellWithTooltip = DataListTopCellWithTooltip;
|
|
538
488
|
exports.DataListTopSelectCell = DataListTopSelectCell;
|
|
489
|
+
exports.dataListRowOuterStyles = dataListRowOuterStyles;
|
|
539
490
|
exports.dataListRowStaticStyles = dataListRowStaticStyles;
|
|
540
491
|
exports.dataListRowVariants = dataListRowVariants;
|
|
541
492
|
exports.useDataListRowWrapperContext = useDataListRowWrapperContext;
|
|
542
|
-
//# sourceMappingURL=data-list-top-cell-
|
|
493
|
+
//# sourceMappingURL=data-list-top-cell-BOXO5s7I.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-list-top-cell-BOXO5s7I.cjs","sources":["../src/ds/components/DataList/shared.ts","../src/ds/components/DataList/data-list-cells.tsx","../src/ds/components/DataList/data-list-next-page-loading.tsx","../src/ds/components/DataList/data-list-no-match.tsx","../src/ds/components/DataList/data-list-root.tsx","../src/ds/components/DataList/data-list-row-wrapper-context.ts","../src/ds/components/DataList/data-list-row-button.tsx","../src/ds/components/DataList/data-list-row-link.tsx","../src/ds/components/DataList/data-list-row-wrapper.tsx","../src/ds/components/DataList/data-list-spacer.tsx","../src/ds/components/DataList/data-list-top.tsx","../src/ds/components/DataList/data-list-top-cell.tsx"],"sourcesContent":["/**\n * Row-level styling for the element that participates in the row sibling\n * chain — applied to `DataList.RowButton` / `DataList.RowLink` when used\n * standalone, and to `DataList.RowWrapper` when used as a shell around them.\n *\n * Carries the `.data-list-row` marker class the root styles target.\n */\nexport const dataListRowOuterStyles = [\n 'group/data-list-row data-list-row col-span-full relative min-h-9',\n 'transition-colors duration-200 rounded-lg',\n] as const;\n\n/**\n * Layout + focus ring only. The root paints the hover/focus fill on\n * `.data-list-row`, so a wrapped row and its button never show two tints.\n */\nexport const dataListRowInteractiveStyles = [\n 'grid grid-cols-subgrid gap-8 px-5 outline-none cursor-pointer',\n 'focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-accent1',\n 'transition-colors duration-200 rounded-lg',\n] as const;\n\nexport const dataListRowStyles = [...dataListRowInteractiveStyles, ...dataListRowOuterStyles] as const;\n\nexport const dataListRowStaticStyles = ['grid grid-cols-subgrid gap-8 px-5', ...dataListRowOuterStyles] as const;\n\n/**\n * Row controls that stay out of the way until the row is hovered or focused.\n * Opacity, not display, so the column keeps its width and nothing shifts. A\n * coarse pointer never hovers, so there they stay visible — hidden controls\n * that still take taps would be worse than no reveal at all.\n */\nexport const dataListRowRevealStyles =\n 'opacity-0 pointer-coarse:opacity-100 group-focus-within/data-list-row:opacity-100 group-hover/data-list-row:opacity-100';\n\n/** Header counterpart of {@link dataListRowRevealStyles}. */\nexport const dataListTopRevealStyles =\n 'opacity-0 pointer-coarse:opacity-100 group-focus-within/data-list-top:opacity-100 group-hover/data-list-top:opacity-100';\n\nimport { cva } from 'class-variance-authority';\n\nexport type DataListSticky = 'start';\n\nexport const dataListStickyStartStyles = [\n 'data-list-sticky-start sticky left-0 z-10 isolate self-stretch overflow-visible',\n 'after:absolute after:-right-4 after:top-1/2 after:-translate-y-1/2 after:h-4 after:w-px after:bg-border2 after:content-[\"\"] after:pointer-events-none',\n] as const;\n\n/** Tone for a single row. `error` lays a subtle, theme-aware destructive tint\n * over whatever background the row already has. */\nexport type DataListRowVariant = 'default' | 'error';\n\n/**\n * Per-row tone. Kept as a `.ts` cva (safe to export — no react-refresh concern).\n * The error tint uses `!` so it wins over borderless table root-level styling\n * (higher-specificity descendant rules) and over the base row hover.\n */\nexport const dataListRowVariants = cva('', {\n variants: {\n variant: {\n default: '',\n error: 'bg-notice-destructive/10! hover:bg-notice-destructive/15!',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\n/**\n * Layout/state modifiers shared by interactive row primitives\n * (`DataList.RowButton`, `DataList.RowLink`).\n */\nexport type DataListRowSharedProps = {\n /** Row tone — `error` applies a subtle destructive background tint. */\n variant?: DataListRowVariant;\n /**\n * Place the row starting at this column line. Defaults to column 1. Use\n * when the row sits beside a leading cell that owns column 1.\n */\n colStart?: number;\n /**\n * Place the row ending at this column line (use negative values to count\n * from the end, e.g. `-2`). Defaults to `-1` (the last line). Use when the\n * row sits beside a trailing cell that owns the last column.\n */\n colEnd?: number;\n /**\n * Apply the highlighted background. Use to mark the row that is currently\n * featured (e.g. the row whose detail is open in a side panel).\n */\n featured?: boolean;\n};\n","import { format, isToday } from 'date-fns';\nimport { Children, cloneElement, isValidElement } from 'react';\nimport type { ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';\nimport { dataListRowRevealStyles, dataListStickyStartStyles } from './shared';\nimport type { DataListSticky } from './shared';\nimport { Checkbox } from '@/ds/components/Checkbox';\nimport { cn } from '@/lib/utils';\n\nexport type DataListCellProps = {\n children?: ReactNode;\n className?: string;\n /**\n * HTML element rendered for the cell. Defaults to `span`. Use `'label'` when\n * the cell wraps a labelable control (e.g. a Checkbox), so the whole cell\n * area acts as the click/hover target.\n */\n as?: ElementType;\n /**\n * Pins the cell to the horizontal start edge of the list while the list\n * scrolls sideways.\n */\n sticky?: DataListSticky;\n} & Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'className'>;\n\nexport function DataListCell({ children, className, as, sticky, ...rest }: DataListCellProps) {\n const Component = as || 'span';\n return (\n <Component\n className={cn(\n 'relative grid max-w-full min-w-0 items-center overflow-hidden text-ui-md whitespace-nowrap text-neutral3 empty:before:text-neutral2 empty:before:content-[\"—\"]',\n sticky === 'start' && dataListStickyStartStyles,\n className,\n )}\n {...rest}\n >\n {children}\n </Component>\n );\n}\n\n/**\n * Trailing cell for row actions, revealed on row hover or keyboard focus.\n * Sits beside a `DataList.RowButton` inside a `DataList.RowWrapper`.\n */\nexport function DataListActionsCell({ children, className, ...rest }: DataListCellProps) {\n return (\n <DataListCell className={className} {...rest}>\n <span\n className={cn(\n 'flex w-full items-center justify-end gap-1 pr-3 transition-opacity duration-200',\n dataListRowRevealStyles,\n )}\n >\n {children}\n </span>\n </DataListCell>\n );\n}\n\nconst dataListTruncateContentStyles =\n 'block min-w-0 max-w-full truncate empty:before:content-[\"—\"] empty:before:text-neutral2 [&>*]:min-w-0 [&>*]:max-w-full [&>*]:overflow-hidden [&>*]:text-ellipsis [&>*]:whitespace-nowrap';\nconst dataListInlineTextTruncateStyles = 'min-w-0 flex-1 truncate';\n\nfunction DataListInlineText({ children }: { children: string | number }) {\n return <span className={dataListInlineTextTruncateStyles}>{children}</span>;\n}\n\nfunction DataListTruncatedTextNodes({ children }: { children: ReactNode }) {\n return Children.map(children, child => {\n if (typeof child === 'string' || typeof child === 'number') {\n return <DataListInlineText>{child}</DataListInlineText>;\n }\n\n return child;\n });\n}\n\nfunction DataListTruncatedCellContent({ children }: { children: ReactNode }) {\n return Children.map(children, child => {\n if (!isValidElement<{ children?: ReactNode; className?: string }>(child) || typeof child.type !== 'string') {\n return child;\n }\n\n return cloneElement(child, {\n className: cn('max-w-full min-w-0 overflow-hidden', child.props.className),\n children: <DataListTruncatedTextNodes>{child.props.children}</DataListTruncatedTextNodes>,\n });\n });\n}\n\nexport type DataListTextCellProps = DataListCellProps & {\n /**\n * Typeface for the cell text. `mono` is for genuine code — paths, env values,\n * serialized JSON — and drops a size step to match the sans columns optically.\n */\n font?: 'sans' | 'mono';\n};\n\nexport function DataListTextCell({ children, className, font = 'sans', ...rest }: DataListTextCellProps) {\n return (\n <DataListCell className={cn(font === 'mono' && 'font-mono text-ui-smd', className)} {...rest}>\n <span className={dataListTruncateContentStyles}>\n <DataListTruncatedCellContent>{children}</DataListTruncatedCellContent>\n </span>\n </DataListCell>\n );\n}\n\nexport function DataListNameCell({ children, className }: DataListCellProps) {\n return (\n <DataListCell className={cn('text-left font-medium text-neutral4', className)}>\n <span className={dataListTruncateContentStyles}>\n <DataListTruncatedCellContent>{children}</DataListTruncatedCellContent>\n </span>\n </DataListCell>\n );\n}\n\nexport function DataListDescriptionCell({ children, className }: DataListCellProps) {\n return (\n <DataListCell className={cn('text-neutral2', className)}>\n <span className={dataListTruncateContentStyles}>\n <DataListTruncatedCellContent>{children}</DataListTruncatedCellContent>\n </span>\n </DataListCell>\n );\n}\n\nexport type DataListRowHeaderCellProps = Omit<DataListCellProps, 'sticky'>;\n\nexport function DataListRowHeaderCell({ children, className, ...rest }: DataListRowHeaderCellProps) {\n return (\n <DataListCell\n sticky=\"start\"\n className={cn(\n 'data-list-row-header -mr-4 -ml-5 w-auto max-w-none rounded-l-lg pr-4 pl-5 text-left text-ui-sm font-medium text-neutral2',\n className,\n )}\n {...rest}\n >\n <span className={cn(dataListTruncateContentStyles, 'relative z-10 w-full')}>\n <DataListTruncatedCellContent>{children}</DataListTruncatedCellContent>\n </span>\n </DataListCell>\n );\n}\n\nexport type DataListNumberCellProps = DataListCellProps & {\n /**\n * Emphasizes the value with a brighter tone and semibold weight — use for the\n * primary metric in a row (e.g. a total or headline number).\n */\n highlight?: boolean;\n};\n\n/**\n * Right-aligned numeric cell with tabular figures, for metric and summary\n * tables. Pass `highlight` for the emphasized column.\n */\nexport function DataListNumberCell({ children, className, highlight, ...rest }: DataListNumberCellProps) {\n return (\n <DataListCell\n className={cn(\n 'justify-items-end text-right text-ui-sm tabular-nums',\n highlight ? 'font-semibold text-neutral4' : 'text-neutral3',\n className,\n )}\n {...rest}\n >\n {children}\n </DataListCell>\n );\n}\n\nfunction getShortId(id: string | undefined): string {\n return id?.slice(0, 8) ?? '';\n}\n\nexport interface DataListIdCellProps {\n id: string;\n}\n\nexport function DataListIdCell({ id }: DataListIdCellProps) {\n return <DataListCell className=\"text-ui-smd text-neutral3 tracking-wide\">{getShortId(id)}</DataListCell>;\n}\n\nexport interface DataListSelectCellProps {\n checked: boolean;\n /**\n * Called when the checkbox is clicked. Receives the click event's `shiftKey`\n * so callers can implement range-select. The cell stops the click from\n * reaching the host row, so the row's `onClick` doesn't fire.\n */\n onToggle: (shiftKey: boolean) => void;\n /** Disable the checkbox, e.g. while a selection mutation is in flight. */\n disabled?: boolean;\n 'aria-label'?: string;\n}\n\nexport function DataListSelectCell({ checked, onToggle, disabled, ...rest }: DataListSelectCellProps) {\n return (\n <DataListCell\n as=\"label\"\n className={cn(\n 'size-8 justify-items-center self-center overflow-visible px-0',\n !checked && dataListRowRevealStyles,\n disabled ? 'cursor-not-allowed' : 'cursor-pointer',\n )}\n onClick={e => e.stopPropagation()}\n >\n <Checkbox\n checked={checked}\n disabled={disabled}\n onCheckedChange={() => {}} // no-op: selection handled by onClick to capture shiftKey\n // The click still has to bubble to the cell above, which is what keeps it\n // off the host row. Base UI withholds this handler while disabled.\n onClick={e => onToggle(e.shiftKey)}\n aria-label={rest['aria-label']}\n />\n </DataListCell>\n );\n}\n\nfunction toDate(value: Date | string): Date | null {\n const date = value instanceof Date ? value : new Date(value);\n return isNaN(date.getTime()) ? null : date;\n}\n\nexport interface DataListDateCellProps {\n timestamp: Date | string;\n}\n\n/** Compact date cell — `Today` or `MMM dd` (e.g. `May 19`). */\nexport function DataListDateCell({ timestamp }: DataListDateCellProps) {\n const date = toDate(timestamp);\n return (\n <DataListCell className=\"text-ui-smd text-neutral2\">\n {date ? (isToday(date) ? 'Today' : format(date, 'MMM dd')) : null}\n </DataListCell>\n );\n}\n\nexport interface DataListTimeCellProps {\n timestamp: Date | string;\n}\n\nexport function DataListTimeCell({ timestamp }: DataListTimeCellProps) {\n const date = toDate(timestamp);\n return (\n <DataListCell className=\"text-ui-smd text-neutral3 flex tabular-nums\">\n {date ? (\n <>\n {format(date, 'h:mm:ss')}\n <span className=\"text-neutral2\">\n .{String(date.getMilliseconds()).padStart(3, '0')} {format(date, 'aaa')}\n </span>\n </>\n ) : null}\n </DataListCell>\n );\n}\n","import { cn } from '@/lib/utils';\n\nexport type DataListNextPageLoadingProps = {\n isLoading?: boolean;\n hasMore?: boolean;\n setEndOfListElement?: (element: HTMLDivElement | null) => void;\n loadingText?: string;\n};\n\nexport function DataListNextPageLoading({\n isLoading,\n setEndOfListElement,\n hasMore,\n loadingText = 'Loading more data...',\n}: DataListNextPageLoadingProps) {\n if (!setEndOfListElement) {\n return null;\n }\n\n return (\n <div\n ref={setEndOfListElement}\n className={cn('col-span-full flex min-h-1 justify-center text-ui-md text-neutral3 opacity-50', {\n 'py-4': isLoading,\n 'py-0': !hasMore,\n })}\n >\n {isLoading && loadingText}\n </div>\n );\n}\n","import type { ComponentPropsWithoutRef } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type DataListNoMatchProps = ComponentPropsWithoutRef<'div'> & {\n message?: string;\n};\n\nexport function DataListNoMatch({\n message = 'Nothing matches your search',\n className,\n ...props\n}: DataListNoMatchProps) {\n return (\n <div\n className={cn('col-span-full flex flex-col items-center justify-center gap-2 py-12 text-neutral3', className)}\n {...props}\n >\n <p className=\"text-ui-md\">{message}</p>\n </div>\n );\n}\n","import { cva } from 'class-variance-authority';\nimport type { CSSProperties, ReactNode, RefObject } from 'react';\nimport { ScrollArea } from '@/ds/components/ScrollArea/scroll-area';\nimport type { ScrollAreaMask, ScrollAreaProps } from '@/ds/components/ScrollArea/scroll-area';\nimport { cn } from '@/lib/utils';\n\n/**\n * Visual treatment for the whole list.\n *\n * Both are borderless and full-bleed, with a contrasting sticky header band and\n * no row separators. `striped` adds a zebra tint to every other row; `plain`\n * leaves rows transparent so only hover and selection tint them.\n */\nexport type DataListVariant = 'striped' | 'plain';\n\n/**\n * Horizontal sizing of the list grid.\n *\n * - `content`: the grid is as wide as its widest content (`w-max`) and the\n * ScrollArea scrolls horizontally when it exceeds the container.\n * - `container`: the grid fills the container width and never exceeds it;\n * flexible tracks (`minmax(0, 1fr)`) shrink so truncating cells ellipsize\n * instead of widening the table.\n */\nexport type DataListFit = 'content' | 'container';\nexport type DataListStickyHeaderBackground = 'tinted' | 'surface' | 'transparent';\ntype DataListStickyHeaderBackgroundValue = { background: string; hoverBackground: string };\n\nexport type DataListRootProps = Omit<ScrollAreaProps, 'children' | 'orientation' | 'mask' | 'viewportRef'> & {\n children: ReactNode;\n columns: string;\n variant?: DataListVariant;\n /** Grid width behavior; defaults to `content` (existing horizontal-scroll sizing). */\n fit?: DataListFit;\n /**\n * Shared fill for the sticky top header and sticky row-header column.\n * `tinted` is the opaque `--surface-header` band, so sticky headers do not\n * reveal scrolled content beneath them.\n */\n stickyHeaderBackground?: DataListStickyHeaderBackground;\n /**\n * Edge fades from the underlying ScrollArea. DataList keeps the top fade off\n * by default so it does not fade the sticky top header.\n */\n mask?: ScrollAreaMask;\n /**\n * Ref to the scroll container — pass this to TanStack Virtual's\n * `getScrollElement` when virtualizing. Without it, the ScrollArea viewport\n * scrolls normally.\n */\n scrollRef?: RefObject<HTMLDivElement | null>;\n};\n\nconst stickyHeaderBackgroundValues = {\n tinted: {\n background: 'var(--surface-header)',\n hoverBackground: 'var(--surface-header-hover)',\n },\n surface: {\n background: 'var(--surface2)',\n hoverBackground: 'color-mix(in oklch, var(--surface2), var(--neutral6) 10%)',\n },\n transparent: {\n background: 'transparent',\n hoverBackground: 'transparent',\n },\n} satisfies Record<DataListStickyHeaderBackground, DataListStickyHeaderBackgroundValue>;\n\ntype DataListRootStyle = CSSProperties & {\n '--data-list-sticky-header-background'?: string;\n '--data-list-sticky-header-hover-background'?: string;\n};\n\nfunction getDataListMask(mask: ScrollAreaMask | undefined): ScrollAreaMask {\n if (mask === undefined) return { top: false };\n if (typeof mask === 'object') return { top: false, ...mask };\n\n return mask;\n}\n\n/**\n * Root grid styling per `variant`. Kept module-private (an exported cva in a\n * `.tsx` trips react-refresh). The borderless table treatments are driven\n * entirely from the root with CSS descendant selectors on the `.data-list-top` /\n * `.data-list-row` markers - the header and row primitives stay untouched, no JS\n * per-row index:\n * - no container fill or border: rows composite over any view.\n * - `gap-y-px`: a uniform 1px gap between every grid track (header and rows).\n * - header: a contrasting band that owns its own radius, no hairline.\n * - rows: full-bleed, so the grid gap is the only spacing. Header, rows and\n * subheader all share `rounded-lg`.\n * - striped adds translucent zebra tints with `:even`; hover & focus use `!` so\n * they still win over root-level row styling.\n */\nconst borderlessTableStyles = [\n 'gap-y-px',\n // A shared opaque tint gives both column headers and sticky row headers the\n // same treatment without revealing scrolled content beneath sticky surfaces.\n '[&_.data-list-top]:bg-[var(--data-list-sticky-header-background)] [&_.data-list-top]:rounded-lg',\n '[&_.data-list-row]:rounded-lg',\n '[&_.data-list-row]:hover:bg-surface-overlay-strong!',\n '[&_.data-list-row:focus-within]:bg-surface-overlay-strong!',\n '[&_.data-list-row>.data-list-sticky-start]:bg-[var(--data-list-sticky-header-background)]',\n '[&_.data-list-row>.data-list-sticky-start]:after:right-0',\n '[&_.data-list-row:hover>.data-list-sticky-start]:bg-[var(--data-list-sticky-header-hover-background)]',\n '[&_.data-list-row:focus-within>.data-list-sticky-start]:bg-[var(--data-list-sticky-header-hover-background)]',\n '[&_.data-list-top>.data-list-sticky-start]:after:right-0',\n] as const;\n\nconst dataListFitClasses: Record<DataListFit, string> = {\n content: 'w-max max-w-none min-w-full',\n container: 'w-full max-w-full',\n};\n\nconst dataListRootVariants = cva(cn('grid content-start', ...borderlessTableStyles), {\n variants: {\n variant: {\n striped: '[&_.data-list-row]:even:bg-surface-overlay-soft',\n plain: '',\n },\n },\n defaultVariants: {\n variant: 'plain',\n },\n});\n\nexport function DataListRoot({\n children,\n columns,\n className,\n variant = 'plain',\n fit = 'content',\n stickyHeaderBackground = 'tinted',\n mask,\n scrollRef,\n ...props\n}: DataListRootProps) {\n const stickyHeaderColors = stickyHeaderBackgroundValues[stickyHeaderBackground];\n const gridStyle: DataListRootStyle = {\n '--data-list-sticky-header-background': stickyHeaderColors.background,\n '--data-list-sticky-header-hover-background': stickyHeaderColors.hoverBackground,\n gridTemplateColumns: columns,\n };\n\n const grid = (\n <div\n // Lists scroll inside the ScrollArea viewport (below); the grid just lays out.\n className={cn(dataListRootVariants({ variant }), dataListFitClasses[fit])}\n style={gridStyle}\n >\n {children}\n </div>\n );\n\n // DataList uses the DS ScrollArea: an overlay scrollbar, so the sticky header\n // spans the full width. Masks default to every overflowing edge except the\n // top — a top fade would fade the opaque sticky header. A virtualizing list\n // passes `scrollRef`, forwarded as `viewportRef` so it scrolls this viewport.\n return (\n <ScrollArea\n {...props}\n orientation=\"both\"\n mask={getDataListMask(mask)}\n viewportRef={scrollRef}\n viewPortClassName=\"max-h-[inherit]\"\n className={cn('size-full', className)}\n >\n {grid}\n </ScrollArea>\n );\n}\n","import { createContext, useContext } from 'react';\n\nexport const DataListRowWrapperContext = createContext(false);\n\nexport function useDataListRowWrapperContext() {\n return useContext(DataListRowWrapperContext);\n}\n","import { forwardRef } from 'react';\nimport type { ComponentPropsWithoutRef } from 'react';\nimport { useDataListRowWrapperContext } from './data-list-row-wrapper-context';\nimport { dataListRowInteractiveStyles, dataListRowStyles, dataListRowVariants } from './shared';\nimport type { DataListRowSharedProps } from './shared';\nimport { cn } from '@/lib/utils';\n\nexport type DataListRowButtonProps = ComponentPropsWithoutRef<'button'> & DataListRowSharedProps;\n\n/**\n * Forwarded ref + spread props so virtualizers (`useVirtualizer.measureElement`)\n * can attach a ref and `data-index` to each rendered row.\n */\nexport const DataListRowButton = forwardRef<HTMLButtonElement, DataListRowButtonProps>(\n ({ children, className, type = 'button', colStart, colEnd, featured, variant, style, ...rest }, ref) => {\n const isWrapped = useDataListRowWrapperContext();\n const hasColumnOverride = colStart !== undefined || colEnd !== undefined;\n const resolvedStyle = hasColumnOverride ? { ...style, gridColumn: `${colStart ?? 1} / ${colEnd ?? -1}` } : style;\n return (\n <button\n ref={ref}\n type={type}\n className={cn(\n ...(isWrapped ? dataListRowInteractiveStyles : dataListRowStyles),\n 'text-left',\n // `!` so the selection fill wins over borderless table root styling\n // (higher-specificity descendant rules); same color in `default`.\n featured && 'bg-surface-row-featured!',\n dataListRowVariants({ variant }),\n className,\n )}\n style={resolvedStyle}\n {...rest}\n >\n {children}\n </button>\n );\n },\n);\n\nDataListRowButton.displayName = 'DataListRowButton';\n","import type { CSSProperties, ComponentPropsWithoutRef, ReactNode } from 'react';\nimport { useDataListRowWrapperContext } from './data-list-row-wrapper-context';\nimport { dataListRowInteractiveStyles, dataListRowStyles, dataListRowVariants } from './shared';\nimport type { DataListRowSharedProps } from './shared';\nimport type { LinkComponent } from '@/ds/types/link-component';\nimport { cn } from '@/lib/utils';\n\nexport type DataListRowLinkProps = DataListRowSharedProps & {\n children: ReactNode;\n to: string;\n className?: string;\n style?: CSSProperties;\n LinkComponent?: LinkComponent;\n} & Omit<ComponentPropsWithoutRef<'a'>, 'href' | 'children' | 'className' | 'style'>;\n\nexport function DataListRowLink({\n children,\n to,\n className,\n style,\n LinkComponent: Link = 'a',\n colStart,\n colEnd,\n featured,\n variant,\n ...rest\n}: DataListRowLinkProps) {\n const isWrapped = useDataListRowWrapperContext();\n const hasColumnOverride = colStart !== undefined || colEnd !== undefined;\n const resolvedStyle = hasColumnOverride ? { ...style, gridColumn: `${colStart ?? 1} / ${colEnd ?? -1}` } : style;\n return (\n <Link\n href={to}\n className={cn(\n ...(isWrapped ? dataListRowInteractiveStyles : dataListRowStyles),\n // `!` so the selection fill wins over borderless table root styling\n // (higher-specificity descendant rules); same color in `default`.\n featured && 'bg-surface-row-featured!',\n dataListRowVariants({ variant }),\n className,\n )}\n style={resolvedStyle}\n {...rest}\n >\n {children}\n </Link>\n );\n}\n","import { forwardRef } from 'react';\nimport type { ComponentPropsWithoutRef } from 'react';\nimport { DataListRowWrapperContext } from './data-list-row-wrapper-context';\nimport { dataListRowOuterStyles } from './shared';\nimport { cn } from '@/lib/utils';\n\nexport type DataListRowWrapperProps = ComponentPropsWithoutRef<'div'>;\n\n/**\n * Non-interactive grid wrapper. Used to host a leading or trailing cell (e.g. a\n * selection checkbox or row actions) alongside a `DataList.RowButton` so\n * hover/focus/click only apply to the button portion. For standalone\n * interactive rows, use `DataList.RowButton` directly without this wrapper.\n *\n * Carries the `.data-list-row` marker so root-level row styling behaves the\n * same in wrapped and standalone rows.\n */\nexport const DataListRowWrapper = forwardRef<HTMLDivElement, DataListRowWrapperProps>(\n ({ children, className, ...rest }, ref) => {\n return (\n <DataListRowWrapperContext.Provider value>\n <div ref={ref} className={cn('grid grid-cols-subgrid gap-0', ...dataListRowOuterStyles, className)} {...rest}>\n {children}\n </div>\n </DataListRowWrapperContext.Provider>\n );\n },\n);\n\nDataListRowWrapper.displayName = 'DataListRowWrapper';\n","export type DataListSpacerProps = {\n /** Pixel height of the spacer. Pass 0 to render nothing. */\n height: number;\n};\n\n/**\n * Pads top/bottom of the visible window when virtualizing — preserves the\n * grid's total scroll height for the rows that aren't currently rendered.\n * Spans the full grid width so it doesn't disturb column layout.\n */\nexport function DataListSpacer({ height }: DataListSpacerProps) {\n if (height <= 0) return null;\n return <div className=\"col-span-full\" style={{ height }} />;\n}\n","import type { ComponentPropsWithoutRef } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type DataListTopProps = ComponentPropsWithoutRef<'div'> & {\n /**\n * Switch to a \"leading cell\" layout: drops the default gap between children\n * and the default left padding, so a leading cell (e.g. `TopSelectCell`)\n * sits flush against the grid edge and an inner `TopCells` group owns the\n * remaining column spacing. Mirrors how `Row` + `RowButton` compose.\n */\n hasLeadingCell?: boolean;\n};\n\nexport function DataListTop({ children, className, hasLeadingCell, ...props }: DataListTopProps) {\n return (\n <div\n className={cn(\n 'group/data-list-top data-list-top sticky top-0 z-20 col-span-full grid grid-cols-subgrid gap-8 px-5',\n hasLeadingCell && 'gap-0 pl-0!',\n className,\n )}\n {...props}\n >\n {children}\n </div>\n );\n}\n","import type { ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport { dataListStickyStartStyles, dataListTopRevealStyles } from './shared';\nimport type { DataListSticky } from './shared';\nimport { Checkbox } from '@/ds/components/Checkbox';\nimport { Tooltip, TooltipTrigger, TooltipContent } from '@/ds/components/Tooltip';\nimport { cn } from '@/lib/utils';\n\nexport type DataListTopCellProps = {\n children: ReactNode;\n className?: string;\n /**\n * HTML element rendered for the top cell. Defaults to `span`. Use `'label'`\n * when the cell wraps a labelable control (e.g. a select-all Checkbox).\n */\n as?: ElementType;\n /** Pins the top cell to the horizontal start edge while the list scrolls sideways. */\n sticky?: DataListSticky;\n} & Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'className' | 'ref'>;\n\nexport const DataListTopCell = forwardRef<HTMLSpanElement, DataListTopCellProps>(\n ({ children, className, as, sticky, ...rest }, ref) => {\n const Component = as || 'span';\n const isText = typeof children === 'string' || typeof children === 'number';\n return (\n <Component\n ref={ref}\n className={cn(\n 'flex h-10 max-w-full min-w-0 items-center overflow-hidden py-1 text-ui-sm font-medium whitespace-nowrap text-neutral2',\n sticky === 'start' && dataListStickyStartStyles,\n sticky === 'start' && '-mr-4 -ml-5 w-auto max-w-none rounded-l-lg pr-4 pl-5',\n sticky === 'start' && 'z-20 bg-[var(--data-list-sticky-header-background)]',\n className,\n )}\n {...rest}\n >\n {/* Plain string/number titles truncate with an ellipsis; element children\n (icons, smart long/short labels, checkboxes) render as-is. */}\n {isText ? <span className=\"min-w-0 truncate\">{children}</span> : children}\n </Component>\n );\n },\n);\n\nexport type DataListTopCellWithTooltipProps = {\n children: ReactNode;\n tooltip: ReactNode;\n className?: string;\n};\n\nexport function DataListTopCellWithTooltip({ children, tooltip, className }: DataListTopCellWithTooltipProps) {\n return (\n <Tooltip>\n <TooltipTrigger>\n <DataListTopCell className={className}>{children}</DataListTopCell>\n </TooltipTrigger>\n <TooltipContent>{tooltip}</TooltipContent>\n </Tooltip>\n );\n}\n\nexport type DataListTopCellSmartProps = {\n long: ReactNode;\n short: ReactNode;\n tooltip?: string;\n breakpoint?: 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n className?: string;\n};\n\nconst breakpointClasses: Record<'sm' | 'md' | 'lg' | 'xl' | '2xl', { show: string; hide: string }> = {\n sm: { show: 'hidden sm:inline-flex', hide: 'inline-flex sm:hidden' },\n md: { show: 'hidden md:inline-flex', hide: 'inline-flex md:hidden' },\n lg: { show: 'hidden lg:inline-flex', hide: 'inline-flex lg:hidden' },\n xl: { show: 'hidden xl:inline-flex', hide: 'inline-flex xl:hidden' },\n '2xl': { show: 'hidden 2xl:inline-flex', hide: 'inline-flex 2xl:hidden' },\n};\n\nexport function DataListTopCellSmart({\n long,\n short,\n tooltip,\n breakpoint = '2xl',\n className,\n}: DataListTopCellSmartProps) {\n const tooltipText = tooltip ?? (typeof long === 'string' ? long : undefined);\n const bp = breakpointClasses[breakpoint];\n\n const content = (\n <>\n <span className={cn('items-center gap-1', bp.show)}>{long}</span>\n <span className={cn('items-center gap-1', bp.hide)}>{short}</span>\n </>\n );\n\n if (tooltipText) {\n return (\n <DataListTopCellWithTooltip tooltip={tooltipText} className={cn('flex [&_svg]:size-[1.3em]', className)}>\n {content}\n </DataListTopCellWithTooltip>\n );\n }\n\n return <DataListTopCell className={cn('flex [&_svg]:size-[1.3em]', className)}>{content}</DataListTopCell>;\n}\n\nexport interface DataListTopSelectCellProps {\n /** Pass `'indeterminate'` when some — but not all — rows are selected. */\n checked: boolean | 'indeterminate';\n /** Toggles the global selection. Typically clears when fully selected, otherwise selects all. */\n onToggle: () => void;\n 'aria-label'?: string;\n}\n\nexport function DataListTopSelectCell({ checked, onToggle, ...rest }: DataListTopSelectCellProps) {\n return (\n <DataListTopCell\n as=\"label\"\n className={cn(\n 'w-8 cursor-pointer justify-center overflow-visible px-0 py-0!',\n checked === false && dataListTopRevealStyles,\n )}\n onClick={e => e.stopPropagation()}\n >\n <Checkbox checked={checked} onCheckedChange={() => onToggle()} aria-label={rest['aria-label']} />\n </DataListTopCell>\n );\n}\n"],"names":["cva","jsx","cn","Children","isValidElement","cloneElement","Checkbox","isToday","format","jsxs","Fragment","ScrollArea","createContext","useContext","forwardRef","tooltip","Tooltip","TooltipTrigger","TooltipContent"],"mappings":";;;;;;;;;;;AAOO,MAAM,sBAAA,GAAyB;AAAA,EACpC,kEAAA;AAAA,EACA;AACF;AAMO,MAAM,4BAAA,GAA+B;AAAA,EAC1C,+DAAA;AAAA,EACA,0EAAA;AAAA,EACA;AACF,CAAA;AAEO,MAAM,iBAAA,GAAoB,CAAC,GAAG,4BAAA,EAA8B,GAAG,sBAAsB,CAAA;AAErF,MAAM,uBAAA,GAA0B,CAAC,mCAAA,EAAqC,GAAG,sBAAsB;AAQ/F,MAAM,uBAAA,GACX,yHAAA;AAGK,MAAM,uBAAA,GACX,yHAAA;AAMK,MAAM,yBAAA,GAA4B;AAAA,EACvC,iFAAA;AAAA,EACA;AACF,CAAA;AAWO,MAAM,mBAAA,GAAsBA,UAAI,EAAA,EAAI;AAAA,EACzC,QAAA,EAAU;AAAA,IACR,OAAA,EAAS;AAAA,MACP,OAAA,EAAS,EAAA;AAAA,MACT,KAAA,EAAO;AAAA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