aidol 2.15.0 → 2.16.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/dist/client.js CHANGED
@@ -619,7 +619,7 @@ function sa({
619
619
  "div",
620
620
  {
621
621
  className: T(
622
- "bg-base-200 border-base-400 flex flex-col gap-2 rounded-lg border p-4",
622
+ "bg-base-200 border-base-400 relative flex flex-col gap-2 rounded-lg border p-4",
623
623
  Z && "cursor-pointer"
624
624
  ),
625
625
  onClick: Z,
@@ -627,21 +627,28 @@ function sa({
627
627
  tabIndex: Z ? 0 : void 0,
628
628
  onKeyDown: Z ? lt(Z) : void 0,
629
629
  children: [
630
- m && /* @__PURE__ */ r("div", { className: "flex items-center justify-between", children: [
631
- /* @__PURE__ */ t("span", { className: "text-label-l bg-base-content text-base-100 rounded-lg px-2 py-1", children: m }),
632
- b && /* @__PURE__ */ t(
633
- "button",
634
- {
635
- type: "button",
636
- onClick: (c) => {
637
- c.stopPropagation(), b();
638
- },
639
- "aria-label": N("common.close"),
640
- className: "cursor-pointer",
641
- children: /* @__PURE__ */ t(Oa, { className: "text-base-content size-6" })
642
- }
643
- )
644
- ] }),
630
+ b && /* @__PURE__ */ t(
631
+ "button",
632
+ {
633
+ type: "button",
634
+ onClick: (c) => {
635
+ c.stopPropagation(), b();
636
+ },
637
+ "aria-label": N("common.close"),
638
+ className: "absolute top-4 right-4 cursor-pointer",
639
+ children: /* @__PURE__ */ t(Oa, { className: "text-base-content size-6" })
640
+ }
641
+ ),
642
+ m && /* @__PURE__ */ t(
643
+ "span",
644
+ {
645
+ className: T(
646
+ "text-label-l bg-base-content text-base-100 self-start rounded-lg px-2 py-1",
647
+ b && "mr-8"
648
+ ),
649
+ children: m
650
+ }
651
+ ),
645
652
  /* @__PURE__ */ r("div", { className: "flex items-center gap-2", children: [
646
653
  /* @__PURE__ */ t("span", { className: "text-body-s text-base-content", children: a }),
647
654
  /* @__PURE__ */ t(zl, { className: "text-base-content size-6" }),