@stokelp/ui 2.83.0 → 2.84.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/ui.js CHANGED
@@ -17811,11 +17811,11 @@ const Lp = /* @__PURE__ */ d5.forwardRef(fp), Mp = s(A3, Ha), vp = ({
17811
17811
  ]
17812
17812
  }
17813
17813
  ), gp = s(X0, Va), Zp = ({ name: c, fallbackText: u, imageUrl: n, ...v }) => /* @__PURE__ */ r(gp, { ...v, children: [
17814
- /* @__PURE__ */ r(RC, { children: [
17814
+ /* @__PURE__ */ r(RC, { border: "solid 1px", borderColor: "grey.100", hasBorder: !0, children: [
17815
17815
  /* @__PURE__ */ C(HC, { src: n }),
17816
17816
  /* @__PURE__ */ C(VC, { children: u })
17817
17817
  ] }),
17818
- /* @__PURE__ */ C(m4, { bold: !0, size: "sm", children: c })
17818
+ /* @__PURE__ */ C(m4, { bold: !0, size: "sm", color: "primary.900", children: c })
17819
17819
  ] }), { withProvider: A4 } = C1(ma), wp = A4(s(I.div), "root"), _C = A4(I.div, "message-container"), Rp = A4(cp, "message"), Hp = A4(vp, "document-message"), Vp = A4(Zp, "document-message"), mp = ({ messages: c = [], ...u }) => /* @__PURE__ */ C(f5, { children: /* @__PURE__ */ C(
17820
17820
  wp,
17821
17821
  {
@@ -22517,11 +22517,14 @@ const sf = G({
22517
22517
  jsx: ["Avatar", "Avatar.Root", "Avatar.Image", "Avatar.Fallback"],
22518
22518
  base: {
22519
22519
  root: {
22520
+ display: "flex",
22521
+ justifyContent: "center",
22522
+ alignItems: "center",
22520
22523
  borderRadius: "full",
22521
22524
  flexShrink: 0,
22522
22525
  overflow: "hidden",
22523
- color: "secondary.500",
22524
- background: "secondary.100",
22526
+ color: { base: "secondary.500", _liveQuoteTheme: "secondary.700" },
22527
+ background: { base: "secondary.100", _liveQuoteTheme: "secondary.200" },
22525
22528
  fontWeight: "semibold",
22526
22529
  '& img:not([data-part="image"])': {
22527
22530
  width: "100%",
@@ -22544,7 +22547,8 @@ const sf = G({
22544
22547
  }
22545
22548
  },
22546
22549
  defaultVariants: {
22547
- size: "md"
22550
+ size: "md",
22551
+ hasBorder: !1
22548
22552
  },
22549
22553
  variants: {
22550
22554
  size: {
@@ -22587,6 +22591,15 @@ const sf = G({
22587
22591
  textStyle: "body.sm"
22588
22592
  }
22589
22593
  }
22594
+ },
22595
+ hasBorder: {
22596
+ true: {
22597
+ root: {
22598
+ border: "1px solid",
22599
+ borderColor: "primary.100"
22600
+ }
22601
+ },
22602
+ false: {}
22590
22603
  }
22591
22604
  }
22592
22605
  }), Z0 = {