@ai-matrx/design-system 0.50.13 → 0.51.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.
- package/CHANGELOG.md +10 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.51.0
|
|
4
|
+
|
|
5
|
+
**The confirm never fades out empty.** `ConfirmDialogHost` draws its title, description,
|
|
6
|
+
labels and variant from kit 0.19.0's `useOpenerHost().shown` instead of `request`. The
|
|
7
|
+
dialog animates out after it is answered, and `request` is already null by then, so every
|
|
8
|
+
confirm faded through a blank dialog (reviewer, 2026-10-02). Guard:
|
|
9
|
+
`src/confirm-host-exit.test.tsx` (red on 0.50.13).
|
|
10
|
+
|
|
11
|
+
Consumer action: none — requires `@ai-matrx/kit` 0.19.0, installed with it.
|
|
12
|
+
|
|
3
13
|
## 0.50.13
|
|
4
14
|
|
|
5
15
|
**A selected pill inside a tap group draws one outline, evenly inset.** A group cell
|
package/dist/index.cjs
CHANGED
|
@@ -1956,7 +1956,7 @@ var import_opener_react = require("@ai-matrx/kit/opener-react");
|
|
|
1956
1956
|
var React15 = __toESM(require("react"), 1);
|
|
1957
1957
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1958
1958
|
function ConfirmDialogHost() {
|
|
1959
|
-
const {
|
|
1959
|
+
const { shown, open, settle } = (0, import_opener_react.useOpenerHost)(import_confirm_opener.confirmOpener);
|
|
1960
1960
|
const handleConfirm = React15.useCallback(() => settle(true), [settle]);
|
|
1961
1961
|
const handleOpenChange = React15.useCallback(
|
|
1962
1962
|
(next) => {
|
|
@@ -1969,11 +1969,11 @@ function ConfirmDialogHost() {
|
|
|
1969
1969
|
{
|
|
1970
1970
|
open,
|
|
1971
1971
|
onOpenChange: handleOpenChange,
|
|
1972
|
-
title:
|
|
1973
|
-
description:
|
|
1974
|
-
confirmLabel:
|
|
1975
|
-
cancelLabel:
|
|
1976
|
-
variant:
|
|
1972
|
+
title: shown?.title ?? "",
|
|
1973
|
+
description: shown?.description,
|
|
1974
|
+
confirmLabel: shown?.confirmLabel,
|
|
1975
|
+
cancelLabel: shown?.cancelLabel,
|
|
1976
|
+
variant: shown?.variant,
|
|
1977
1977
|
onConfirm: handleConfirm
|
|
1978
1978
|
}
|
|
1979
1979
|
);
|