@devalok/shilp-sutra-karm 0.1.0 → 0.2.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.
Files changed (64) hide show
  1. package/dist/admin/break/break-admin.d.ts.map +1 -1
  2. package/dist/admin/break/break-admin.js +205 -179
  3. package/dist/admin/break/delete-break.d.ts +2 -4
  4. package/dist/admin/break/delete-break.d.ts.map +1 -1
  5. package/dist/admin/break/delete-break.js +20 -19
  6. package/dist/admin/break/edit-break-balance.d.ts +2 -4
  7. package/dist/admin/break/edit-break-balance.d.ts.map +1 -1
  8. package/dist/admin/break/edit-break-balance.js +20 -19
  9. package/dist/admin/break/edit-break.d.ts +2 -4
  10. package/dist/admin/break/edit-break.d.ts.map +1 -1
  11. package/dist/admin/break/edit-break.js +114 -147
  12. package/dist/admin/break/header.d.ts.map +1 -1
  13. package/dist/admin/break/header.js +52 -50
  14. package/dist/admin/break/leave-request.d.ts +4 -6
  15. package/dist/admin/break/leave-request.d.ts.map +1 -1
  16. package/dist/admin/break/leave-request.js +57 -58
  17. package/dist/admin/dashboard/admin-dashboard.js +2 -2
  18. package/dist/admin/dashboard/associate-detail.d.ts.map +1 -1
  19. package/dist/admin/dashboard/associate-detail.js +46 -57
  20. package/dist/admin/dashboard/attendance-overview.d.ts.map +1 -1
  21. package/dist/admin/dashboard/attendance-overview.js +2 -4
  22. package/dist/admin/dashboard/break-request.d.ts.map +1 -1
  23. package/dist/admin/dashboard/break-request.js +31 -30
  24. package/dist/admin/dashboard/calendar.js +1 -1
  25. package/dist/admin/dashboard/correction-list.d.ts.map +1 -1
  26. package/dist/admin/dashboard/correction-list.js +49 -47
  27. package/dist/admin/dashboard/dashboard-header.d.ts.map +1 -1
  28. package/dist/admin/dashboard/dashboard-header.js +7 -6
  29. package/dist/admin/dashboard/dashboard-skeleton.d.ts.map +1 -1
  30. package/dist/admin/dashboard/dashboard-skeleton.js +11 -13
  31. package/dist/admin/dashboard/leave-requests.d.ts.map +1 -1
  32. package/dist/admin/dashboard/leave-requests.js +78 -75
  33. package/dist/admin/index.d.ts +1 -1
  34. package/dist/admin/index.d.ts.map +1 -1
  35. package/dist/admin/index.js +8 -8
  36. package/dist/admin/utils/render-adjustment-type.d.ts +1 -1
  37. package/dist/admin/utils/render-adjustment-type.d.ts.map +1 -1
  38. package/dist/admin/utils/render-adjustment-type.js +1 -1
  39. package/dist/board/task-card.js +1 -1
  40. package/dist/chat/markdown-components.d.ts +30 -0
  41. package/dist/chat/markdown-components.d.ts.map +1 -0
  42. package/dist/chat/markdown-components.js +16 -0
  43. package/dist/chat/message-list.d.ts.map +1 -1
  44. package/dist/chat/message-list.js +37 -47
  45. package/dist/chat/streaming-text.d.ts.map +1 -1
  46. package/dist/chat/streaming-text.js +10 -23
  47. package/dist/client/client-portal-header.js +5 -5
  48. package/dist/client/project-card.d.ts.map +1 -1
  49. package/dist/dashboard/attendance-cta.d.ts +1 -1
  50. package/dist/dashboard/attendance-cta.d.ts.map +1 -1
  51. package/dist/dashboard/attendance-cta.js +25 -38
  52. package/dist/dashboard/daily-brief.d.ts +1 -1
  53. package/dist/dashboard/daily-brief.d.ts.map +1 -1
  54. package/dist/dashboard/daily-brief.js +2 -1
  55. package/dist/dashboard/index.d.ts +2 -2
  56. package/dist/dashboard/index.d.ts.map +1 -1
  57. package/dist/dashboard/index.js +4 -4
  58. package/dist/index.js +11 -11
  59. package/dist/page-skeletons.d.ts.map +1 -1
  60. package/dist/tasks/review-tab.js +3 -3
  61. package/dist/tasks/task-detail-panel.d.ts +1 -4
  62. package/dist/tasks/task-detail-panel.d.ts.map +1 -1
  63. package/dist/tasks/task-detail-panel.js +96 -96
  64. package/package.json +3 -2
@@ -1,60 +1,50 @@
1
- import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
- import * as u from "react";
3
- import { useRef as p, useCallback as h, useEffect as N } from "react";
4
- import { StreamingText as b } from "./streaming-text.js";
5
- import { IconRobot as i, IconAlertCircle as v, IconUser as y } from "@tabler/icons-react";
6
- import g from "react-markdown";
7
- const w = {
8
- p: ({ children: l }) => /* @__PURE__ */ e("p", { className: "mb-ds-03 last:mb-0", children: l }),
9
- code: ({
10
- children: l,
11
- className: t
12
- }) => (t == null ? void 0 : t.includes("language-")) ? /* @__PURE__ */ e("code", { className: t, children: l }) : /* @__PURE__ */ e("code", { className: "rounded bg-field px-ds-02 py-ds-01 text-ds-md", children: l }),
13
- pre: ({ children: l }) => /* @__PURE__ */ e("pre", { className: "mb-ds-03 overflow-x-auto rounded-ds-lg bg-field p-ds-04 text-ds-md", children: l }),
14
- ul: ({ children: l }) => /* @__PURE__ */ e("ul", { className: "mb-ds-03 list-disc pl-ds-05", children: l }),
15
- ol: ({ children: l }) => /* @__PURE__ */ e("ol", { className: "mb-ds-03 list-decimal pl-ds-05", children: l }),
16
- li: ({ children: l }) => /* @__PURE__ */ e("li", { className: "mb-ds-02", children: l }),
17
- strong: ({ children: l }) => /* @__PURE__ */ e("strong", { className: "font-semibold", children: l })
18
- }, j = u.forwardRef(
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import * as f from "react";
3
+ import { useRef as u, useCallback as h, useEffect as p } from "react";
4
+ import { StreamingText as N } from "./streaming-text.js";
5
+ import { IconRobot as r, IconAlertCircle as v, IconUser as y } from "@tabler/icons-react";
6
+ import b from "react-markdown";
7
+ import { markdownComponents as g } from "./markdown-components.js";
8
+ const w = f.forwardRef(
19
9
  function({
20
- messages: t,
21
- isStreaming: r = !1,
22
- streamingText: c = "",
23
- isLoadingMessages: o = !1,
10
+ messages: a,
11
+ isStreaming: c = !1,
12
+ streamingText: d = "",
13
+ isLoadingMessages: n = !1,
24
14
  emptyTitle: m = "Karm AI",
25
- emptyDescription: x = "Ask me about tasks, projects, attendance, or anything else."
26
- }, a) {
27
- const n = p(null), f = h((s) => {
28
- n.current = s, typeof a == "function" ? a(s) : a && (a.current = s);
29
- }, [a]);
30
- return N(() => {
31
- const s = n.current;
15
+ emptyDescription: o = "Ask me about tasks, projects, attendance, or anything else."
16
+ }, l) {
17
+ const i = u(null), x = h((s) => {
18
+ i.current = s, typeof l == "function" ? l(s) : l && (l.current = s);
19
+ }, [l]);
20
+ return p(() => {
21
+ const s = i.current;
32
22
  s && (s.scrollTop = s.scrollHeight);
33
- }, [t, c]), o ? /* @__PURE__ */ e("div", { ref: a, className: "flex flex-1 items-center justify-center", children: /* @__PURE__ */ d("div", { className: "flex flex-col items-center gap-ds-03", children: [
23
+ }, [a, d]), n ? /* @__PURE__ */ e("div", { ref: l, className: "flex flex-1 items-center justify-center", children: /* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-ds-03", children: [
34
24
  /* @__PURE__ */ e("div", { className: "h-ds-xs w-ds-xs animate-spin rounded-ds-full border-2 border-text-secondary border-t-transparent" }),
35
25
  /* @__PURE__ */ e("p", { className: "text-ds-sm text-text-placeholder", children: "Loading messages..." })
36
- ] }) }) : t.length === 0 && !r ? /* @__PURE__ */ e("div", { ref: a, className: "flex flex-1 items-center justify-center p-ds-06", children: /* @__PURE__ */ d("div", { className: "flex flex-col items-center gap-ds-04 text-center", children: [
37
- /* @__PURE__ */ e("div", { className: "flex h-ds-lg w-ds-lg items-center justify-center rounded-ds-full bg-field", children: /* @__PURE__ */ e(i, { className: "h-ico-lg w-ico-lg text-text-secondary" }) }),
26
+ ] }) }) : a.length === 0 && !c ? /* @__PURE__ */ e("div", { ref: l, className: "flex flex-1 items-center justify-center p-ds-06", children: /* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-ds-04 text-center", children: [
27
+ /* @__PURE__ */ e("div", { className: "flex h-ds-lg w-ds-lg items-center justify-center rounded-ds-full bg-field", children: /* @__PURE__ */ e(r, { className: "h-ico-lg w-ico-lg text-text-secondary" }) }),
38
28
  /* @__PURE__ */ e("h3", { className: "text-ds-base text-text-primary", children: m }),
39
- /* @__PURE__ */ e("p", { className: "text-ds-sm max-w-[280px] text-text-placeholder", children: x })
40
- ] }) }) : /* @__PURE__ */ e("div", { ref: f, className: "no-scrollbar flex-1 overflow-y-auto p-ds-05", children: /* @__PURE__ */ d("div", { className: "flex flex-col gap-ds-05", role: "log", "aria-label": "Chat messages", children: [
41
- t.map((s) => s.role === "SYSTEM" ? /* @__PURE__ */ e("div", { className: "flex justify-center", children: /* @__PURE__ */ d("div", { className: "flex items-center gap-ds-03 rounded-ds-lg bg-error-surface px-ds-04 py-ds-03", children: [
29
+ /* @__PURE__ */ e("p", { className: "text-ds-sm max-w-[280px] text-text-placeholder", children: o })
30
+ ] }) }) : /* @__PURE__ */ e("div", { ref: x, className: "no-scrollbar flex-1 overflow-y-auto p-ds-05", children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-ds-05", role: "log", "aria-label": "Chat messages", children: [
31
+ a.map((s) => s.role === "SYSTEM" ? /* @__PURE__ */ e("div", { className: "flex justify-center", children: /* @__PURE__ */ t("div", { className: "flex items-center gap-ds-03 rounded-ds-lg bg-error-surface px-ds-04 py-ds-03", children: [
42
32
  /* @__PURE__ */ e(v, { className: "h-ico-sm w-ico-sm shrink-0 text-text-error" }),
43
33
  /* @__PURE__ */ e("p", { className: "text-ds-sm text-text-error", children: s.content })
44
- ] }) }, s.id) : s.role === "USER" ? /* @__PURE__ */ e("div", { className: "flex justify-end", children: /* @__PURE__ */ d("div", { className: "flex max-w-[85%] items-start gap-ds-03", children: [
34
+ ] }) }, s.id) : s.role === "USER" ? /* @__PURE__ */ e("div", { className: "flex justify-end", children: /* @__PURE__ */ t("div", { className: "flex max-w-[85%] items-start gap-ds-03", children: [
45
35
  /* @__PURE__ */ e("div", { className: "rounded-ds-2xl rounded-br-ds-sm bg-interactive px-ds-04 py-ds-03 text-text-on-color", children: /* @__PURE__ */ e("p", { className: "text-ds-md whitespace-pre-wrap", children: s.content }) }),
46
36
  /* @__PURE__ */ e("div", { className: "flex h-ds-xs-plus w-ds-xs-plus shrink-0 items-center justify-center rounded-ds-full bg-field", children: /* @__PURE__ */ e(y, { className: "h-ico-sm w-ico-sm text-text-secondary" }) })
47
- ] }) }, s.id) : /* @__PURE__ */ e("div", { className: "flex justify-start", children: /* @__PURE__ */ d("div", { className: "flex max-w-[85%] items-start gap-ds-03", children: [
48
- /* @__PURE__ */ e("div", { className: "flex h-ds-xs-plus w-ds-xs-plus shrink-0 items-center justify-center rounded-ds-full bg-field", children: /* @__PURE__ */ e(i, { className: "h-ico-sm w-ico-sm text-text-secondary" }) }),
49
- /* @__PURE__ */ e("div", { className: "rounded-ds-2xl rounded-bl-ds-sm bg-field px-ds-04 py-ds-03", children: /* @__PURE__ */ e("div", { className: "text-ds-md text-text-primary", children: /* @__PURE__ */ e(g, { components: w, children: s.content }) }) })
37
+ ] }) }, s.id) : /* @__PURE__ */ e("div", { className: "flex justify-start", children: /* @__PURE__ */ t("div", { className: "flex max-w-[85%] items-start gap-ds-03", children: [
38
+ /* @__PURE__ */ e("div", { className: "flex h-ds-xs-plus w-ds-xs-plus shrink-0 items-center justify-center rounded-ds-full bg-field", children: /* @__PURE__ */ e(r, { className: "h-ico-sm w-ico-sm text-text-secondary" }) }),
39
+ /* @__PURE__ */ e("div", { className: "rounded-ds-2xl rounded-bl-ds-sm bg-field px-ds-04 py-ds-03", children: /* @__PURE__ */ e("div", { className: "text-ds-md text-text-primary", children: /* @__PURE__ */ e(b, { components: g, children: s.content }) }) })
50
40
  ] }) }, s.id)),
51
- r && c && /* @__PURE__ */ e("div", { className: "flex justify-start", children: /* @__PURE__ */ d("div", { className: "flex max-w-[85%] items-start gap-ds-03", children: [
52
- /* @__PURE__ */ e("div", { className: "flex h-ds-xs-plus w-ds-xs-plus shrink-0 items-center justify-center rounded-ds-full bg-field", children: /* @__PURE__ */ e(i, { className: "h-ico-sm w-ico-sm text-text-secondary" }) }),
53
- /* @__PURE__ */ e("div", { className: "rounded-ds-2xl rounded-bl-ds-sm bg-field px-ds-04 py-ds-03", children: /* @__PURE__ */ e("div", { className: "text-ds-md text-text-primary", children: /* @__PURE__ */ e(b, { text: c }) }) })
41
+ c && d && /* @__PURE__ */ e("div", { className: "flex justify-start", children: /* @__PURE__ */ t("div", { className: "flex max-w-[85%] items-start gap-ds-03", children: [
42
+ /* @__PURE__ */ e("div", { className: "flex h-ds-xs-plus w-ds-xs-plus shrink-0 items-center justify-center rounded-ds-full bg-field", children: /* @__PURE__ */ e(r, { className: "h-ico-sm w-ico-sm text-text-secondary" }) }),
43
+ /* @__PURE__ */ e("div", { className: "rounded-ds-2xl rounded-bl-ds-sm bg-field px-ds-04 py-ds-03", children: /* @__PURE__ */ e("div", { className: "text-ds-md text-text-primary", children: /* @__PURE__ */ e(N, { text: d }) }) })
54
44
  ] }) }),
55
- r && !c && /* @__PURE__ */ e("div", { className: "flex justify-start", children: /* @__PURE__ */ d("div", { className: "flex max-w-[85%] items-start gap-ds-03", children: [
56
- /* @__PURE__ */ e("div", { className: "flex h-ds-xs-plus w-ds-xs-plus shrink-0 items-center justify-center rounded-ds-full bg-field", children: /* @__PURE__ */ e(i, { className: "h-ico-sm w-ico-sm text-text-secondary" }) }),
57
- /* @__PURE__ */ e("div", { className: "rounded-ds-2xl rounded-bl-ds-sm bg-field px-ds-04 py-ds-03", children: /* @__PURE__ */ d("div", { className: "flex items-center gap-ds-02b py-ds-02", children: [
45
+ c && !d && /* @__PURE__ */ e("div", { className: "flex justify-start", children: /* @__PURE__ */ t("div", { className: "flex max-w-[85%] items-start gap-ds-03", children: [
46
+ /* @__PURE__ */ e("div", { className: "flex h-ds-xs-plus w-ds-xs-plus shrink-0 items-center justify-center rounded-ds-full bg-field", children: /* @__PURE__ */ e(r, { className: "h-ico-sm w-ico-sm text-text-secondary" }) }),
47
+ /* @__PURE__ */ e("div", { className: "rounded-ds-2xl rounded-bl-ds-sm bg-field px-ds-04 py-ds-03", children: /* @__PURE__ */ t("div", { className: "flex items-center gap-ds-02b py-ds-02", children: [
58
48
  /* @__PURE__ */ e("div", { className: "h-2 w-2 animate-bounce rounded-ds-full bg-text-placeholder [animation-delay:0ms]" }),
59
49
  /* @__PURE__ */ e("div", { className: "h-2 w-2 animate-bounce rounded-ds-full bg-text-placeholder [animation-delay:150ms]" }),
60
50
  /* @__PURE__ */ e("div", { className: "h-2 w-2 animate-bounce rounded-ds-full bg-text-placeholder [animation-delay:300ms]" })
@@ -63,7 +53,7 @@ const w = {
63
53
  ] }) });
64
54
  }
65
55
  );
66
- j.displayName = "MessageList";
56
+ w.displayName = "MessageList";
67
57
  export {
68
- j as MessageList
58
+ w as MessageList
69
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"streaming-text.d.ts","sourceRoot":"","sources":["../../src/chat/streaming-text.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;CACb;AAED,eAAO,MAAM,aAAa,2FAyCzB,CAAA"}
1
+ {"version":3,"file":"streaming-text.d.ts","sourceRoot":"","sources":["../../src/chat/streaming-text.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;CACb;AAED,eAAO,MAAM,aAAa,2FAWzB,CAAA"}
@@ -1,29 +1,16 @@
1
- import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import * as r from "react";
3
- import i from "react-markdown";
4
- const m = r.forwardRef(
5
- function({ text: t }, o) {
6
- return /* @__PURE__ */ l("div", { ref: o, children: [
7
- /* @__PURE__ */ e(
8
- i,
9
- {
10
- components: {
11
- p: ({ children: s }) => /* @__PURE__ */ e("p", { className: "mb-ds-03 last:mb-0", children: s }),
12
- code: ({ children: s, className: d }) => (d == null ? void 0 : d.includes("language-")) ? /* @__PURE__ */ e("code", { className: d, children: s }) : /* @__PURE__ */ e("code", { className: "rounded bg-field px-ds-02 py-ds-01 text-ds-md", children: s }),
13
- pre: ({ children: s }) => /* @__PURE__ */ e("pre", { className: "mb-ds-03 overflow-x-auto rounded-ds-lg bg-field p-ds-04 text-ds-md", children: s }),
14
- ul: ({ children: s }) => /* @__PURE__ */ e("ul", { className: "mb-ds-03 list-disc pl-ds-05", children: s }),
15
- ol: ({ children: s }) => /* @__PURE__ */ e("ol", { className: "mb-ds-03 list-decimal pl-ds-05", children: s }),
16
- li: ({ children: s }) => /* @__PURE__ */ e("li", { className: "mb-ds-02", children: s }),
17
- strong: ({ children: s }) => /* @__PURE__ */ e("strong", { className: "font-semibold", children: s })
18
- },
19
- children: t
20
- }
21
- ),
1
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
+ import * as o from "react";
3
+ import m from "react-markdown";
4
+ import { markdownComponents as a } from "./markdown-components.js";
5
+ const i = o.forwardRef(
6
+ function({ text: r }, t) {
7
+ return /* @__PURE__ */ n("div", { ref: t, children: [
8
+ /* @__PURE__ */ e(m, { components: a, children: r }),
22
9
  /* @__PURE__ */ e("span", { className: "inline-block h-4 w-2 animate-pulse bg-text-secondary ml-ds-01" })
23
10
  ] });
24
11
  }
25
12
  );
26
- m.displayName = "StreamingText";
13
+ i.displayName = "StreamingText";
27
14
  export {
28
- m as StreamingText
15
+ i as StreamingText
29
16
  };
@@ -3,23 +3,23 @@ import * as x from "react";
3
3
  import { cn as f } from "@devalok/shilp-sutra/ui";
4
4
  import { Avatar as b, AvatarImage as h, AvatarFallback as v } from "@devalok/shilp-sutra/ui";
5
5
  const j = x.forwardRef(
6
- ({ className: l, orgName: t, orgLogo: r, userName: i, userAvatar: d, children: m, ...n }, c) => {
6
+ ({ className: l, orgName: t, orgLogo: d, userName: i, userAvatar: r, children: m, ...n }, c) => {
7
7
  const o = t.split(" ").map((a) => a[0]).join("").slice(0, 2).toUpperCase(), p = i.split(" ").map((a) => a[0]).join("").slice(0, 2).toUpperCase();
8
8
  return /* @__PURE__ */ s(
9
9
  "header",
10
10
  {
11
11
  ref: c,
12
12
  className: f(
13
- "flex h-16 items-center justify-between border-b border-border-subtle bg-layer-01 px-ds-06",
13
+ "flex h-ds-lg items-center justify-between border-b border-border-subtle bg-layer-01 px-ds-06",
14
14
  l
15
15
  ),
16
16
  ...n,
17
17
  children: [
18
18
  /* @__PURE__ */ s("div", { className: "flex items-center gap-ds-04", children: [
19
- r ? /* @__PURE__ */ e(
19
+ d ? /* @__PURE__ */ e(
20
20
  "img",
21
21
  {
22
- src: r,
22
+ src: d,
23
23
  alt: t,
24
24
  className: "h-ds-sm w-ds-sm rounded-ds-md object-cover"
25
25
  }
@@ -30,7 +30,7 @@ const j = x.forwardRef(
30
30
  m,
31
31
  /* @__PURE__ */ s("div", { className: "flex items-center gap-ds-03", children: [
32
32
  /* @__PURE__ */ s(b, { className: "h-ds-sm w-ds-sm", children: [
33
- d && /* @__PURE__ */ e(h, { src: d, alt: i }),
33
+ r && /* @__PURE__ */ e(h, { src: r, alt: i }),
34
34
  /* @__PURE__ */ e(v, { className: "bg-interactive-subtle text-ds-sm font-medium text-interactive", children: p })
35
35
  ] }),
36
36
  /* @__PURE__ */ e("span", { className: "hidden text-ds-md font-medium text-text-primary sm:inline", children: i })
@@ -1 +1 @@
1
- {"version":3,"file":"project-card.d.ts","sourceRoot":"","sources":["../../src/client/project-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAA;IACzC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAQD,QAAA,MAAM,WAAW,yFAkDhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"project-card.d.ts","sourceRoot":"","sources":["../../src/client/project-card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAA;IACzC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAQD,QAAA,MAAM,WAAW,yFAkDhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -18,5 +18,5 @@ export interface AttendanceCTAProps {
18
18
  formatTime?: (timeStr: string) => string;
19
19
  }
20
20
  declare const AttendanceCTA: React.ForwardRefExoticComponent<AttendanceCTAProps & React.RefAttributes<HTMLDivElement>>;
21
- export default AttendanceCTA;
21
+ export { AttendanceCTA };
22
22
  //# sourceMappingURL=attendance-cta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"attendance-cta.d.ts","sourceRoot":"","sources":["../../src/dashboard/attendance-cta.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,UAAU,cAAc;IACtB,UAAU,EAAE;QACV,EAAE,EAAE,MAAM,CAAA;QACV,MAAM,EAAE,MAAM,CAAA;QACd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;QACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;KACvB,CAAA;IACD,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,cAAc,GAAG,IAAI,CAAA;IACjC,iBAAiB,EAAE,OAAO,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAA;CACzC;AAoCD,QAAA,MAAM,aAAa,2FAmJlB,CAAA;AAID,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"attendance-cta.d.ts","sourceRoot":"","sources":["../../src/dashboard/attendance-cta.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,UAAU,cAAc;IACtB,UAAU,EAAE;QACV,EAAE,EAAE,MAAM,CAAA;QACV,MAAM,EAAE,MAAM,CAAA;QACd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;QACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;KACvB,CAAA;IACD,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,cAAc,GAAG,IAAI,CAAA;IACjC,iBAAiB,EAAE,OAAO,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAA;CACzC;AAoCD,QAAA,MAAM,aAAa,2FAwIlB,CAAA;AAID,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1,11 +1,11 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import * as N from "react";
3
- import { IconCheck as g, IconCoffee as y, IconClock as w } from "@tabler/icons-react";
4
- function k() {
2
+ import * as v from "react";
3
+ import { IconCheck as g, IconCoffee as y, IconClock as w, IconArrowRight as k } from "@tabler/icons-react";
4
+ function A() {
5
5
  const r = (/* @__PURE__ */ new Date()).getHours();
6
6
  return r < 12 ? "Good morning" : r < 17 ? "Good afternoon" : "Good evening";
7
7
  }
8
- function A() {
8
+ function C() {
9
9
  return (/* @__PURE__ */ new Date()).toLocaleDateString("en-IN", {
10
10
  weekday: "long",
11
11
  day: "numeric",
@@ -14,7 +14,7 @@ function A() {
14
14
  timeZone: "Asia/Kolkata"
15
15
  });
16
16
  }
17
- function C(r) {
17
+ function I(r) {
18
18
  return new Date(r).toLocaleTimeString("en-IN", {
19
19
  hour: "2-digit",
20
20
  minute: "2-digit",
@@ -22,44 +22,44 @@ function C(r) {
22
22
  timeZone: "Asia/Kolkata"
23
23
  });
24
24
  }
25
- const j = N.forwardRef(
25
+ const j = v.forwardRef(
26
26
  function({
27
- userName: o,
27
+ userName: n,
28
28
  attendance: s,
29
29
  canMarkAttendance: p,
30
30
  onMarkAttendance: u,
31
31
  isSubmitting: d = !1,
32
- formatTime: b = C
33
- }, i) {
32
+ formatTime: b = I
33
+ }, a) {
34
34
  var h, f;
35
- const c = ((h = s == null ? void 0 : s.attendance) == null ? void 0 : h.status) ?? "Not_Marked", v = c === "PRESENT" || d, x = c === "BREAK", m = (f = s == null ? void 0 : s.attendance) == null ? void 0 : f.timeIn, a = k(), l = (o == null ? void 0 : o.split(" ")[0]) || "there", n = A();
36
- return v && !x ? /* @__PURE__ */ e("div", { ref: i, className: "relative overflow-hidden rounded-ds-2xl border border-border bg-layer-01 shadow-01", children: /* @__PURE__ */ t("div", { className: "flex items-center justify-between px-ds-06 py-ds-05b sm:px-ds-07", children: [
35
+ const o = ((h = s == null ? void 0 : s.attendance) == null ? void 0 : h.status) ?? "Not_Marked", N = o === "PRESENT" || d, m = o === "BREAK", x = (f = s == null ? void 0 : s.attendance) == null ? void 0 : f.timeIn, i = A(), l = (n == null ? void 0 : n.split(" ")[0]) || "there", c = C();
36
+ return N && !m ? /* @__PURE__ */ e("div", { ref: a, className: "relative overflow-hidden rounded-ds-2xl border border-border bg-layer-01 shadow-01", children: /* @__PURE__ */ t("div", { className: "flex items-center justify-between px-ds-06 py-ds-05b sm:px-ds-07", children: [
37
37
  /* @__PURE__ */ t("div", { className: "flex flex-col gap-ds-02", children: [
38
38
  /* @__PURE__ */ t("h2", { className: "text-ds-2xl text-text-primary", children: [
39
- a,
39
+ i,
40
40
  ",",
41
41
  " ",
42
42
  /* @__PURE__ */ e("span", { className: "font-semibold italic text-interactive", children: l })
43
43
  ] }),
44
- /* @__PURE__ */ e("p", { className: "text-ds-md text-text-tertiary", children: n })
44
+ /* @__PURE__ */ e("p", { className: "text-ds-md text-text-tertiary", children: c })
45
45
  ] }),
46
46
  /* @__PURE__ */ t("div", { className: "flex items-center gap-ds-03 rounded-ds-xl bg-success-surface px-ds-05 py-ds-03", children: [
47
47
  /* @__PURE__ */ e("div", { className: "flex h-ico-md w-ico-md items-center justify-center rounded-ds-full bg-text-success", children: /* @__PURE__ */ e(g, { className: "h-ico-sm w-ico-sm text-text-on-color" }) }),
48
48
  /* @__PURE__ */ t("span", { className: "text-ds-md font-semibold text-text-success", children: [
49
49
  "Marked at",
50
50
  " ",
51
- m ? b(m) : "--:--"
51
+ x ? b(x) : "--:--"
52
52
  ] })
53
53
  ] })
54
- ] }) }) : x ? /* @__PURE__ */ e("div", { ref: i, className: "relative overflow-hidden rounded-ds-2xl border border-border bg-layer-01 shadow-01", children: /* @__PURE__ */ t("div", { className: "flex items-center justify-between px-ds-06 py-ds-05b sm:px-ds-07", children: [
54
+ ] }) }) : m ? /* @__PURE__ */ e("div", { ref: a, className: "relative overflow-hidden rounded-ds-2xl border border-border bg-layer-01 shadow-01", children: /* @__PURE__ */ t("div", { className: "flex items-center justify-between px-ds-06 py-ds-05b sm:px-ds-07", children: [
55
55
  /* @__PURE__ */ t("div", { className: "flex flex-col gap-ds-02", children: [
56
56
  /* @__PURE__ */ t("h2", { className: "text-ds-2xl text-text-primary", children: [
57
- a,
57
+ i,
58
58
  ",",
59
59
  " ",
60
60
  /* @__PURE__ */ e("span", { className: "font-semibold italic text-interactive", children: l })
61
61
  ] }),
62
- /* @__PURE__ */ e("p", { className: "text-ds-md text-text-tertiary", children: n })
62
+ /* @__PURE__ */ e("p", { className: "text-ds-md text-text-tertiary", children: c })
63
63
  ] }),
64
64
  /* @__PURE__ */ t("div", { className: "flex items-center gap-ds-03 rounded-ds-xl bg-warning-surface px-ds-05 py-ds-03", children: [
65
65
  /* @__PURE__ */ e(y, { className: "h-ico-sm w-ico-sm text-text-warning" }),
@@ -68,15 +68,15 @@ const j = N.forwardRef(
68
68
  s != null && s.breakReason ? ` — ${s.breakReason}` : ""
69
69
  ] })
70
70
  ] })
71
- ] }) }) : p ? /* @__PURE__ */ e("div", { ref: i, className: "relative overflow-hidden rounded-ds-2xl border border-border bg-gradient-to-br from-interactive-subtle via-background to-success-surface", children: /* @__PURE__ */ t("div", { className: "flex items-center justify-between px-ds-06 py-ds-07 sm:px-ds-07 sm:py-ds-08", children: [
71
+ ] }) }) : p ? /* @__PURE__ */ e("div", { ref: a, className: "relative overflow-hidden rounded-ds-2xl border border-border bg-gradient-to-br from-interactive-subtle via-background to-success-surface", children: /* @__PURE__ */ t("div", { className: "flex items-center justify-between px-ds-06 py-ds-07 sm:px-ds-07 sm:py-ds-08", children: [
72
72
  /* @__PURE__ */ t("div", { className: "flex flex-col gap-ds-02b", children: [
73
73
  /* @__PURE__ */ t("h2", { className: "text-ds-3xl text-text-primary", children: [
74
- a,
74
+ i,
75
75
  ",",
76
76
  " ",
77
77
  /* @__PURE__ */ e("span", { className: "font-semibold italic text-interactive", children: l })
78
78
  ] }),
79
- /* @__PURE__ */ e("div", { className: "flex items-center gap-ds-03", children: /* @__PURE__ */ e("p", { className: "text-ds-base text-text-tertiary", children: n }) })
79
+ /* @__PURE__ */ e("div", { className: "flex items-center gap-ds-03", children: /* @__PURE__ */ e("p", { className: "text-ds-base text-text-tertiary", children: c }) })
80
80
  ] }),
81
81
  /* @__PURE__ */ t(
82
82
  "button",
@@ -87,32 +87,19 @@ const j = N.forwardRef(
87
87
  className: "flex items-center gap-ds-03 rounded-ds-xl bg-interactive px-ds-06 py-ds-04 font-semibold text-text-on-color shadow-02 transition-all duration-moderate-01 ease-expressive-standard hover:-translate-y-0.5 hover:shadow-03 active:translate-y-0 active:scale-[0.98] disabled:opacity-[0.38]",
88
88
  children: [
89
89
  d ? "Marking..." : "Mark Attendance",
90
- !d && /* @__PURE__ */ e(
91
- "svg",
92
- {
93
- width: "18",
94
- height: "18",
95
- viewBox: "0 0 24 24",
96
- fill: "none",
97
- stroke: "currentColor",
98
- strokeWidth: "2",
99
- strokeLinecap: "round",
100
- strokeLinejoin: "round",
101
- children: /* @__PURE__ */ e("path", { d: "M5 12h14M12 5l7 7-7 7" })
102
- }
103
- )
90
+ !d && /* @__PURE__ */ e(k, { className: "h-ico-sm w-ico-sm" })
104
91
  ]
105
92
  }
106
93
  )
107
- ] }) }) : /* @__PURE__ */ e("div", { ref: i, className: "relative overflow-hidden rounded-ds-2xl border border-border bg-layer-01 shadow-01", children: /* @__PURE__ */ t("div", { className: "flex items-center justify-between px-ds-06 py-ds-06 sm:px-ds-07 sm:py-ds-07", children: [
94
+ ] }) }) : /* @__PURE__ */ e("div", { ref: a, className: "relative overflow-hidden rounded-ds-2xl border border-border bg-layer-01 shadow-01", children: /* @__PURE__ */ t("div", { className: "flex items-center justify-between px-ds-06 py-ds-06 sm:px-ds-07 sm:py-ds-07", children: [
108
95
  /* @__PURE__ */ t("div", { className: "flex flex-col gap-ds-02b", children: [
109
96
  /* @__PURE__ */ t("h2", { className: "text-ds-3xl text-text-primary", children: [
110
- a,
97
+ i,
111
98
  ",",
112
99
  " ",
113
100
  /* @__PURE__ */ e("span", { className: "font-semibold italic text-interactive", children: l })
114
101
  ] }),
115
- /* @__PURE__ */ e("p", { className: "text-ds-base text-text-tertiary", children: n })
102
+ /* @__PURE__ */ e("p", { className: "text-ds-base text-text-tertiary", children: c })
116
103
  ] }),
117
104
  /* @__PURE__ */ t("div", { className: "flex items-center gap-ds-03 rounded-ds-xl bg-layer-02 px-ds-05 py-ds-03", children: [
118
105
  /* @__PURE__ */ e(w, { className: "h-ico-sm w-ico-sm text-text-placeholder" }),
@@ -123,5 +110,5 @@ const j = N.forwardRef(
123
110
  );
124
111
  j.displayName = "AttendanceCTA";
125
112
  export {
126
- j as default
113
+ j as AttendanceCTA
127
114
  };
@@ -9,5 +9,5 @@ export interface DailyBriefProps {
9
9
  className?: string;
10
10
  }
11
11
  declare const DailyBrief: React.ForwardRefExoticComponent<DailyBriefProps & React.RefAttributes<HTMLDivElement>>;
12
- export default DailyBrief;
12
+ export { DailyBrief };
13
13
  //# sourceMappingURL=daily-brief.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"daily-brief.d.ts","sourceRoot":"","sources":["../../src/dashboard/daily-brief.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,SAAS,GAAG,IAAI,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAcD,QAAA,MAAM,UAAU,wFAoEf,CAAA;AAID,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"daily-brief.d.ts","sourceRoot":"","sources":["../../src/dashboard/daily-brief.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,SAAS,GAAG,IAAI,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAcD,QAAA,MAAM,UAAU,wFAqEf,CAAA;AAID,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -37,6 +37,7 @@ const c = [
37
37
  "button",
38
38
  {
39
39
  type: "button",
40
+ "aria-label": "Toggle brief",
40
41
  onClick: () => m(!t),
41
42
  className: "flex items-center justify-between px-ds-05b py-ds-05 transition-colors hover:bg-layer-02",
42
43
  children: [
@@ -62,5 +63,5 @@ const c = [
62
63
  );
63
64
  u.displayName = "DailyBrief";
64
65
  export {
65
- u as default
66
+ u as DailyBrief
66
67
  };
@@ -1,3 +1,3 @@
1
- export { default as AttendanceCTA, type AttendanceCTAProps } from './attendance-cta';
2
- export { default as DailyBrief, type BriefData, type DailyBriefProps } from './daily-brief';
1
+ export { AttendanceCTA, type AttendanceCTAProps } from './attendance-cta';
2
+ export { DailyBrief, type BriefData, type DailyBriefProps } from './daily-brief';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dashboard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACpF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dashboard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACzE,OAAO,EAAE,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAA"}
@@ -1,6 +1,6 @@
1
- import { default as t } from "./attendance-cta.js";
2
- import { default as r } from "./daily-brief.js";
1
+ import { AttendanceCTA as o } from "./attendance-cta.js";
2
+ import { DailyBrief as f } from "./daily-brief.js";
3
3
  export {
4
- t as AttendanceCTA,
5
- r as DailyBrief
4
+ o as AttendanceCTA,
5
+ f as DailyBrief
6
6
  };
package/dist/index.js CHANGED
@@ -6,21 +6,21 @@ import { TaskDetailPanel as i } from "./tasks/task-detail-panel.js";
6
6
  import { TaskProperties as k } from "./tasks/task-properties.js";
7
7
  import { ActivityTab as A } from "./tasks/activity-tab.js";
8
8
  import { ConversationTab as T } from "./tasks/conversation-tab.js";
9
- import { FilesTab as u } from "./tasks/files-tab.js";
10
- import { ReviewTab as c } from "./tasks/review-tab.js";
9
+ import { FilesTab as v } from "./tasks/files-tab.js";
10
+ import { ReviewTab as D } from "./tasks/review-tab.js";
11
11
  import { SubtasksTab as S } from "./tasks/subtasks-tab.js";
12
12
  import { ChatPanel as P } from "./chat/chat-panel.js";
13
13
  import { ChatInput as y } from "./chat/chat-input.js";
14
14
  import { MessageList as R } from "./chat/message-list.js";
15
15
  import { ConversationList as q } from "./chat/conversation-list.js";
16
16
  import { StreamingText as H } from "./chat/streaming-text.js";
17
- import { default as E } from "./dashboard/attendance-cta.js";
18
- import { default as F } from "./dashboard/daily-brief.js";
17
+ import { AttendanceCTA as E } from "./dashboard/attendance-cta.js";
18
+ import { DailyBrief as F } from "./dashboard/daily-brief.js";
19
19
  import { AccentProvider as M } from "./client/accent-provider.js";
20
20
  import { ClientPortalHeader as z } from "./client/client-portal-header.js";
21
21
  import { ProjectCard as J } from "./client/project-card.js";
22
22
  import { SegmentedControl as Q, SegmentedControlItem as U, segmentedControlItemVariants as W } from "@devalok/shilp-sutra/ui";
23
- import { AdjustmentType as Y, default as Z } from "./admin/utils/render-adjustment-type.js";
23
+ import { AdjustmentType as Y, renderAdjustmentType as Z } from "./admin/utils/render-adjustment-type.js";
24
24
  import { AdminDashboard as $ } from "./admin/dashboard/admin-dashboard.js";
25
25
  import { DashboardSkeleton as re } from "./admin/dashboard/dashboard-skeleton.js";
26
26
  import { ApprovedAdjustments as te } from "./admin/adjustments/approved-adjustments.js";
@@ -32,8 +32,8 @@ import { BreakAdminSkeleton as le } from "./admin/break/break-admin-skeleton.js"
32
32
  import { BreakBalance as Ce } from "./admin/break/break-balance.js";
33
33
  import { BreakRequestCard as Be } from "./admin/dashboard/break-request.js";
34
34
  import { Breaks as be } from "./admin/break/breaks.js";
35
- import { Calendar as ve } from "./admin/dashboard/calendar.js";
36
- import { CorrectionList as De } from "./admin/dashboard/correction-list.js";
35
+ import { Calendar as ce } from "./admin/dashboard/calendar.js";
36
+ import { CorrectionList as ue } from "./admin/dashboard/correction-list.js";
37
37
  import { DashboardHeader as he } from "./admin/dashboard/dashboard-header.js";
38
38
  import { DeleteBreak as ge } from "./admin/break/delete-break.js";
39
39
  import { EditBreak as Le } from "./admin/break/edit-break.js";
@@ -59,27 +59,27 @@ export {
59
59
  Ce as BreakBalance,
60
60
  Be as BreakRequestCard,
61
61
  be as Breaks,
62
- ve as Calendar,
62
+ ce as Calendar,
63
63
  y as ChatInput,
64
64
  P as ChatPanel,
65
65
  z as ClientPortalHeader,
66
66
  q as ConversationList,
67
67
  T as ConversationTab,
68
- De as CorrectionList,
68
+ ue as CorrectionList,
69
69
  F as DailyBrief,
70
70
  he as DashboardHeader,
71
71
  ge as DeleteBreak,
72
72
  t as DevsabhaSkeleton,
73
73
  Le as EditBreak,
74
74
  je as EditBreakBalance,
75
- u as FilesTab,
75
+ v as FilesTab,
76
76
  m as KanbanBoard,
77
77
  we as LeaveRequest,
78
78
  Ie as LeaveRequests,
79
79
  R as MessageList,
80
80
  J as ProjectCard,
81
81
  Oe as RenderDate,
82
- c as ReviewTab,
82
+ D as ReviewTab,
83
83
  Q as SegmentedControl,
84
84
  U as SegmentedControlItem,
85
85
  H as StreamingText,
@@ -1 +1 @@
1
- {"version":3,"file":"page-skeletons.d.ts","sourceRoot":"","sources":["../src/page-skeletons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,QAAA,MAAM,gBAAgB,sEAoGrB,CAAA;AAMD,QAAA,MAAM,iBAAiB,sEA0DtB,CAAA;AAID,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,CAAA"}
1
+ {"version":3,"file":"page-skeletons.d.ts","sourceRoot":"","sources":["../src/page-skeletons.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,QAAA,MAAM,gBAAgB,sEAoGrB,CAAA;AAMD,QAAA,MAAM,iBAAiB,sEA0DtB,CAAA;AAID,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,CAAA"}
@@ -96,9 +96,9 @@ const G = [
96
96
  onClick: () => E(e.id, s.status),
97
97
  className: p(
98
98
  "inline-flex items-center gap-ds-02 rounded-ds-md px-ds-03 py-ds-02 text-ds-sm font-semibold transition-colors",
99
- s.status === "APPROVED" && "bg-success-surface text-text-success hover:opacity-90",
100
- s.status === "CHANGES_REQUESTED" && "bg-warning-surface text-text-warning hover:opacity-90",
101
- s.status === "REJECTED" && "bg-error-surface text-text-error hover:opacity-90"
99
+ s.status === "APPROVED" && "bg-success-surface text-text-success hover:opacity-[0.9]",
100
+ s.status === "CHANGES_REQUESTED" && "bg-warning-surface text-text-warning hover:opacity-[0.9]",
101
+ s.status === "REJECTED" && "bg-error-surface text-text-error hover:opacity-[0.9]"
102
102
  ),
103
103
  children: [
104
104
  /* @__PURE__ */ t(c, { className: "h-3 w-3", stroke: 2 }),
@@ -84,10 +84,7 @@ interface TaskDetailPanelProps {
84
84
  }) => React.ReactNode;
85
85
  isUploading?: boolean;
86
86
  }
87
- declare function TaskDetailPanel({ task, loading, open, onOpenChange, columns, members, activities, enrichedComments, clientMode, clientEditableFields, onTitleUpdate, onPropertyUpdate, onAssign, onUnassign, onCreateSubtask, onToggleSubtask, onRequestReview, onUpdateReviewStatus, onPostComment, onUploadFile, onDeleteFile, onTabChange, renderEditor, renderViewer, renderPriorityIndicator, renderDatePicker, isUploading, }: TaskDetailPanelProps): import("react/jsx-runtime").JSX.Element;
88
- declare namespace TaskDetailPanel {
89
- var displayName: string;
90
- }
87
+ declare const TaskDetailPanel: React.ForwardRefExoticComponent<TaskDetailPanelProps & React.RefAttributes<HTMLDivElement>>;
91
88
  export { TaskDetailPanel };
92
89
  export type { TaskDetailPanelProps };
93
90
  //# sourceMappingURL=task-detail-panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"task-detail-panel.d.ts","sourceRoot":"","sources":["../../src/tasks/task-detail-panel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,OAAO,EAAkB,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC5E,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC1D,OAAO,EAAa,KAAK,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5D,OAAO,EAAmB,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAClE,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAahE,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;IACpC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;IAC9C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,UAAU,EAAE,UAAU,GAAG,UAAU,CAAA;IACnC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EA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