@nivaro/react 0.3.100 → 0.3.101

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.
Files changed (30) hide show
  1. package/dist/full.css +1 -1
  2. package/dist/hooks/useSessionRecorder.js +1 -1
  3. package/dist/index.d.ts +46 -3
  4. package/dist/index.js +623 -620
  5. package/dist/shared/components/ActivityEntry.js +5 -5
  6. package/dist/shared/components/ItemEditForm.js +2708 -2704
  7. package/dist/shared/components/JobsTray.js +74 -63
  8. package/dist/shared/components/NotificationBell.js +80 -73
  9. package/dist/shared/components/TipLayer.js +56 -41
  10. package/dist/shared/components/integrations/console/SignalCard.js +40 -40
  11. package/dist/shared/components/integrations/console/drill/SubmissionDrill.js +95 -73
  12. package/dist/shared/components/integrations/console/drill/status.js +23 -18
  13. package/dist/shared/components/item-edit/RecordInsights.js +86 -86
  14. package/dist/shared/components/item-edit/header-path-preview.js +46 -34
  15. package/dist/shared/components/notifications/DeliveryChips.js +1 -2
  16. package/dist/shared/components/panels/BackgroundMove.js +152 -85
  17. package/dist/shared/components/panels/PipelinePanel.js +602 -594
  18. package/dist/shared/components/profile/ActivityFeedCard.js +322 -0
  19. package/dist/shared/components/profile/DayTimeline.js +145 -140
  20. package/dist/shared/components/profile/PersonAccess.js +679 -383
  21. package/dist/shared/components/profile/PersonActivity.js +404 -427
  22. package/dist/shared/components/profile/PersonDidPanel.js +248 -134
  23. package/dist/shared/components/profile/PersonProfile.js +33 -32
  24. package/dist/shared/components/profile/journey-view.js +166 -0
  25. package/dist/shared/lib/activity-sentence.js +319 -236
  26. package/dist/shared/lib/jobs-tray.js +60 -41
  27. package/dist/shared/lib/move-failure.js +16 -6
  28. package/dist/shared/lib/obligation-banner.js +16 -16
  29. package/dist/shared/lib/partner-failure.js +44 -32
  30. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { jsxs as m, jsx as e, Fragment as b } from "react/jsx-runtime";
2
- import { useQuery as g } from "@tanstack/react-query";
1
+ import { jsxs as m, jsx as e, Fragment as g } from "react/jsx-runtime";
2
+ import { useQuery as b } from "@tanstack/react-query";
3
3
  import { ChevronDown as A, ChevronRight as S, Eye as C, KeyRound as D, Bot as L, Upload as j, Workflow as T, Clock as _, Cog as I } from "lucide-react";
4
4
  import { useState as R, useMemo as u } from "react";
5
5
  import { useOptionalNivaroClient as q } from "../context.js";
@@ -116,8 +116,8 @@ function st({
116
116
  empty: l,
117
117
  className: c
118
118
  }) {
119
- const o = u(() => E(a), [a]);
120
- return o.length === 0 ? /* @__PURE__ */ e(b, { children: l ?? null }) : /* @__PURE__ */ e("div", { className: f("divide-y divide-slate-100 dark:divide-border", c), children: o.map((r) => /* @__PURE__ */ e(
119
+ const o = u(() => E(a, { labels: t }), [a, t]);
120
+ return o.length === 0 ? /* @__PURE__ */ e(g, { children: l ?? null }) : /* @__PURE__ */ e("div", { className: f("divide-y divide-slate-100 dark:divide-border", c), children: o.map((r) => /* @__PURE__ */ e(
121
121
  y,
122
122
  {
123
123
  entry: r.entries[0],
@@ -130,7 +130,7 @@ function st({
130
130
  )) });
131
131
  }
132
132
  function lt(a, t = {}) {
133
- const i = q(), n = u(() => K(a), [a]), l = u(() => JSON.stringify(n), [n]), c = n.refs.length === 0 && n.users.length === 0 && n.collections.length === 0, { data: o } = g({
133
+ const i = q(), n = u(() => K(a), [a]), l = u(() => JSON.stringify(n), [n]), c = n.refs.length === 0 && n.users.length === 0 && n.collections.length === 0, { data: o } = b({
134
134
  queryKey: ["activity-labels", l],
135
135
  queryFn: async () => (await i.request(J("/activity/labels", n))).data,
136
136
  enabled: !!i && !c && t.enabled !== !1,