@trading-game/design-intelligence-layer 0.16.3 → 0.16.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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -998,7 +998,7 @@ type OpenPositionsBlockProps = {
|
|
|
998
998
|
sheetTitle?: string;
|
|
999
999
|
/** Position items to render in the list. Empty array → emptyState is shown. */
|
|
1000
1000
|
positions: Position[];
|
|
1001
|
-
/** Footer link handler. The button label is fixed: "View
|
|
1001
|
+
/** Footer link handler. The button label is fixed: "View trade history". */
|
|
1002
1002
|
onViewHistory?: () => void;
|
|
1003
1003
|
/** Replaces the default empty state when positions.length === 0. */
|
|
1004
1004
|
emptyState?: React$1.ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -998,7 +998,7 @@ type OpenPositionsBlockProps = {
|
|
|
998
998
|
sheetTitle?: string;
|
|
999
999
|
/** Position items to render in the list. Empty array → emptyState is shown. */
|
|
1000
1000
|
positions: Position[];
|
|
1001
|
-
/** Footer link handler. The button label is fixed: "View
|
|
1001
|
+
/** Footer link handler. The button label is fixed: "View trade history". */
|
|
1002
1002
|
onViewHistory?: () => void;
|
|
1003
1003
|
/** Replaces the default empty state when positions.length === 0. */
|
|
1004
1004
|
emptyState?: React$1.ReactNode;
|
package/dist/index.js
CHANGED
|
@@ -7406,7 +7406,7 @@ function PositionsList({
|
|
|
7406
7406
|
i < positions.length - 1 && /* @__PURE__ */ jsx67("div", { className: "h-px mx-4 bg-border-subtle" })
|
|
7407
7407
|
] }, i)) }),
|
|
7408
7408
|
/* @__PURE__ */ jsx67(Separator, {}),
|
|
7409
|
-
/* @__PURE__ */ jsx67("div", { className: "shrink-0 flex justify-center py-4", children: /* @__PURE__ */ jsx67(Button, { variant: "tertiary", size: "md", onClick: onViewHistory, children: "View
|
|
7409
|
+
/* @__PURE__ */ jsx67("div", { className: "shrink-0 flex justify-center py-4", children: /* @__PURE__ */ jsx67(Button, { variant: "tertiary", size: "md", onClick: onViewHistory, children: "View trade history" }) })
|
|
7410
7410
|
] });
|
|
7411
7411
|
}
|
|
7412
7412
|
function PositionRow({ position }) {
|
|
@@ -7461,7 +7461,7 @@ function DefaultEmptyState({ onViewHistory }) {
|
|
|
7461
7461
|
return /* @__PURE__ */ jsx67(Empty, { className: "flex min-h-0 flex-1 flex-col justify-center border-none rounded-none p-6 text-center", children: /* @__PURE__ */ jsxs36(EmptyHeader, { className: "gap-4", children: [
|
|
7462
7462
|
/* @__PURE__ */ jsx67(EmptyMedia, { children: /* @__PURE__ */ jsx67(History2, { className: "size-8 text-on-subtle" }) }),
|
|
7463
7463
|
/* @__PURE__ */ jsx67(EmptyTitle, { className: "text-base leading-6 font-semibold tracking-normal body-md text-on-subtle", children: "No trades yet." }),
|
|
7464
|
-
/* @__PURE__ */ jsx67(Button, { variant: "tertiary", size: "md", onClick: onViewHistory, children: "View
|
|
7464
|
+
/* @__PURE__ */ jsx67(Button, { variant: "tertiary", size: "md", onClick: onViewHistory, children: "View trade history" })
|
|
7465
7465
|
] }) });
|
|
7466
7466
|
}
|
|
7467
7467
|
export {
|