@abpjs/ui 0.2.0-next.23 → 0.2.0-next.25

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.0-next.25
4
+
5
+ A prerelease under npm's `next` tag.
6
+
7
+ - agent: the chat's delete icon is `danger`, red at all times, like every delete (trash) icon.
8
+
9
+ ## 0.2.0-next.24
10
+
11
+ A prerelease under npm's `next` tag.
12
+
13
+ - `AddButton`: the one look for every add action inside a page, a panel or a dialog (Add filter, Add condition, Add
14
+ member, a create row). It draws link-coloured bold text after a plus, with no fill, no border and no chevron, and is
15
+ underlined on hover. A page's one main action stays a `primary` Button.
16
+ - `IconButton remove`: taking a row out of a list or a form. It is gray at rest and turns red, on a light red fill, only
17
+ on hover. A delete (trash) icon stays `danger`, red at all times.
18
+ - `QueryableList`'s Add filter, `FilterBuilder`'s Add condition and ai's Add an alias and Add a limit use `AddButton`.
19
+ Their row icons use `remove`.
20
+
3
21
  ## 0.2.0-next.23
4
22
 
5
23
  A prerelease under npm's `next` tag.
package/dist/agent.js CHANGED
@@ -1895,7 +1895,7 @@ function ChatView({ id, onBack, onMissing }) {
1895
1895
  c.chat.itemKey ? /* @__PURE__ */ jsx14(ItemLink, { kind: c.chat.itemKind, itemKey: c.chat.itemKey, children: t("chat.about", { key: c.chat.itemKey }) }) : /* @__PURE__ */ jsx14(Where, { chat: c.chat })
1896
1896
  ] })
1897
1897
  ] }),
1898
- c && !going && /* @__PURE__ */ jsx14(IconButton, { "aria-label": t("chat.delete"), size: "sm", onClick: () => void remove(), "data-testid": "agent-chat-delete", children: /* @__PURE__ */ jsx14(Trash2, { size: 16 }) })
1898
+ c && !going && /* @__PURE__ */ jsx14(IconButton, { danger: true, "aria-label": t("chat.delete"), size: "sm", onClick: () => void remove(), "data-testid": "agent-chat-delete", children: /* @__PURE__ */ jsx14(Trash2, { size: 16 }) })
1899
1899
  ] }) }),
1900
1900
  /* @__PURE__ */ jsxs13(Drawer.Body, { children: [
1901
1901
  chat.error && /* @__PURE__ */ jsx14(InlineAlert9, { tone: "danger", children: chat.error }),