@ai-matrx/design-system 0.18.12 → 0.18.13
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 +6 -0
- package/dist/content-transfer.cjs +26 -14
- package/dist/content-transfer.cjs.map +1 -1
- package/dist/content-transfer.css +6 -1
- package/dist/content-transfer.js +26 -14
- package/dist/content-transfer.js.map +1 -1
- package/dist/data-table/data-row-inspector.cjs +26 -14
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +26 -14
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +26 -14
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +26 -14
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/index.cjs +26 -14
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +26 -14
- package/dist/data-table/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
.matrx-alchemy-preview {
|
|
202
202
|
display: block;
|
|
203
203
|
width: 100%;
|
|
204
|
-
min-height:
|
|
204
|
+
min-height: 16rem;
|
|
205
205
|
padding: 0.75rem;
|
|
206
206
|
border: 1px solid hsl(var(--border, 240 6% 90%));
|
|
207
207
|
border-radius: 0.375rem;
|
|
@@ -456,3 +456,8 @@
|
|
|
456
456
|
width: 0.875rem;
|
|
457
457
|
height: 0.875rem;
|
|
458
458
|
}
|
|
459
|
+
|
|
460
|
+
.matrx-alchemy-data-controls { max-height: none; }
|
|
461
|
+
.matrx-alchemy-data-controls-body { display: grid; gap: 0.75rem; margin-top: 0.75rem; }
|
|
462
|
+
.matrx-alchemy-preview-label { display: flex; align-items: center; gap: 0.5rem; }
|
|
463
|
+
.matrx-alchemy-preview-label select { width: auto; min-width: 10rem; max-width: 100%; }
|
package/dist/content-transfer.js
CHANGED
|
@@ -1909,15 +1909,36 @@ function PreparationWorkspace({ restoreFocus, open, state, scopes, onClose, onCh
|
|
|
1909
1909
|
/* @__PURE__ */ jsx8("input", { type: "number", min: "0", value: controls[key] ?? "", onChange: (e) => changeControls({ ...controls, [key]: Number.isNaN(e.target.valueAsNumber) ? null : e.target.valueAsNumber }) })
|
|
1910
1910
|
] }, key))
|
|
1911
1911
|
] }) : null,
|
|
1912
|
-
rows ? /* @__PURE__ */
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1912
|
+
rows ? /* @__PURE__ */ jsxs4("details", { className: "matrx-alchemy-options matrx-alchemy-data-controls", children: [
|
|
1913
|
+
/* @__PURE__ */ jsxs4("summary", { children: [
|
|
1914
|
+
"Data selection \xB7 ",
|
|
1915
|
+
controls.visibleColumns.length,
|
|
1916
|
+
" columns",
|
|
1917
|
+
controls.search || controls.sort || controls.top != null || controls.selectedOnly || Object.values(controls.filters).some(Boolean) ? " \xB7 customized" : " \xB7 all rows"
|
|
1918
|
+
] }),
|
|
1919
|
+
/* @__PURE__ */ jsx8("div", { className: "matrx-alchemy-data-controls-body", children: /* @__PURE__ */ jsx8(RowControls, { rows, controls, change: changeControls }) })
|
|
1920
|
+
] }) : null,
|
|
1921
|
+
state.snapshot.sections.length ? /* @__PURE__ */ jsxs4("details", { className: "matrx-alchemy-options", children: [
|
|
1922
|
+
/* @__PURE__ */ jsxs4("summary", { children: [
|
|
1923
|
+
"Sections \xB7 ",
|
|
1924
|
+
controls.sections.length,
|
|
1925
|
+
" included"
|
|
1926
|
+
] }),
|
|
1927
|
+
/* @__PURE__ */ jsx8("fieldset", { "aria-label": "Included sections", children: state.snapshot.sections.map((section) => /* @__PURE__ */ jsxs4("label", { children: [
|
|
1916
1928
|
/* @__PURE__ */ jsx8("input", { type: "checkbox", checked: controls.sections.includes(section.id), onChange: (e) => changeControls({ ...controls, sections: e.target.checked ? [...controls.sections, section.id] : controls.sections.filter((id) => id !== section.id) }) }),
|
|
1917
1929
|
" ",
|
|
1918
1930
|
section.label
|
|
1919
|
-
] }, section.id))
|
|
1931
|
+
] }, section.id)) })
|
|
1920
1932
|
] }) : null,
|
|
1933
|
+
/* @__PURE__ */ jsxs4("label", { className: "matrx-alchemy-preview-label", children: [
|
|
1934
|
+
"Output format",
|
|
1935
|
+
/* @__PURE__ */ jsxs4("select", { "aria-label": "Output format", value: format, onChange: (e) => setFormat(e.target.value), children: [
|
|
1936
|
+
formats.map((f) => /* @__PURE__ */ jsx8("option", { value: f, children: LABEL[f] }, f)),
|
|
1937
|
+
state.draft.payload.kind === "rows" ? /* @__PURE__ */ jsx8("option", { value: "xlsx", children: "Excel workbook" }) : null,
|
|
1938
|
+
workspaceAdapters.map((adapter) => /* @__PURE__ */ jsx8("option", { value: adapter.id, children: adapter.label }, adapter.id))
|
|
1939
|
+
] })
|
|
1940
|
+
] }),
|
|
1941
|
+
/* @__PURE__ */ jsx8("textarea", { className: "matrx-alchemy-preview", "aria-label": "Prepared output", "aria-invalid": bufferError ? true : void 0, "aria-describedby": bufferError ? "alchemy-buffer-error" : void 0, value: buffer, onChange: (e) => editBuffer(e.target.value) }),
|
|
1921
1942
|
/* @__PURE__ */ jsxs4("div", { className: "matrx-alchemy-coverage", children: [
|
|
1922
1943
|
/* @__PURE__ */ jsxs4("span", { children: [
|
|
1923
1944
|
state.snapshot.coverage.included.toLocaleString(),
|
|
@@ -1944,15 +1965,6 @@ function PreparationWorkspace({ restoreFocus, open, state, scopes, onClose, onCh
|
|
|
1944
1965
|
] }, `${o.path}-${o.reason}-${i}`)) })
|
|
1945
1966
|
] }) : null
|
|
1946
1967
|
] }),
|
|
1947
|
-
/* @__PURE__ */ jsxs4("label", { className: "matrx-alchemy-preview-label", children: [
|
|
1948
|
-
"Output format",
|
|
1949
|
-
/* @__PURE__ */ jsxs4("select", { "aria-label": "Output format", value: format, onChange: (e) => setFormat(e.target.value), children: [
|
|
1950
|
-
formats.map((f) => /* @__PURE__ */ jsx8("option", { value: f, children: LABEL[f] }, f)),
|
|
1951
|
-
state.draft.payload.kind === "rows" ? /* @__PURE__ */ jsx8("option", { value: "xlsx", children: "Excel workbook" }) : null,
|
|
1952
|
-
workspaceAdapters.map((adapter) => /* @__PURE__ */ jsx8("option", { value: adapter.id, children: adapter.label }, adapter.id))
|
|
1953
|
-
] })
|
|
1954
|
-
] }),
|
|
1955
|
-
/* @__PURE__ */ jsx8("textarea", { className: "matrx-alchemy-preview", "aria-label": "Prepared output", "aria-invalid": bufferError ? true : void 0, "aria-describedby": bufferError ? "alchemy-buffer-error" : void 0, value: buffer, onChange: (e) => editBuffer(e.target.value) }),
|
|
1956
1968
|
bufferError ? /* @__PURE__ */ jsx8("p", { id: "alchemy-buffer-error", role: "alert", className: "matrx-alchemy-error", children: bufferError }) : null,
|
|
1957
1969
|
formatError ? /* @__PURE__ */ jsx8("p", { role: "alert", className: "matrx-alchemy-error", children: formatError }) : null,
|
|
1958
1970
|
bufferError ? /* @__PURE__ */ jsx8(Button, { className: "matrx-alchemy-workspace-secondary", type: "button", variant: "outline", disabled: busy !== null, onClick: () => {
|