@abpjs/ui 0.2.0-next.25 → 0.2.0-next.27
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 +18 -0
- package/dist/agent.js +1 -1
- package/dist/agent.js.map +1 -1
- package/dist/index.d.ts +40 -2
- package/dist/index.js +905 -654
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0-next.27
|
|
4
|
+
|
|
5
|
+
A prerelease under npm's `next` tag. (0.2.0-next.26 was tagged but never published: a test list was malformed.)
|
|
6
|
+
|
|
7
|
+
- `EmptyState variant="page"`: for a page whose whole main content is empty. In place of the icon it draws
|
|
8
|
+
`illustration`, the feature the page is about: `records`, `board`, `views`, `dashboards`, `dashboard`, `reports`,
|
|
9
|
+
`calendar`, `timeline`, `gantt`, `backlog`, `queue`, `comments` or `files`. The drawing is a clear card with softer
|
|
10
|
+
cards either side that fade into the surface. A search that finds nothing (`no-results`, `no-filter-match`) adds a
|
|
11
|
+
small search mark. Errors never get the drawing.
|
|
12
|
+
- `EmptyState art`: a small flat drawing in place of the icon, for an empty list in a panel or a settings card:
|
|
13
|
+
`records`, `search`, `done`, `bell`, `handover`, `agent` or `error`.
|
|
14
|
+
- `EmptyState layout="inline"`: the drawing, the words and the action on one line, on a quiet surface. The action
|
|
15
|
+
wraps under the words when there's no room.
|
|
16
|
+
- The drawings use only the theme's tokens (neutral, accent, amber, green) in light and dark, and are decorative
|
|
17
|
+
(`aria-hidden`). A `no-results` or `no-filter-match` empty state is a polite live region, and an `error` one is an
|
|
18
|
+
alert.
|
|
19
|
+
- `PageIllustration`, `EmptyArtDrawing`, `EmptyIllustration` and `EmptyArt` are exported.
|
|
20
|
+
|
|
3
21
|
## 0.2.0-next.25
|
|
4
22
|
|
|
5
23
|
A prerelease under npm's `next` tag.
|
package/dist/agent.js
CHANGED
|
@@ -1731,7 +1731,7 @@ function AgentChatPanel({ itemHref }) {
|
|
|
1731
1731
|
trapFocus: false,
|
|
1732
1732
|
preventScroll: false,
|
|
1733
1733
|
onOpenChange: (e) => !e.open && close(),
|
|
1734
|
-
children: /* @__PURE__ */ jsx14(Portal, { children: /* @__PURE__ */ jsx14(Drawer.Positioner, { pointerEvents: "none", children: /* @__PURE__ */ jsxs13(Drawer.Content, { pointerEvents: "auto", borderStartWidth: "1px", borderColor: "border.muted", "data-testid": "agent-chat", children: [
|
|
1734
|
+
children: /* @__PURE__ */ jsx14(Portal, { children: /* @__PURE__ */ jsx14(Drawer.Positioner, { pointerEvents: "none", width: "100%", children: /* @__PURE__ */ jsxs13(Drawer.Content, { pointerEvents: "auto", borderStartWidth: "1px", borderColor: "border.muted", "data-testid": "agent-chat", children: [
|
|
1735
1735
|
view.kind === "list" ? /* @__PURE__ */ jsx14(ChatList, { onOpen: (id) => setView({ kind: "chat", id }), onNew: () => setView({ kind: "new", target: {} }) }) : view.kind === "new" ? /* @__PURE__ */ jsx14(NewChat, { target: view.target, onBack: () => setView({ kind: "list" }), onStarted: (id) => setView({ kind: "chat", id }) }) : /* @__PURE__ */ jsx14(ChatView, { id: view.id, onBack: () => setView({ kind: "list" }), onMissing: view.opened ? () => setView({ kind: "list" }) : void 0 }, view.id),
|
|
1736
1736
|
/* @__PURE__ */ jsx14(Drawer.CloseTrigger, { asChild: true, children: /* @__PURE__ */ jsx14(CloseButton, { size: "sm", "aria-label": t("chat.close") }) })
|
|
1737
1737
|
] }) }) })
|