@ai-matrx/design-system 0.86.342 → 0.86.344
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 +33 -2
- package/dist/carousel.js +1 -1
- package/dist/{chunk-FM5RVMH4.js → chunk-54UK6P7E.js} +2 -2
- package/dist/{chunk-B4WMMAAJ.js → chunk-6CDAHINE.js} +1 -1
- package/dist/chunk-6CDAHINE.js.map +1 -0
- package/dist/content-transfer.css +1 -10
- package/dist/controls.cjs.map +1 -1
- package/dist/controls.css +44 -0
- package/dist/controls.d.cts +6 -3
- package/dist/controls.d.ts +6 -3
- package/dist/controls.js +1 -1
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +1 -1
- package/dist/desktop.cjs.map +1 -1
- package/dist/desktop.js +2 -2
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/settings.cjs.map +1 -1
- package/dist/settings.js +1 -1
- package/dist/writing-field.cjs.map +1 -1
- package/dist/writing-field.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-B4WMMAAJ.js.map +0 -1
- /package/dist/{chunk-FM5RVMH4.js.map → chunk-54UK6P7E.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -4438,6 +4438,11 @@ interface AssistPeekCardProps {
|
|
|
4438
4438
|
later?: readonly PeekDoorMenuGroup[] | undefined;
|
|
4439
4439
|
/** "Stop showing" choices (this one, this kind for a while, this kind for good). */
|
|
4440
4440
|
stopShowing?: readonly PeekDoorMenuGroup[] | undefined;
|
|
4441
|
+
/**
|
|
4442
|
+
* This assist in the full list (the host's All assists page, opened on it): a door beside the
|
|
4443
|
+
* verb that opens in a new tab.
|
|
4444
|
+
*/
|
|
4445
|
+
openHref?: string | undefined;
|
|
4441
4446
|
/** A Later or Stop showing choice is being saved. */
|
|
4442
4447
|
deciding?: boolean | undefined;
|
|
4443
4448
|
/** ✕ — not now. The host decides whether that only closes or also declines. */
|
|
@@ -4450,7 +4455,7 @@ interface AssistPeekCardProps {
|
|
|
4450
4455
|
/** A step the card opened in place (a note, a reason, an edit before approving): under the explanation. */
|
|
4451
4456
|
step?: React$1.ReactNode;
|
|
4452
4457
|
}
|
|
4453
|
-
declare function AssistPeekCard({ title, icon: Icon, subtitle, children, why, evidence, yourNote, explainer, primary, later, stopShowing, deciding, onNotNow, closeAs, step, }: AssistPeekCardProps): React$1.JSX.Element;
|
|
4458
|
+
declare function AssistPeekCard({ title, icon: Icon, subtitle, children, why, evidence, yourNote, explainer, primary, later, stopShowing, deciding, openHref, onNotNow, closeAs, step, }: AssistPeekCardProps): React$1.JSX.Element;
|
|
4454
4459
|
interface AssistPeekHoverProps {
|
|
4455
4460
|
/** The collapsed assist (a chip). A hover opens the card; a press opens it and keeps it. */
|
|
4456
4461
|
trigger: React$1.ReactElement;
|
package/dist/index.d.ts
CHANGED
|
@@ -4438,6 +4438,11 @@ interface AssistPeekCardProps {
|
|
|
4438
4438
|
later?: readonly PeekDoorMenuGroup[] | undefined;
|
|
4439
4439
|
/** "Stop showing" choices (this one, this kind for a while, this kind for good). */
|
|
4440
4440
|
stopShowing?: readonly PeekDoorMenuGroup[] | undefined;
|
|
4441
|
+
/**
|
|
4442
|
+
* This assist in the full list (the host's All assists page, opened on it): a door beside the
|
|
4443
|
+
* verb that opens in a new tab.
|
|
4444
|
+
*/
|
|
4445
|
+
openHref?: string | undefined;
|
|
4441
4446
|
/** A Later or Stop showing choice is being saved. */
|
|
4442
4447
|
deciding?: boolean | undefined;
|
|
4443
4448
|
/** ✕ — not now. The host decides whether that only closes or also declines. */
|
|
@@ -4450,7 +4455,7 @@ interface AssistPeekCardProps {
|
|
|
4450
4455
|
/** A step the card opened in place (a note, a reason, an edit before approving): under the explanation. */
|
|
4451
4456
|
step?: React$1.ReactNode;
|
|
4452
4457
|
}
|
|
4453
|
-
declare function AssistPeekCard({ title, icon: Icon, subtitle, children, why, evidence, yourNote, explainer, primary, later, stopShowing, deciding, onNotNow, closeAs, step, }: AssistPeekCardProps): React$1.JSX.Element;
|
|
4458
|
+
declare function AssistPeekCard({ title, icon: Icon, subtitle, children, why, evidence, yourNote, explainer, primary, later, stopShowing, deciding, openHref, onNotNow, closeAs, step, }: AssistPeekCardProps): React$1.JSX.Element;
|
|
4454
4459
|
interface AssistPeekHoverProps {
|
|
4455
4460
|
/** The collapsed assist (a chip). A hover opens the card; a press opens it and keeps it. */
|
|
4456
4461
|
trigger: React$1.ReactElement;
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
matchesOrganizationQuery,
|
|
26
26
|
orderOrganizationsForPicker,
|
|
27
27
|
organizationColor
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-54UK6P7E.js";
|
|
29
29
|
import {
|
|
30
30
|
EditableLabel
|
|
31
31
|
} from "./chunk-J6637L6D.js";
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
EmptyState,
|
|
140
140
|
RowGroup,
|
|
141
141
|
Tile
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-6CDAHINE.js";
|
|
143
143
|
import {
|
|
144
144
|
Drawer,
|
|
145
145
|
DrawerBody,
|
|
@@ -4730,6 +4730,7 @@ function AssistPeekCard({
|
|
|
4730
4730
|
later,
|
|
4731
4731
|
stopShowing,
|
|
4732
4732
|
deciding = false,
|
|
4733
|
+
openHref,
|
|
4733
4734
|
onNotNow,
|
|
4734
4735
|
closeAs = "not-now",
|
|
4735
4736
|
step
|
|
@@ -4737,7 +4738,9 @@ function AssistPeekCard({
|
|
|
4737
4738
|
const closeLabel = closeAs === "dismiss" ? "Dismiss" : "Not now";
|
|
4738
4739
|
const laterDoor = later?.length ? { kind: "action", id: "later", label: "Later", icon: ClockIcon, menu: later, busy: deciding } : null;
|
|
4739
4740
|
const stopDoor = stopShowing?.length ? { kind: "action", id: "stop", label: "Stop showing", icon: BellOffIcon, menu: stopShowing, busy: deciding } : null;
|
|
4740
|
-
const
|
|
4741
|
+
const allDoor = openHref ? { kind: "action", id: "all", label: "Open in All assists", icon: ExternalLinkIcon, href: openHref, newTab: true } : null;
|
|
4742
|
+
const present = [laterDoor, stopDoor, allDoor].filter((door) => door !== null);
|
|
4743
|
+
const doors = present;
|
|
4741
4744
|
return /* @__PURE__ */ jsxs14(PeekCard, { size: "xl", height: "content", "data-matrx-assist-peek": "", "data-matrx-notice-surface": "", children: [
|
|
4742
4745
|
/* @__PURE__ */ jsx25(
|
|
4743
4746
|
PeekCardHeader,
|