@arbidocs/react 0.3.175 → 0.3.177

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkFIPS3VPH_cjs = require('./chunk-FIPS3VPH.cjs');
4
3
  var chunk7IOCMCC5_cjs = require('./chunk-7IOCMCC5.cjs');
4
+ var chunkFIPS3VPH_cjs = require('./chunk-FIPS3VPH.cjs');
5
5
  var React2 = require('react');
6
6
  var reactQuery = require('@tanstack/react-query');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -3265,14 +3265,14 @@ var CitationPopover = ({
3265
3265
  "button",
3266
3266
  {
3267
3267
  onClick: onDismissCitation,
3268
- className: "shrink-0 text-muted-foreground hover:text-foreground transition-colors",
3268
+ className: "-m-1.5 flex shrink-0 items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",
3269
3269
  "aria-label": "Close",
3270
3270
  "data-testid": `citation-popover-close-${citationNum}`,
3271
3271
  children: /* @__PURE__ */ jsxRuntime.jsx(
3272
3272
  "svg",
3273
3273
  {
3274
- width: "12",
3275
- height: "12",
3274
+ width: "14",
3275
+ height: "14",
3276
3276
  viewBox: "0 0 12 12",
3277
3277
  fill: "none",
3278
3278
  xmlns: "http://www.w3.org/2000/svg",
@@ -5397,6 +5397,15 @@ function NotificationBell({
5397
5397
  "data-testid": `${testId}-mute`,
5398
5398
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.BellOff, { className: "size-3.5" })
5399
5399
  }
5400
+ ),
5401
+ /* @__PURE__ */ jsxRuntime.jsx(
5402
+ chunkFIPS3VPH_cjs.DropdownMenuItem,
5403
+ {
5404
+ className: "flex size-6 items-center justify-center rounded-md p-0 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus:bg-accent",
5405
+ "aria-label": "Close notifications",
5406
+ "data-testid": `${testId}-close`,
5407
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-3.5" })
5408
+ }
5400
5409
  )
5401
5410
  ] })
5402
5411
  ] }),
@@ -6472,8 +6481,18 @@ function UserMenu({
6472
6481
  sideOffset: 8,
6473
6482
  collisionPadding: 12,
6474
6483
  className: "w-56 rounded-lg border-border/60 shadow-lg",
6484
+ "data-testid": "user-menu-panel",
6475
6485
  children: [
6476
- /* @__PURE__ */ jsxRuntime.jsxs(chunkFIPS3VPH_cjs.DropdownMenuLabel, { children: [
6486
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkFIPS3VPH_cjs.DropdownMenuLabel, { className: "relative pr-8", children: [
6487
+ /* @__PURE__ */ jsxRuntime.jsx(
6488
+ chunkFIPS3VPH_cjs.DropdownMenuItem,
6489
+ {
6490
+ className: "absolute right-1 top-1 flex size-6 items-center justify-center rounded-md p-0 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus:bg-accent",
6491
+ "aria-label": "Close account menu",
6492
+ "data-testid": "user-menu-close",
6493
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-3.5" })
6494
+ }
6495
+ ),
6477
6496
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium text-foreground", children: user.name }),
6478
6497
  user.email && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs font-normal text-muted-foreground", children: user.email }),
6479
6498
  status && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -7708,6 +7727,14 @@ function hasVideoTrack(blob) {
7708
7727
  });
7709
7728
  }
7710
7729
 
7730
+ Object.defineProperty(exports, "ArbiProvider", {
7731
+ enumerable: true,
7732
+ get: function () { return chunk7IOCMCC5_cjs.ArbiProvider; }
7733
+ });
7734
+ Object.defineProperty(exports, "useArbi", {
7735
+ enumerable: true,
7736
+ get: function () { return chunk7IOCMCC5_cjs.useArbi; }
7737
+ });
7711
7738
  Object.defineProperty(exports, "AiMarkdown", {
7712
7739
  enumerable: true,
7713
7740
  get: function () { return chunkFIPS3VPH_cjs.AiMarkdown; }
@@ -8160,14 +8187,6 @@ Object.defineProperty(exports, "useAudioRecorder", {
8160
8187
  enumerable: true,
8161
8188
  get: function () { return chunkFIPS3VPH_cjs.useAudioRecorder; }
8162
8189
  });
8163
- Object.defineProperty(exports, "ArbiProvider", {
8164
- enumerable: true,
8165
- get: function () { return chunk7IOCMCC5_cjs.ArbiProvider; }
8166
- });
8167
- Object.defineProperty(exports, "useArbi", {
8168
- enumerable: true,
8169
- get: function () { return chunk7IOCMCC5_cjs.useArbi; }
8170
- });
8171
8190
  Object.defineProperty(exports, "Arbi", {
8172
8191
  enumerable: true,
8173
8192
  get: function () { return browser.Arbi; }