@ai-matrx/design-system 0.61.2 → 0.61.4
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 +30 -0
- package/dist/controls.cjs +11 -2
- package/dist/controls.cjs.map +1 -1
- package/dist/controls.css +40 -3
- package/dist/controls.d.cts +11 -2
- package/dist/controls.d.ts +11 -2
- package/dist/controls.js +11 -2
- package/dist/controls.js.map +1 -1
- package/dist/data-table/copy-helpers.d.cts +1 -1
- package/dist/data-table/copy-helpers.d.ts +1 -1
- package/dist/data-table/filter-engine.d.cts +1 -1
- package/dist/data-table/filter-engine.d.ts +1 -1
- package/dist/data-table/host.d.cts +1 -1
- package/dist/data-table/host.d.ts +1 -1
- package/dist/data-table/index.cjs +48 -28
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.d.cts +2 -2
- package/dist/data-table/index.d.ts +2 -2
- package/dist/data-table/index.js +48 -28
- package/dist/data-table/index.js.map +1 -1
- package/dist/data-table/infer-filter.d.cts +1 -1
- package/dist/data-table/infer-filter.d.ts +1 -1
- package/dist/data-table/layered-filters.d.cts +1 -1
- package/dist/data-table/layered-filters.d.ts +1 -1
- package/dist/data-table/query-control.d.cts +1 -1
- package/dist/data-table/query-control.d.ts +1 -1
- package/dist/data-table/types.cjs.map +1 -1
- package/dist/data-table/types.d.cts +1 -1
- package/dist/data-table/types.d.ts +1 -1
- package/dist/data-table/url-state.d.cts +1 -1
- package/dist/data-table/url-state.d.ts +1 -1
- package/dist/data-table/xlsx.d.cts +1 -1
- package/dist/data-table/xlsx.d.ts +1 -1
- package/dist/{layered-filters-CkkbZfmk.d.ts → layered-filters-CCWzLsOC.d.ts} +4 -0
- package/dist/{layered-filters-dlFZjEqc.d.cts → layered-filters-DL5BU8Mf.d.cts} +4 -0
- package/dist/tap-target.css +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.61.4
|
|
4
|
+
### one actions column per table
|
|
5
|
+
|
|
6
|
+
- A `customActions` column headed "Actions" (or id `actions` / `custom-actions` / `row-actions`) IS
|
|
7
|
+
the row's actions column: the built-in controls — `rowActions` icons and open-in-window / side
|
|
8
|
+
panel — are drawn inside it, and the built-in "Actions" column is not drawn beside it (two
|
|
9
|
+
"ACTIONS" columns on /education/overview's "Recently created"). A differently named custom
|
|
10
|
+
column ("Workflow") stays its own column beside the built-in one, as before.
|
|
11
|
+
- A table that still renders two columns headed "Actions" logs one `[matrx-table]` console error.
|
|
12
|
+
- The saved-view strip drawn through `toolbar.tabsPortalInto` shrinks and scrolls inside its slot
|
|
13
|
+
(two tabs and their "+" ran over the page's search).
|
|
14
|
+
- 0.60.9 also drew a focused row's own ring (`focus-visible`), replacing a host
|
|
15
|
+
`[&_[data-row-id]:focus-visible]` reach.
|
|
16
|
+
|
|
17
|
+
Consumer action: none for a single declared "Actions" column. A host that declared its own
|
|
18
|
+
"Actions" column AND relied on the built-in column beside it now gets one column.
|
|
19
|
+
|
|
20
|
+
## 0.61.3 — the controls cover the sample pages
|
|
21
|
+
|
|
22
|
+
- `SplitButton` (controls): two Buttons joined — the act and its menu — carrying one half-gap.
|
|
23
|
+
- `Field`/`SearchField` take `end` (trailing content inside the capsule: a clear button).
|
|
24
|
+
- `Tabs` take `rule={false}` when the row they sit in already draws the hairline.
|
|
25
|
+
- `SegmentOption.title` (an icon-only segment's hover name).
|
|
26
|
+
- A control Button's `justify-content` is no longer locked: content alignment is placement
|
|
27
|
+
(ui-drift's one table), so a full-width action row may say `justify-start`.
|
|
28
|
+
- `--matrx-control-field-radius` (9999px) — fields stay capsules through one token.
|
|
29
|
+
- Quiet row actions come up to full ink on a hovered `SettingRow`, not only a list row.
|
|
30
|
+
|
|
31
|
+
No consumer action.
|
|
32
|
+
|
|
3
33
|
## 0.61.2 — the glyph trim actually applies
|
|
4
34
|
|
|
5
35
|
- 0.60.10's OPTICAL GLYPH TRIM was a normal declaration in `matrx-tap-lock`, the FIRST cascade
|
package/dist/controls.cjs
CHANGED
|
@@ -47,6 +47,7 @@ __export(controls_exports, {
|
|
|
47
47
|
SegmentedControl: () => SegmentedControl,
|
|
48
48
|
Select: () => Select,
|
|
49
49
|
SettingRow: () => SettingRow,
|
|
50
|
+
SplitButton: () => SplitButton,
|
|
50
51
|
Switch: () => Switch,
|
|
51
52
|
Tabs: () => Tabs,
|
|
52
53
|
Textarea: () => Textarea
|
|
@@ -809,8 +810,12 @@ var Button2 = React7.forwardRef(
|
|
|
809
810
|
}
|
|
810
811
|
);
|
|
811
812
|
Button2.displayName = "Button";
|
|
813
|
+
var SplitButton = React7.forwardRef(
|
|
814
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { ref, role: "group", "data-matrx-control": "split", className: cn("matrx-control-split", className), ...props })
|
|
815
|
+
);
|
|
816
|
+
SplitButton.displayName = "SplitButton";
|
|
812
817
|
var Field = React7.forwardRef(
|
|
813
|
-
({ className, style, icon, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
818
|
+
({ className, style, icon, end, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
814
819
|
"label",
|
|
815
820
|
{
|
|
816
821
|
"data-matrx-control": "field",
|
|
@@ -819,7 +824,8 @@ var Field = React7.forwardRef(
|
|
|
819
824
|
style,
|
|
820
825
|
children: [
|
|
821
826
|
icon,
|
|
822
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { ref, ...props })
|
|
827
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { ref, ...props }),
|
|
828
|
+
end
|
|
823
829
|
]
|
|
824
830
|
}
|
|
825
831
|
)
|
|
@@ -892,6 +898,7 @@ function SegmentItems({
|
|
|
892
898
|
"aria-selected": role ? on : void 0,
|
|
893
899
|
"aria-pressed": role ? void 0 : on,
|
|
894
900
|
"aria-label": o.ariaLabel,
|
|
901
|
+
title: o.title,
|
|
895
902
|
disabled: o.disabled,
|
|
896
903
|
"data-state": on ? "on" : "off",
|
|
897
904
|
className: "matrx-control-segment",
|
|
@@ -927,6 +934,7 @@ function SegmentedControl({
|
|
|
927
934
|
}
|
|
928
935
|
function Tabs({
|
|
929
936
|
variant = "underline",
|
|
937
|
+
rule = true,
|
|
930
938
|
value,
|
|
931
939
|
onValueChange,
|
|
932
940
|
data,
|
|
@@ -953,6 +961,7 @@ function Tabs({
|
|
|
953
961
|
role: "tablist",
|
|
954
962
|
"aria-label": ariaLabel,
|
|
955
963
|
"data-matrx-control": "tabs",
|
|
964
|
+
"data-rule": rule ? void 0 : "none",
|
|
956
965
|
className: cn("matrx-control-tabs", className),
|
|
957
966
|
style,
|
|
958
967
|
children: data.map((o) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|