react-semaphor 0.0.364 → 0.0.366

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.
@@ -8471,6 +8471,11 @@ const ye = JD()(
8471
8471
  }, n.showContext = !1, n.selectedSheetId = null, n.selectedCardId = null, n.selectedFrameId = null, n.selectedCard = null, n.showFilters = !1, n.isDashboardEditing = !1, n.isVisualEditing = !1, n.showDashboardJSON = !1, n.filteringCards = [], n.selectedLensId = void 0, n.filterValues = void 0;
8472
8472
  });
8473
8473
  },
8474
+ setIsDownloadingPdf: (n) => {
8475
+ e((r) => {
8476
+ r.isDownloadingPdf = n;
8477
+ });
8478
+ },
8474
8479
  setGlobalCacheConfig: (n) => {
8475
8480
  e((r) => {
8476
8481
  r.dashboard.globalCacheConfig = n;
@@ -59185,12 +59190,12 @@ function wRe({ message: e, onAddToDashboard: t }) {
59185
59190
  return i.length === 0 ? null : /* @__PURE__ */ v.jsx("div", { className: "", children: i.map((s, a) => /* @__PURE__ */ v.jsxs(
59186
59191
  "div",
59187
59192
  {
59188
- className: "relative isolate flex h-[350px] w-[99%] grow flex-col",
59193
+ className: "group relative isolate flex h-[350px] w-[99%] grow flex-col",
59189
59194
  children: [
59190
59195
  /* @__PURE__ */ v.jsxs(
59191
59196
  Br,
59192
59197
  {
59193
- className: "absolute right-0 top-0 z-10 h-8 p-2",
59198
+ className: "invisible absolute right-0 top-0 z-10 h-8 p-2 group-hover:visible",
59194
59199
  onClick: () => {
59195
59200
  t == null || t({
59196
59201
  sql: s.sql,
@@ -59202,7 +59207,7 @@ function wRe({ message: e, onAddToDashboard: t }) {
59202
59207
  });
59203
59208
  },
59204
59209
  size: "sm",
59205
- variant: "secondary",
59210
+ variant: "outline",
59206
59211
  children: [
59207
59212
  /* @__PURE__ */ v.jsx(DC, { className: "mr-1 size-4" }),
59208
59213
  "Add"
@@ -59528,7 +59533,7 @@ function ARe() {
59528
59533
  role: "chat-box",
59529
59534
  className: "flex h-full grow flex-col justify-between break-words rounded-md",
59530
59535
  children: [
59531
- /* @__PURE__ */ v.jsxs("div", { className: "flex items-center justify-between gap-2 px-6 py-8", children: [
59536
+ /* @__PURE__ */ v.jsxs("div", { className: "flex items-center justify-between gap-2 px-6 py-6", children: [
59532
59537
  /* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-4", children: [
59533
59538
  /* @__PURE__ */ v.jsx(Ln, { className: "flex items-center gap-2 text-xl", children: "Assistant" }),
59534
59539
  /* @__PURE__ */ v.jsxs(Ap, { openDelay: 0, children: [
@@ -59568,7 +59573,7 @@ function ARe() {
59568
59573
  ) })
59569
59574
  ] }),
59570
59575
  /* @__PURE__ */ v.jsx(l0, { className: "bg-muted" }),
59571
- /* @__PURE__ */ v.jsxs(Gu, { className: "flex flex-1 basis-0 flex-col flex-wrap justify-end px-6 py-6", children: [
59576
+ /* @__PURE__ */ v.jsxs(Gu, { className: "flex flex-1 basis-0 flex-col flex-wrap justify-end px-6 py-3", children: [
59572
59577
  /* @__PURE__ */ v.jsxs("div", { className: "pb-4", children: [
59573
59578
  /* @__PURE__ */ v.jsx(
59574
59579
  RRe,
@@ -59588,7 +59593,7 @@ function ARe() {
59588
59593
  ] }),
59589
59594
  /* @__PURE__ */ v.jsx(x0, { orientation: "vertical" })
59590
59595
  ] }),
59591
- /* @__PURE__ */ v.jsx("div", { className: "px-6 pb-8", children: /* @__PURE__ */ v.jsx(
59596
+ /* @__PURE__ */ v.jsx("div", { className: "px-6 pb-6", children: /* @__PURE__ */ v.jsx(
59592
59597
  kRe,
59593
59598
  {
59594
59599
  stop: w,