@devalok/shilp-sutra 0.18.0 → 0.18.2

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 (214) hide show
  1. package/dist/_chunks/motion-provider.js +24 -0
  2. package/dist/_chunks/primitives.js +101 -101
  3. package/dist/_chunks/tree-view.js +12 -12
  4. package/dist/_chunks/use-calendar.js +1 -1
  5. package/dist/_chunks/vendor-utils.js +2 -2
  6. package/dist/composed/activity-feed.js +21 -21
  7. package/dist/composed/avatar-group.js +25 -25
  8. package/dist/composed/command-palette.js +3 -3
  9. package/dist/composed/confirm-dialog.js +1 -1
  10. package/dist/composed/content-card.js +1 -1
  11. package/dist/composed/empty-state.js +2 -2
  12. package/dist/composed/error-boundary.js +2 -2
  13. package/dist/composed/global-loading.js +10 -10
  14. package/dist/composed/lib/string-utils.d.ts +0 -1
  15. package/dist/composed/lib/string-utils.js +0 -1
  16. package/dist/composed/loading-skeleton.js +1 -1
  17. package/dist/composed/member-picker.js +6 -6
  18. package/dist/composed/page-header.js +1 -1
  19. package/dist/composed/page-skeletons.js +1 -1
  20. package/dist/composed/priority-indicator.js +6 -6
  21. package/dist/composed/rich-text-editor.js +1 -1
  22. package/dist/composed/schedule-view.js +15 -15
  23. package/dist/composed/simple-tooltip.js +8 -8
  24. package/dist/composed/status-badge.js +12 -12
  25. package/dist/motion/index.d.ts +1 -1
  26. package/dist/motion/index.d.ts.map +1 -1
  27. package/dist/motion/index.js +8 -6
  28. package/dist/motion/primitives-index.js +184 -8
  29. package/dist/shell/app-command-palette.js +1 -1
  30. package/dist/shell/bottom-navbar.js +3 -3
  31. package/dist/shell/notification-center.js +35 -35
  32. package/dist/shell/notification-preferences.js +29 -28
  33. package/dist/shell/sidebar.js +56 -56
  34. package/dist/shell/top-bar.js +25 -25
  35. package/dist/ui/accordion.js +11 -11
  36. package/dist/ui/alert-dialog.js +41 -41
  37. package/dist/ui/alert.js +10 -10
  38. package/dist/ui/aspect-ratio.js +5 -5
  39. package/dist/ui/autocomplete.js +15 -15
  40. package/dist/ui/avatar.js +4 -4
  41. package/dist/ui/badge.js +11 -11
  42. package/dist/ui/banner.js +3 -3
  43. package/dist/ui/breadcrumb.js +8 -8
  44. package/dist/ui/button-group.js +4 -4
  45. package/dist/ui/button.js +25 -25
  46. package/dist/ui/card.js +5 -5
  47. package/dist/ui/charts/index.js +4 -4
  48. package/dist/ui/checkbox.js +4 -4
  49. package/dist/ui/chip.js +14 -14
  50. package/dist/ui/code.js +1 -1
  51. package/dist/ui/collapsible.js +7 -7
  52. package/dist/ui/color-input.js +1 -1
  53. package/dist/ui/combobox.js +5 -5
  54. package/dist/ui/container.js +4 -4
  55. package/dist/ui/context-menu.js +4 -4
  56. package/dist/ui/data-table-toolbar.js +18 -18
  57. package/dist/ui/data-table.js +55 -55
  58. package/dist/ui/dialog.js +3 -3
  59. package/dist/ui/dropdown-menu.js +3 -3
  60. package/dist/ui/file-upload.js +10 -10
  61. package/dist/ui/form.js +1 -1
  62. package/dist/ui/hover-card.js +12 -12
  63. package/dist/ui/icon-button.js +9 -9
  64. package/dist/ui/index.js +322 -516
  65. package/dist/ui/input-otp.js +4 -4
  66. package/dist/ui/input.js +9 -9
  67. package/dist/ui/label.js +9 -9
  68. package/dist/ui/lib/date-utils.d.ts +0 -1
  69. package/dist/{_chunks → ui/lib}/date-utils.js +1 -2
  70. package/dist/{_chunks/motion2.js → ui/lib/motion.js} +13 -14
  71. package/dist/ui/lib/use-ripple.d.ts.map +1 -1
  72. package/dist/ui/lib/utils.js +1 -1
  73. package/dist/ui/link.js +1 -1
  74. package/dist/ui/menubar.js +66 -66
  75. package/dist/ui/navigation-menu.js +4 -4
  76. package/dist/ui/number-input.js +9 -9
  77. package/dist/ui/pagination.js +1 -1
  78. package/dist/ui/popover.js +18 -18
  79. package/dist/ui/progress.js +4 -4
  80. package/dist/ui/radio.js +11 -11
  81. package/dist/ui/search-input.js +2 -2
  82. package/dist/ui/segmented-control.d.ts +2 -0
  83. package/dist/ui/segmented-control.d.ts.map +1 -1
  84. package/dist/ui/segmented-control.js +59 -55
  85. package/dist/ui/select.js +19 -19
  86. package/dist/ui/separator.js +5 -5
  87. package/dist/ui/sheet.js +10 -10
  88. package/dist/ui/sidebar.js +574 -38
  89. package/dist/ui/skeleton.js +1 -1
  90. package/dist/ui/slider.js +9 -9
  91. package/dist/ui/spinner.js +2 -2
  92. package/dist/ui/stack.js +1 -1
  93. package/dist/ui/stat-card.js +35 -35
  94. package/dist/ui/stepper.d.ts +1 -3
  95. package/dist/ui/stepper.d.ts.map +1 -1
  96. package/dist/ui/stepper.js +74 -74
  97. package/dist/ui/switch.js +7 -7
  98. package/dist/ui/table.js +28 -28
  99. package/dist/ui/tabs.js +10 -10
  100. package/dist/ui/text.js +1 -1
  101. package/dist/ui/textarea.js +10 -10
  102. package/dist/ui/toast.js +12 -12
  103. package/dist/ui/toaster.js +11 -11
  104. package/dist/ui/toggle-group.js +2 -2
  105. package/dist/ui/toggle.js +8 -8
  106. package/dist/ui/tooltip.js +21 -21
  107. package/dist/ui/visually-hidden.js +3 -3
  108. package/docs/components/_header.md +83 -0
  109. package/docs/components/composed/activity-feed.md +43 -0
  110. package/docs/components/composed/avatar-group.md +32 -0
  111. package/docs/components/composed/command-palette.md +40 -0
  112. package/docs/components/composed/confirm-dialog.md +46 -0
  113. package/docs/components/composed/content-card.md +36 -0
  114. package/docs/components/composed/date-picker.md +130 -0
  115. package/docs/components/composed/empty-state.md +53 -0
  116. package/docs/components/composed/error-boundary.md +29 -0
  117. package/docs/components/composed/global-loading.md +27 -0
  118. package/docs/components/composed/loading-skeleton.md +51 -0
  119. package/docs/components/composed/member-picker.md +35 -0
  120. package/docs/components/composed/page-header.md +41 -0
  121. package/docs/components/composed/page-skeletons.md +32 -0
  122. package/docs/components/composed/priority-indicator.md +32 -0
  123. package/docs/components/composed/rich-text-editor.md +71 -0
  124. package/docs/components/composed/schedule-view.md +39 -0
  125. package/docs/components/composed/simple-tooltip.md +33 -0
  126. package/docs/components/composed/status-badge.md +41 -0
  127. package/docs/components/shell/app-command-palette.md +44 -0
  128. package/docs/components/shell/bottom-navbar.md +48 -0
  129. package/docs/components/shell/command-registry.md +48 -0
  130. package/docs/components/shell/link-context.md +41 -0
  131. package/docs/components/shell/notification-center.md +63 -0
  132. package/docs/components/shell/notification-preferences.md +42 -0
  133. package/docs/components/shell/sidebar.md +88 -0
  134. package/docs/components/shell/top-bar.md +63 -0
  135. package/docs/components/ui/accordion.md +48 -0
  136. package/docs/components/ui/alert-dialog.md +58 -0
  137. package/docs/components/ui/alert.md +43 -0
  138. package/docs/components/ui/aspect-ratio.md +25 -0
  139. package/docs/components/ui/autocomplete.md +48 -0
  140. package/docs/components/ui/avatar.md +34 -0
  141. package/docs/components/ui/badge.md +48 -0
  142. package/docs/components/ui/banner.md +35 -0
  143. package/docs/components/ui/breadcrumb.md +37 -0
  144. package/docs/components/ui/button-group.md +32 -0
  145. package/docs/components/ui/button.md +55 -0
  146. package/docs/components/ui/card.md +48 -0
  147. package/docs/components/ui/charts.md +43 -0
  148. package/docs/components/ui/checkbox.md +31 -0
  149. package/docs/components/ui/chip.md +43 -0
  150. package/docs/components/ui/code.md +28 -0
  151. package/docs/components/ui/collapsible.md +40 -0
  152. package/docs/components/ui/color-input.md +37 -0
  153. package/docs/components/ui/combobox.md +54 -0
  154. package/docs/components/ui/container.md +26 -0
  155. package/docs/components/ui/context-menu.md +43 -0
  156. package/docs/components/ui/data-table-toolbar.md +44 -0
  157. package/docs/components/ui/data-table.md +91 -0
  158. package/docs/components/ui/dialog.md +51 -0
  159. package/docs/components/ui/dropdown-menu.md +45 -0
  160. package/docs/components/ui/file-upload.md +41 -0
  161. package/docs/components/ui/form.md +51 -0
  162. package/docs/components/ui/hover-card.md +32 -0
  163. package/docs/components/ui/icon-button.md +33 -0
  164. package/docs/components/ui/input-otp.md +44 -0
  165. package/docs/components/ui/input.md +48 -0
  166. package/docs/components/ui/label.md +25 -0
  167. package/docs/components/ui/link.md +29 -0
  168. package/docs/components/ui/menubar.md +44 -0
  169. package/docs/components/ui/navigation-menu.md +46 -0
  170. package/docs/components/ui/number-input.md +44 -0
  171. package/docs/components/ui/pagination.md +48 -0
  172. package/docs/components/ui/popover.md +30 -0
  173. package/docs/components/ui/progress.md +29 -0
  174. package/docs/components/ui/radio.md +34 -0
  175. package/docs/components/ui/search-input.md +43 -0
  176. package/docs/components/ui/segmented-control.md +50 -0
  177. package/docs/components/ui/select.md +49 -0
  178. package/docs/components/ui/separator.md +29 -0
  179. package/docs/components/ui/sheet.md +47 -0
  180. package/docs/components/ui/sidebar.md +72 -0
  181. package/docs/components/ui/skeleton.md +77 -0
  182. package/docs/components/ui/slider.md +29 -0
  183. package/docs/components/ui/spinner.md +50 -0
  184. package/docs/components/ui/stack.md +39 -0
  185. package/docs/components/ui/stat-card.md +61 -0
  186. package/docs/components/ui/stepper.md +49 -0
  187. package/docs/components/ui/switch.md +34 -0
  188. package/docs/components/ui/table.md +47 -0
  189. package/docs/components/ui/tabs.md +56 -0
  190. package/docs/components/ui/text.md +37 -0
  191. package/docs/components/ui/textarea.md +39 -0
  192. package/docs/components/ui/toast.md +65 -0
  193. package/docs/components/ui/toaster.md +47 -0
  194. package/docs/components/ui/toggle-group.md +43 -0
  195. package/docs/components/ui/toggle.md +37 -0
  196. package/docs/components/ui/tooltip.md +33 -0
  197. package/docs/components/ui/tree-view.md +65 -0
  198. package/docs/components/ui/visually-hidden.md +21 -0
  199. package/llms-full.txt +3384 -1591
  200. package/llms.txt +4 -4
  201. package/package.json +28 -3
  202. package/dist/_chunks/avatar.js +0 -52
  203. package/dist/_chunks/button-group.js +0 -27
  204. package/dist/_chunks/button.js +0 -113
  205. package/dist/_chunks/card.js +0 -50
  206. package/dist/_chunks/checkbox.js +0 -16
  207. package/dist/_chunks/form.js +0 -27
  208. package/dist/_chunks/sidebar.js +0 -606
  209. package/dist/_chunks/spinner.js +0 -64
  210. package/dist/_chunks/tooltip.js +0 -30
  211. package/dist/_chunks/utils.js +0 -17
  212. package/dist/motion/motion-provider.js +0 -24
  213. package/dist/motion/primitives.js +0 -187
  214. /package/dist/_chunks/{motion.js → framer.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  "use client";
2
- import { jsxs as a, jsx as t, Fragment as H } from "react/jsx-runtime";
2
+ import { jsxs as l, jsx as t, Fragment as H } from "react/jsx-runtime";
3
3
  import * as O from "react";
4
4
  import { useRef as $, useCallback as x } from "react";
5
- import { f as z } from "../_chunks/date-utils.js";
5
+ import { formatRelativeTime as z } from "../ui/lib/date-utils.js";
6
6
  import { Popover as B, PopoverTrigger as G, PopoverContent as X } from "../ui/popover.js";
7
- import { a as _, b as q, c as F } from "../_chunks/tooltip.js";
7
+ import { Tooltip as _, TooltipTrigger as q, TooltipContent as F } from "../ui/tooltip.js";
8
8
  import { IconBell as J, IconChecks as L, IconInbox as Q, IconX as U } from "@tabler/icons-react";
9
- import { c as p } from "../_chunks/utils.js";
10
- import { S as V } from "../_chunks/spinner.js";
11
- import { m as W } from "../_chunks/motion.js";
12
- function y(e, l) {
13
- return e.getFullYear() === l.getFullYear() && e.getMonth() === l.getMonth() && e.getDate() === l.getDate();
9
+ import { cn as p } from "../ui/lib/utils.js";
10
+ import { Spinner as V } from "../ui/spinner.js";
11
+ import { m as W } from "../_chunks/framer.js";
12
+ function y(e, a) {
13
+ return e.getFullYear() === a.getFullYear() && e.getMonth() === a.getMonth() && e.getDate() === a.getDate();
14
14
  }
15
15
  function Z(e) {
16
- const l = new Date(e), i = /* @__PURE__ */ new Date(), d = /* @__PURE__ */ new Date();
17
- return d.setDate(i.getDate() - 1), y(l, i) ? "Today" : y(l, d) ? "Yesterday" : "Earlier";
16
+ const a = new Date(e), i = /* @__PURE__ */ new Date(), d = /* @__PURE__ */ new Date();
17
+ return d.setDate(i.getDate() - 1), y(a, i) ? "Today" : y(a, d) ? "Yesterday" : "Earlier";
18
18
  }
19
19
  const v = {
20
20
  INFO: "bg-info-9",
@@ -23,15 +23,15 @@ const v = {
23
23
  };
24
24
  function M({
25
25
  notification: e,
26
- onRead: l,
26
+ onRead: a,
27
27
  onNavigate: i,
28
28
  getRoute: d,
29
29
  onDismiss: u
30
30
  }) {
31
31
  const g = d(e), o = () => {
32
- e.isRead || l(e.id), g && i(g);
32
+ e.isRead || a(e.id), g && i(g);
33
33
  };
34
- return /* @__PURE__ */ a(
34
+ return /* @__PURE__ */ l(
35
35
  "div",
36
36
  {
37
37
  role: "button",
@@ -56,7 +56,7 @@ function M({
56
56
  )
57
57
  }
58
58
  ) }),
59
- /* @__PURE__ */ a("div", { className: "min-w-0 flex-1", children: [
59
+ /* @__PURE__ */ l("div", { className: "min-w-0 flex-1", children: [
60
60
  /* @__PURE__ */ t(
61
61
  "p",
62
62
  {
@@ -68,9 +68,9 @@ function M({
68
68
  }
69
69
  ),
70
70
  e.body && /* @__PURE__ */ t("p", { className: "mt-ds-01 line-clamp-2 text-ds-sm text-surface-fg-subtle", children: e.body }),
71
- /* @__PURE__ */ a("div", { className: "mt-ds-02 flex items-center gap-ds-03", children: [
71
+ /* @__PURE__ */ l("div", { className: "mt-ds-02 flex items-center gap-ds-03", children: [
72
72
  /* @__PURE__ */ t("span", { className: "text-ds-sm text-surface-fg-subtle", children: z(e.createdAt) }),
73
- e.project && /* @__PURE__ */ a(H, { children: [
73
+ e.project && /* @__PURE__ */ l(H, { children: [
74
74
  /* @__PURE__ */ t("span", { className: "text-surface-fg-subtle", children: "·" }),
75
75
  /* @__PURE__ */ t("span", { className: "truncate text-ds-sm text-surface-fg-subtle", children: e.project.title })
76
76
  ] })
@@ -112,7 +112,7 @@ function M({
112
112
  const ee = O.forwardRef(
113
113
  ({
114
114
  notifications: e = [],
115
- unreadCount: l,
115
+ unreadCount: a,
116
116
  open: i,
117
117
  onOpenChange: d,
118
118
  isLoading: u = !1,
@@ -130,29 +130,29 @@ const ee = O.forwardRef(
130
130
  className: j,
131
131
  ...R
132
132
  }, k) => {
133
- const N = $(null), n = l ?? e.filter((s) => !s.isRead).length, P = w ?? (() => null), K = x(
133
+ const N = $(null), n = a ?? e.filter((s) => !s.isRead).length, P = w ?? (() => null), K = x(
134
134
  (s) => {
135
135
  d == null || d(!1), c == null || c(s);
136
136
  },
137
137
  [c, d]
138
- ), S = x(
138
+ ), Y = x(
139
139
  (s) => {
140
140
  h == null || h(s);
141
141
  },
142
142
  [h]
143
- ), Y = x(() => {
143
+ ), E = x(() => {
144
144
  const s = N.current;
145
145
  !s || u || !g || s.scrollTop + s.clientHeight >= s.scrollHeight - 50 && (o == null || o());
146
- }, [u, g, o]), E = e.reduce(
146
+ }, [u, g, o]), S = e.reduce(
147
147
  (s, m) => {
148
148
  const f = Z(m.createdAt);
149
149
  return s[f] || (s[f] = []), s[f].push(m), s;
150
150
  },
151
151
  {}
152
152
  ), A = ["Today", "Yesterday", "Earlier"];
153
- return /* @__PURE__ */ a(B, { open: i, onOpenChange: d, children: [
154
- /* @__PURE__ */ a(_, { children: [
155
- /* @__PURE__ */ t(q, { asChild: !0, children: /* @__PURE__ */ t(G, { asChild: !0, children: /* @__PURE__ */ a(
153
+ return /* @__PURE__ */ l(B, { open: i, onOpenChange: d, children: [
154
+ /* @__PURE__ */ l(_, { children: [
155
+ /* @__PURE__ */ t(q, { asChild: !0, children: /* @__PURE__ */ t(G, { asChild: !0, children: /* @__PURE__ */ l(
156
156
  "button",
157
157
  {
158
158
  ...R,
@@ -179,7 +179,7 @@ const ee = O.forwardRef(
179
179
  ) }) }),
180
180
  /* @__PURE__ */ t(F, { side: "bottom", align: "center", children: "Notifications" })
181
181
  ] }),
182
- /* @__PURE__ */ a(
182
+ /* @__PURE__ */ l(
183
183
  X,
184
184
  {
185
185
  className: p(
@@ -189,13 +189,13 @@ const ee = O.forwardRef(
189
189
  sideOffset: 8,
190
190
  align: "end",
191
191
  children: [
192
- /* @__PURE__ */ a("div", { className: "flex items-center justify-between border-b border-surface-border-strong px-ds-05 py-ds-04", children: [
193
- /* @__PURE__ */ a("div", { className: "flex items-center gap-ds-03", children: [
192
+ /* @__PURE__ */ l("div", { className: "flex items-center justify-between border-b border-surface-border-strong px-ds-05 py-ds-04", children: [
193
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-ds-03", children: [
194
194
  /* @__PURE__ */ t("h3", { className: "text-ds-md font-semibold text-surface-fg", children: "Notifications" }),
195
195
  n > 0 && /* @__PURE__ */ t("span", { className: "flex h-5 min-w-5 items-center justify-center rounded-ds-full bg-accent-2 px-ds-02b text-ds-sm font-semibold text-accent-11", children: n })
196
196
  ] }),
197
- /* @__PURE__ */ a("div", { className: "flex items-center gap-ds-03", children: [
198
- n > 0 && r && /* @__PURE__ */ a(
197
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-ds-03", children: [
198
+ n > 0 && r && /* @__PURE__ */ l(
199
199
  "button",
200
200
  {
201
201
  type: "button",
@@ -210,26 +210,26 @@ const ee = O.forwardRef(
210
210
  I
211
211
  ] })
212
212
  ] }),
213
- /* @__PURE__ */ a(
213
+ /* @__PURE__ */ l(
214
214
  "div",
215
215
  {
216
216
  ref: N,
217
- onScroll: Y,
217
+ onScroll: E,
218
218
  className: "max-h-[420px] overflow-y-auto",
219
219
  children: [
220
- e.length === 0 ? C || /* @__PURE__ */ a("div", { className: "flex flex-col items-center justify-center px-ds-05 py-ds-09", children: [
220
+ e.length === 0 ? C || /* @__PURE__ */ l("div", { className: "flex flex-col items-center justify-center px-ds-05 py-ds-09", children: [
221
221
  /* @__PURE__ */ t("div", { className: "flex h-ds-lg w-ds-lg items-center justify-center rounded-ds-full bg-surface-2", children: /* @__PURE__ */ t(Q, { className: "h-ico-lg w-ico-lg text-surface-fg-subtle" }) }),
222
222
  /* @__PURE__ */ t("p", { className: "mt-ds-04 text-ds-md text-surface-fg-subtle", children: "No notifications yet" }),
223
223
  /* @__PURE__ */ t("p", { className: "mt-ds-02 text-ds-sm text-surface-fg-subtle", children: "You're all caught up!" })
224
224
  ] }) : A.map((s) => {
225
- const m = E[s];
226
- return !m || m.length === 0 ? null : /* @__PURE__ */ a("div", { children: [
225
+ const m = S[s];
226
+ return !m || m.length === 0 ? null : /* @__PURE__ */ l("div", { children: [
227
227
  /* @__PURE__ */ t("div", { className: "sticky top-0 z-raised bg-surface-1 px-ds-05 py-ds-02b", children: /* @__PURE__ */ t("span", { className: "text-ds-sm font-medium text-surface-fg-subtle", children: s }) }),
228
228
  m.map((f) => /* @__PURE__ */ t(
229
229
  M,
230
230
  {
231
231
  notification: f,
232
- onRead: S,
232
+ onRead: Y,
233
233
  onNavigate: K,
234
234
  getRoute: P,
235
235
  onDismiss: D
@@ -1,14 +1,15 @@
1
1
  "use client";
2
2
  import { jsxs as s, Fragment as D, jsx as e } from "react/jsx-runtime";
3
3
  import * as z from "react";
4
- import { useState as a } from "react";
5
- import { B as g } from "../_chunks/button.js";
6
- import { Select as d, SelectTrigger as o, SelectValue as m, SelectContent as h, SelectItem as c } from "../ui/select.js";
4
+ import { useState as c } from "react";
5
+ import { Button as g } from "../ui/button.js";
6
+ import { Select as d, SelectTrigger as o, SelectValue as m, SelectContent as h, SelectItem as n } from "../ui/select.js";
7
7
  import { Dialog as q, DialogContent as J, DialogHeader as K, DialogTitle as Q, DialogDescription as W } from "../ui/dialog.js";
8
- import { C as X, a as Y, b as Z, c as $, S as k } from "../_chunks/card.js";
8
+ import { Switch as k } from "../ui/switch.js";
9
+ import { Card as X, CardHeader as Y, CardTitle as Z, CardContent as $ } from "../ui/card.js";
9
10
  import { IconPlus as U, IconTrash as ee, IconMessage as le, IconBell as se } from "@tabler/icons-react";
10
- import { c as te } from "../_chunks/utils.js";
11
- import { S as ae } from "../_chunks/spinner.js";
11
+ import { cn as te } from "../ui/lib/utils.js";
12
+ import { Spinner as ce } from "../ui/spinner.js";
12
13
  const _ = {
13
14
  IN_APP: { label: "In-App", icon: /* @__PURE__ */ e(se, {}) },
14
15
  GOOGLE_CHAT: { label: "Google Chat", icon: /* @__PURE__ */ e(le, {}) }
@@ -16,7 +17,7 @@ const _ = {
16
17
  INFO: "All (Info+)",
17
18
  IMPORTANT: "Important+",
18
19
  CRITICAL: "Critical only"
19
- }, ce = z.forwardRef(
20
+ }, ne = z.forwardRef(
20
21
  function({
21
22
  preferences: f = [],
22
23
  projects: b = [],
@@ -28,7 +29,7 @@ const _ = {
28
29
  className: R,
29
30
  ...T
30
31
  }, E) {
31
- const [B, n] = a(!1), [x, C] = a("global"), [I, w] = a("IN_APP"), [A, P] = a("INFO"), [S, j] = a(!1), [y, O] = a(!1), H = async () => {
32
+ const [H, i] = c(!1), [x, C] = c("global"), [I, w] = c("IN_APP"), [A, P] = c("INFO"), [S, j] = c(!1), [y, O] = c(!1), M = async () => {
32
33
  if (v) {
33
34
  O(!0);
34
35
  try {
@@ -37,7 +38,7 @@ const _ = {
37
38
  channel: I,
38
39
  minTier: A,
39
40
  muted: S
40
- }), n(!1), F();
41
+ }), i(!1), F();
41
42
  } catch (l) {
42
43
  console.error("[Preferences] Failed to save:", l);
43
44
  } finally {
@@ -46,9 +47,9 @@ const _ = {
46
47
  }
47
48
  }, F = () => {
48
49
  C("global"), w("IN_APP"), P("INFO"), j(!1);
49
- }, M = (l) => {
50
+ }, V = (l) => {
50
51
  if (!l) return "Global (all projects)";
51
- const t = b.find((i) => i.id === l);
52
+ const t = b.find((a) => a.id === l);
52
53
  return (t == null ? void 0 : t.title) || "Unknown project";
53
54
  };
54
55
  return /* @__PURE__ */ s(D, { children: [
@@ -60,7 +61,7 @@ const _ = {
60
61
  {
61
62
  size: "sm",
62
63
  variant: "outline",
63
- onClick: () => n(!0),
64
+ onClick: () => i(!0),
64
65
  children: [
65
66
  /* @__PURE__ */ e(U, { className: "mr-ds-02b h-ico-sm w-ico-sm" }),
66
67
  "Add Rule"
@@ -68,8 +69,8 @@ const _ = {
68
69
  }
69
70
  )
70
71
  ] }),
71
- /* @__PURE__ */ e($, { children: L ? /* @__PURE__ */ e("div", { className: "flex items-center justify-center py-ds-07", children: /* @__PURE__ */ e(ae, {}) }) : f.length === 0 ? /* @__PURE__ */ e("div", { className: "py-ds-07 text-center", children: /* @__PURE__ */ e("p", { className: "text-ds-md text-surface-fg-subtle", children: "No custom preferences set. All notifications are delivered by default." }) }) : /* @__PURE__ */ e("div", { className: "flex flex-col", children: f.map((l, t) => {
72
- const i = _[l.channel] || _.IN_APP;
72
+ /* @__PURE__ */ e($, { children: L ? /* @__PURE__ */ e("div", { className: "flex items-center justify-center py-ds-07", children: /* @__PURE__ */ e(ce, {}) }) : f.length === 0 ? /* @__PURE__ */ e("div", { className: "py-ds-07 text-center", children: /* @__PURE__ */ e("p", { className: "text-ds-md text-surface-fg-subtle", children: "No custom preferences set. All notifications are delivered by default." }) }) : /* @__PURE__ */ e("div", { className: "flex flex-col", children: f.map((l, t) => {
73
+ const a = _[l.channel] || _.IN_APP;
73
74
  return /* @__PURE__ */ s(
74
75
  "div",
75
76
  {
@@ -78,10 +79,10 @@ const _ = {
78
79
  t < f.length - 1 && "border-b border-surface-border-strong"
79
80
  ),
80
81
  children: [
81
- /* @__PURE__ */ e("div", { className: "flex h-ds-sm w-ds-sm shrink-0 items-center justify-center rounded-ds-lg bg-surface-2", children: /* @__PURE__ */ e("span", { className: "[&>svg]:h-ico-sm [&>svg]:w-ico-sm text-surface-fg-muted", "aria-hidden": "true", children: i.icon }) }),
82
+ /* @__PURE__ */ e("div", { className: "flex h-ds-sm w-ds-sm shrink-0 items-center justify-center rounded-ds-lg bg-surface-2", children: /* @__PURE__ */ e("span", { className: "[&>svg]:h-ico-sm [&>svg]:w-ico-sm text-surface-fg-muted", "aria-hidden": "true", children: a.icon }) }),
82
83
  /* @__PURE__ */ s("div", { className: "min-w-0 flex-1", children: [
83
- /* @__PURE__ */ e("p", { className: "text-ds-md font-medium text-surface-fg", children: i.label }),
84
- /* @__PURE__ */ e("p", { className: "text-ds-sm text-surface-fg-subtle", children: M(l.projectId) })
84
+ /* @__PURE__ */ e("p", { className: "text-ds-md font-medium text-surface-fg", children: a.label }),
85
+ /* @__PURE__ */ e("p", { className: "text-ds-sm text-surface-fg-subtle", children: V(l.projectId) })
85
86
  ] }),
86
87
  /* @__PURE__ */ s(
87
88
  d,
@@ -90,7 +91,7 @@ const _ = {
90
91
  onValueChange: (r) => N == null ? void 0 : N(l, r),
91
92
  children: [
92
93
  /* @__PURE__ */ e(o, { className: "h-ds-xs-plus w-[130px] text-ds-sm", children: /* @__PURE__ */ e(m, {}) }),
93
- /* @__PURE__ */ e(h, { children: Object.entries(G).map(([r, V]) => /* @__PURE__ */ e(c, { value: r, children: V }, r)) })
94
+ /* @__PURE__ */ e(h, { children: Object.entries(G).map(([r, B]) => /* @__PURE__ */ e(n, { value: r, children: B }, r)) })
94
95
  ]
95
96
  }
96
97
  ),
@@ -119,7 +120,7 @@ const _ = {
119
120
  );
120
121
  }) }) })
121
122
  ] }),
122
- /* @__PURE__ */ e(q, { open: B, onOpenChange: n, children: /* @__PURE__ */ s(J, { className: "sm:max-w-md", children: [
123
+ /* @__PURE__ */ e(q, { open: H, onOpenChange: i, children: /* @__PURE__ */ s(J, { className: "sm:max-w-md", children: [
123
124
  /* @__PURE__ */ s(K, { children: [
124
125
  /* @__PURE__ */ e(Q, { children: "Add Notification Rule" }),
125
126
  /* @__PURE__ */ e(W, { children: "Customize how you receive notifications for a specific channel and project." })
@@ -130,8 +131,8 @@ const _ = {
130
131
  /* @__PURE__ */ s(d, { value: x, onValueChange: C, children: [
131
132
  /* @__PURE__ */ e(o, { id: "pref-scope", children: /* @__PURE__ */ e(m, { placeholder: "Select scope" }) }),
132
133
  /* @__PURE__ */ s(h, { children: [
133
- /* @__PURE__ */ e(c, { value: "global", children: "Global (all projects)" }),
134
- b.map((l) => /* @__PURE__ */ e(c, { value: l.id, children: l.title }, l.id))
134
+ /* @__PURE__ */ e(n, { value: "global", children: "Global (all projects)" }),
135
+ b.map((l) => /* @__PURE__ */ e(n, { value: l.id, children: l.title }, l.id))
135
136
  ] })
136
137
  ] })
137
138
  ] }),
@@ -140,8 +141,8 @@ const _ = {
140
141
  /* @__PURE__ */ s(d, { value: I, onValueChange: w, children: [
141
142
  /* @__PURE__ */ e(o, { id: "pref-channel", children: /* @__PURE__ */ e(m, {}) }),
142
143
  /* @__PURE__ */ s(h, { children: [
143
- /* @__PURE__ */ e(c, { value: "IN_APP", children: "In-App" }),
144
- /* @__PURE__ */ e(c, { value: "GOOGLE_CHAT", children: "Google Chat" })
144
+ /* @__PURE__ */ e(n, { value: "IN_APP", children: "In-App" }),
145
+ /* @__PURE__ */ e(n, { value: "GOOGLE_CHAT", children: "Google Chat" })
145
146
  ] })
146
147
  ] })
147
148
  ] }),
@@ -149,7 +150,7 @@ const _ = {
149
150
  /* @__PURE__ */ e("label", { htmlFor: "pref-min-tier", className: "text-ds-sm font-medium text-surface-fg-muted", children: "Minimum Tier" }),
150
151
  /* @__PURE__ */ s(d, { value: A, onValueChange: P, children: [
151
152
  /* @__PURE__ */ e(o, { id: "pref-min-tier", children: /* @__PURE__ */ e(m, {}) }),
152
- /* @__PURE__ */ e(h, { children: Object.entries(G).map(([l, t]) => /* @__PURE__ */ e(c, { value: l, children: t }, l)) })
153
+ /* @__PURE__ */ e(h, { children: Object.entries(G).map(([l, t]) => /* @__PURE__ */ e(n, { value: l, children: t }, l)) })
153
154
  ] })
154
155
  ] }),
155
156
  /* @__PURE__ */ s("div", { className: "flex items-center justify-between", children: [
@@ -162,7 +163,7 @@ const _ = {
162
163
  {
163
164
  variant: "ghost",
164
165
  onClick: () => {
165
- n(!1), F();
166
+ i(!1), F();
166
167
  },
167
168
  children: "Cancel"
168
169
  }
@@ -170,7 +171,7 @@ const _ = {
170
171
  /* @__PURE__ */ e(
171
172
  g,
172
173
  {
173
- onClick: H,
174
+ onClick: M,
174
175
  disabled: y,
175
176
  children: y ? "Saving..." : "Save Rule"
176
177
  }
@@ -181,7 +182,7 @@ const _ = {
181
182
  ] });
182
183
  }
183
184
  );
184
- ce.displayName = "NotificationPreferences";
185
+ ne.displayName = "NotificationPreferences";
185
186
  export {
186
- ce as NotificationPreferences
187
+ ne as NotificationPreferences
187
188
  };
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { jsxs as r, jsx as e, Fragment as A } from "react/jsx-runtime";
2
+ import { jsxs as s, jsx as e, Fragment as L } from "react/jsx-runtime";
3
3
  import * as m from "react";
4
4
  import { u as R } from "../_chunks/link-context.js";
5
- import { S as T, a as z, b as f, c as H, d as U, e as $, f as q, g as E, h as J, i as L, j as M, k as j, l as I, m as K, n as Q, o as V } from "../_chunks/sidebar.js";
5
+ import { Sidebar as T, SidebarHeader as z, SidebarSeparator as f, SidebarContent as H, SidebarGroup as U, SidebarGroupLabel as $, SidebarGroupAction as q, SidebarGroupContent as E, SidebarMenu as J, SidebarFooter as M, SidebarMenuItem as A, SidebarMenuButton as I, SidebarMenuBadge as j, SidebarMenuSub as K, SidebarMenuSubItem as Q, SidebarMenuSubButton as V } from "../ui/sidebar.js";
6
6
  import { Collapsible as X, CollapsibleTrigger as Y, CollapsibleContent as Z } from "../ui/collapsible.js";
7
- import { A as _, a as P, b as ee } from "../_chunks/avatar.js";
8
- import { c as b } from "../_chunks/utils.js";
9
- function ae({ className: s }) {
7
+ import { Avatar as _, AvatarImage as P, AvatarFallback as ee } from "../ui/avatar.js";
8
+ import { cn as b } from "../ui/lib/utils.js";
9
+ function ae({ className: r }) {
10
10
  return /* @__PURE__ */ e(
11
11
  "svg",
12
12
  {
@@ -19,13 +19,13 @@ function ae({ className: s }) {
19
19
  strokeWidth: "2",
20
20
  strokeLinecap: "round",
21
21
  strokeLinejoin: "round",
22
- className: s,
22
+ className: r,
23
23
  children: /* @__PURE__ */ e("path", { d: "m9 18 6-6-6-6" })
24
24
  }
25
25
  );
26
26
  }
27
- function se({ className: s }) {
28
- return /* @__PURE__ */ r(
27
+ function re({ className: r }) {
28
+ return /* @__PURE__ */ s(
29
29
  "svg",
30
30
  {
31
31
  xmlns: "http://www.w3.org/2000/svg",
@@ -37,7 +37,7 @@ function se({ className: s }) {
37
37
  strokeWidth: "2",
38
38
  strokeLinecap: "round",
39
39
  strokeLinejoin: "round",
40
- className: s,
40
+ className: r,
41
41
  children: [
42
42
  /* @__PURE__ */ e("path", { d: "M18 6 6 18" }),
43
43
  /* @__PURE__ */ e("path", { d: "m6 6 12 12" })
@@ -46,60 +46,60 @@ function se({ className: s }) {
46
46
  );
47
47
  }
48
48
  const B = "relative gap-ds-04 rounded-ds-lg px-ds-04 py-ds-03 transition-colors", F = "bg-accent-2 text-accent-11 after:absolute after:right-0 after:top-0 after:h-full after:w-ds-01 after:rounded-l-ds-full after:bg-accent-9 after:content-['']", G = "text-surface-fg-subtle hover:bg-surface-2 hover:text-surface-fg";
49
- function re({
50
- item: s,
49
+ function se({
50
+ item: r,
51
51
  isActive: t,
52
52
  isPathActive: u
53
53
  }) {
54
- const h = R(), i = s.badge != null ? typeof s.badge == "number" && s.badge > 99 ? "99+" : String(s.badge) : null;
55
- if (s.children && s.children.length > 0) {
56
- const d = s.children.some(
54
+ const h = R(), i = r.badge != null ? typeof r.badge == "number" && r.badge > 99 ? "99+" : String(r.badge) : null;
55
+ if (r.children && r.children.length > 0) {
56
+ const d = r.children.some(
57
57
  (l) => u(l.href, l.exact)
58
- ), g = d || t || (s.defaultOpen ?? !1);
59
- return /* @__PURE__ */ e(X, { defaultOpen: g, className: "group/collapsible", children: /* @__PURE__ */ r(M, { children: [
60
- /* @__PURE__ */ r("div", { className: "relative", children: [
58
+ ), g = d || t || (r.defaultOpen ?? !1);
59
+ return /* @__PURE__ */ e(X, { defaultOpen: g, className: "group/collapsible", children: /* @__PURE__ */ s(A, { children: [
60
+ /* @__PURE__ */ s("div", { className: "relative", children: [
61
61
  /* @__PURE__ */ e(
62
- j,
62
+ I,
63
63
  {
64
64
  asChild: !0,
65
65
  isActive: t || d,
66
- tooltip: s.title,
66
+ tooltip: r.title,
67
67
  className: b(
68
68
  B,
69
69
  t || d ? F : G
70
70
  ),
71
- children: /* @__PURE__ */ r(
71
+ children: /* @__PURE__ */ s(
72
72
  h,
73
73
  {
74
- href: s.href,
75
- "aria-label": s.title,
74
+ href: r.href,
75
+ "aria-label": r.title,
76
76
  "aria-current": t ? "page" : void 0,
77
77
  children: [
78
- /* @__PURE__ */ e("span", { className: "[&>svg]:h-ico-md [&>svg]:w-ico-md shrink-0", "aria-hidden": "true", children: s.icon }),
79
- /* @__PURE__ */ e("span", { className: "text-ds-base", children: s.title })
78
+ /* @__PURE__ */ e("span", { className: "[&>svg]:h-ico-md [&>svg]:w-ico-md shrink-0", "aria-hidden": "true", children: r.icon }),
79
+ /* @__PURE__ */ e("span", { className: "text-ds-base", children: r.title })
80
80
  ]
81
81
  }
82
82
  )
83
83
  }
84
84
  ),
85
- i && /* @__PURE__ */ e(I, { children: i }),
85
+ i && /* @__PURE__ */ e(j, { children: i }),
86
86
  /* @__PURE__ */ e(Y, { asChild: !0, children: /* @__PURE__ */ e(
87
87
  "button",
88
88
  {
89
89
  className: "absolute right-ds-02 top-1/2 flex h-5 w-5 -translate-y-1/2 items-center justify-center rounded-ds-md text-surface-fg-subtle transition-colors hover:bg-surface-2 hover:text-surface-fg group-data-[collapsible=icon]:hidden",
90
- "aria-label": `Toggle ${s.title}`,
90
+ "aria-label": `Toggle ${r.title}`,
91
91
  children: /* @__PURE__ */ e(ae, { className: "h-4 w-4 transition-transform duration-fast-02 ease-productive-standard group-data-[state=open]/collapsible:rotate-90" })
92
92
  }
93
93
  ) })
94
94
  ] }),
95
- /* @__PURE__ */ e(Z, { children: /* @__PURE__ */ e(K, { children: s.children.map((l) => {
95
+ /* @__PURE__ */ e(Z, { children: /* @__PURE__ */ e(K, { children: r.children.map((l) => {
96
96
  const a = u(l.href, l.exact);
97
97
  return /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e(
98
98
  V,
99
99
  {
100
100
  asChild: !0,
101
101
  isActive: a,
102
- children: /* @__PURE__ */ r(
102
+ children: /* @__PURE__ */ s(
103
103
  h,
104
104
  {
105
105
  href: l.href,
@@ -115,37 +115,37 @@ function re({
115
115
  }) }) })
116
116
  ] }) });
117
117
  }
118
- return /* @__PURE__ */ r(M, { children: [
118
+ return /* @__PURE__ */ s(A, { children: [
119
119
  /* @__PURE__ */ e(
120
- j,
120
+ I,
121
121
  {
122
122
  asChild: !0,
123
123
  isActive: t,
124
- tooltip: s.title,
124
+ tooltip: r.title,
125
125
  className: b(
126
126
  B,
127
127
  t ? F : G
128
128
  ),
129
- children: /* @__PURE__ */ r(
129
+ children: /* @__PURE__ */ s(
130
130
  h,
131
131
  {
132
- href: s.href,
133
- "aria-label": s.title,
132
+ href: r.href,
133
+ "aria-label": r.title,
134
134
  "aria-current": t ? "page" : void 0,
135
135
  children: [
136
- /* @__PURE__ */ e("span", { className: "[&>svg]:h-ico-md [&>svg]:w-ico-md shrink-0", "aria-hidden": "true", children: s.icon }),
137
- /* @__PURE__ */ e("span", { className: "text-ds-base", children: s.title })
136
+ /* @__PURE__ */ e("span", { className: "[&>svg]:h-ico-md [&>svg]:w-ico-md shrink-0", "aria-hidden": "true", children: r.icon }),
137
+ /* @__PURE__ */ e("span", { className: "text-ds-base", children: r.title })
138
138
  ]
139
139
  }
140
140
  )
141
141
  }
142
142
  ),
143
- i && /* @__PURE__ */ e(I, { children: i })
143
+ i && /* @__PURE__ */ e(j, { children: i })
144
144
  ] });
145
145
  }
146
146
  const ne = m.forwardRef(
147
147
  ({
148
- currentPath: s = "/",
148
+ currentPath: r = "/",
149
149
  user: t,
150
150
  navGroups: u = [],
151
151
  logo: h,
@@ -159,8 +159,8 @@ const ne = m.forwardRef(
159
159
  ...O
160
160
  }, W) => {
161
161
  var N, w, C, S;
162
- const p = R(), v = (n, c = !1) => c || n === "/" ? s === n : s.startsWith(n);
163
- return /* @__PURE__ */ r(
162
+ const p = R(), v = (n, c = !1) => c || n === "/" ? r === n : r.startsWith(n);
163
+ return /* @__PURE__ */ s(
164
164
  T,
165
165
  {
166
166
  ...O,
@@ -172,29 +172,29 @@ const ne = m.forwardRef(
172
172
  ),
173
173
  children: [
174
174
  /* @__PURE__ */ e(z, { className: "px-ds-06 py-ds-06", children: h ?? /* @__PURE__ */ e("span", { className: "text-ds-lg font-semibold text-surface-fg", children: "Logo" }) }),
175
- t && /* @__PURE__ */ r("div", { className: "flex items-center gap-ds-04 px-ds-06 pb-ds-05", children: [
176
- /* @__PURE__ */ r(_, { className: "h-ds-sm-plus w-ds-sm-plus", children: [
175
+ t && /* @__PURE__ */ s("div", { className: "flex items-center gap-ds-04 px-ds-06 pb-ds-05", children: [
176
+ /* @__PURE__ */ s(_, { className: "h-ds-sm-plus w-ds-sm-plus", children: [
177
177
  t.image ? /* @__PURE__ */ e(P, { src: t.image, alt: t.name }) : null,
178
178
  /* @__PURE__ */ e(ee, { className: "bg-surface-3 text-surface-fg", children: (N = t.name) == null ? void 0 : N.charAt(0).toUpperCase() })
179
179
  ] }),
180
- /* @__PURE__ */ r("div", { className: "flex min-w-0 flex-col", children: [
180
+ /* @__PURE__ */ s("div", { className: "flex min-w-0 flex-col", children: [
181
181
  /* @__PURE__ */ e("span", { className: "truncate text-ds-md text-surface-fg", children: t.name }),
182
182
  /* @__PURE__ */ e("span", { className: "truncate text-ds-sm text-surface-fg-subtle", children: t.designation || t.role })
183
183
  ] })
184
184
  ] }),
185
185
  /* @__PURE__ */ e(f, {}),
186
- i && /* @__PURE__ */ r(A, { children: [
186
+ i && /* @__PURE__ */ s(L, { children: [
187
187
  i,
188
188
  /* @__PURE__ */ e(f, {})
189
189
  ] }),
190
- /* @__PURE__ */ e(H, { className: "no-scrollbar px-ds-04", children: u.map((n, c) => /* @__PURE__ */ r("div", { children: [
190
+ /* @__PURE__ */ e(H, { className: "no-scrollbar px-ds-04", children: u.map((n, c) => /* @__PURE__ */ s("div", { children: [
191
191
  c > 0 && /* @__PURE__ */ e(f, {}),
192
- /* @__PURE__ */ r(U, { children: [
192
+ /* @__PURE__ */ s(U, { children: [
193
193
  /* @__PURE__ */ e($, { className: "px-ds-04 text-ds-sm text-surface-fg-subtle", children: n.label }),
194
194
  n.action && /* @__PURE__ */ e(q, { asChild: !0, children: n.action }),
195
195
  /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(J, { children: n.items.map((o) => {
196
196
  const k = () => /* @__PURE__ */ e(
197
- re,
197
+ se,
198
198
  {
199
199
  item: o,
200
200
  isActive: v(o.href, o.exact),
@@ -210,25 +210,25 @@ const ne = m.forwardRef(
210
210
  }) }) })
211
211
  ] })
212
212
  ] }, n.label)) }),
213
- d && /* @__PURE__ */ r(A, { children: [
213
+ d && /* @__PURE__ */ s(L, { children: [
214
214
  /* @__PURE__ */ e(f, {}),
215
215
  /* @__PURE__ */ e("div", { className: g, children: d })
216
216
  ] }),
217
- a ? /* @__PURE__ */ r(L, { className: "gap-ds-03 px-ds-06 py-ds-05", children: [
217
+ a ? /* @__PURE__ */ s(M, { className: "gap-ds-03 px-ds-06 py-ds-05", children: [
218
218
  a.slot && /* @__PURE__ */ e("div", { children: a.slot }),
219
- a.promo && /* @__PURE__ */ r("div", { className: "relative rounded-ds-lg border border-surface-border bg-surface-2 p-ds-04", children: [
219
+ a.promo && /* @__PURE__ */ s("div", { className: "relative rounded-ds-lg border border-surface-border bg-surface-2 p-ds-04", children: [
220
220
  a.promo.onDismiss && /* @__PURE__ */ e(
221
221
  "button",
222
222
  {
223
223
  onClick: a.promo.onDismiss,
224
224
  "aria-label": "Dismiss",
225
225
  className: "absolute right-ds-02 top-ds-02 flex h-5 w-5 items-center justify-center rounded-ds-md text-surface-fg-subtle transition-colors hover:bg-surface-3 hover:text-surface-fg",
226
- children: /* @__PURE__ */ e(se, { className: "h-3.5 w-3.5" })
226
+ children: /* @__PURE__ */ e(re, { className: "h-3.5 w-3.5" })
227
227
  }
228
228
  ),
229
- /* @__PURE__ */ r("div", { className: "flex flex-col gap-ds-03", children: [
229
+ /* @__PURE__ */ s("div", { className: "flex flex-col gap-ds-03", children: [
230
230
  a.promo.icon && /* @__PURE__ */ e("span", { className: "text-accent-11 [&>svg]:h-ico-md [&>svg]:w-ico-md", "aria-hidden": "true", children: a.promo.icon }),
231
- /* @__PURE__ */ r("div", { className: "flex min-w-0 flex-col gap-ds-03", children: [
231
+ /* @__PURE__ */ s("div", { className: "flex min-w-0 flex-col gap-ds-03", children: [
232
232
  /* @__PURE__ */ e("p", { className: "text-ds-sm text-surface-fg", children: a.promo.text }),
233
233
  a.promo.action && (a.promo.action.href ? /* @__PURE__ */ e(
234
234
  p,
@@ -249,8 +249,8 @@ const ne = m.forwardRef(
249
249
  ] })
250
250
  ] })
251
251
  ] }),
252
- (((w = a.links) == null ? void 0 : w.length) || a.version) && /* @__PURE__ */ r("div", { className: "flex items-center gap-ds-03 text-ds-sm text-surface-fg-subtle", children: [
253
- (C = a.links) == null ? void 0 : C.map((n, c) => /* @__PURE__ */ r(m.Fragment, { children: [
252
+ (((w = a.links) == null ? void 0 : w.length) || a.version) && /* @__PURE__ */ s("div", { className: "flex items-center gap-ds-03 text-ds-sm text-surface-fg-subtle", children: [
253
+ (C = a.links) == null ? void 0 : C.map((n, c) => /* @__PURE__ */ s(m.Fragment, { children: [
254
254
  c > 0 && /* @__PURE__ */ e("span", { children: "·" }),
255
255
  /* @__PURE__ */ e(
256
256
  p,
@@ -264,7 +264,7 @@ const ne = m.forwardRef(
264
264
  ((S = a.links) == null ? void 0 : S.length) && a.version && /* @__PURE__ */ e("span", { children: "·" }),
265
265
  a.version && (typeof a.version == "string" ? /* @__PURE__ */ e("span", { children: a.version }) : /* @__PURE__ */ e(p, { className: "transition-colors hover:text-accent-11", href: a.version.href, children: a.version.label }))
266
266
  ] })
267
- ] }) : l.length > 0 ? /* @__PURE__ */ e(L, { className: "px-ds-06 py-ds-05", children: /* @__PURE__ */ e("div", { className: "flex items-center gap-ds-03 text-ds-sm text-surface-fg-subtle", children: l.map((n, c) => /* @__PURE__ */ r(m.Fragment, { children: [
267
+ ] }) : l.length > 0 ? /* @__PURE__ */ e(M, { className: "px-ds-06 py-ds-05", children: /* @__PURE__ */ e("div", { className: "flex items-center gap-ds-03 text-ds-sm text-surface-fg-subtle", children: l.map((n, c) => /* @__PURE__ */ s(m.Fragment, { children: [
268
268
  c > 0 && /* @__PURE__ */ e("span", { children: "·" }),
269
269
  /* @__PURE__ */ e(
270
270
  p,