@devalok/shilp-sutra 0.49.0 → 0.49.1

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 (133) hide show
  1. package/dist/_chunks/badge-group.js +4 -4
  2. package/dist/_chunks/block-shell.js +1 -1
  3. package/dist/_chunks/chart-container.js +1 -1
  4. package/dist/_chunks/chat.js +3 -3
  5. package/dist/_chunks/colors.js +2 -2
  6. package/dist/_chunks/document-preview.js +4 -4
  7. package/dist/_chunks/emoji-suggestion.js +5 -5
  8. package/dist/_chunks/emoji-suggestion.js.map +1 -1
  9. package/dist/_chunks/emoji.js +1 -1
  10. package/dist/_chunks/field-state.js +1 -1
  11. package/dist/_chunks/grid-lines.js +1 -1
  12. package/dist/_chunks/image-preview.js +7 -7
  13. package/dist/_chunks/keybinding.js +1 -1
  14. package/dist/_chunks/link-context.js +1 -1
  15. package/dist/_chunks/mention-suggestion.js +2 -2
  16. package/dist/_chunks/mention.js +1 -1
  17. package/dist/_chunks/motion-provider.js +1 -1
  18. package/dist/_chunks/normalize-icon.js +1 -1
  19. package/dist/_chunks/oauth-button.js +2 -2
  20. package/dist/_chunks/popover.js +17 -17
  21. package/dist/_chunks/primitives.js +1 -1
  22. package/dist/_chunks/shared.js +5 -5
  23. package/dist/_chunks/success.js +4 -4
  24. package/dist/_chunks/tiptap.js +11 -11
  25. package/dist/_chunks/tooltip.js +1 -1
  26. package/dist/_chunks/tree-view.js +2 -2
  27. package/dist/_chunks/use-calendar.js +1 -1
  28. package/dist/_chunks/use-controllable-open.js +1 -1
  29. package/dist/_chunks/vendor-client.js +1 -1
  30. package/dist/_chunks/vendor-utils.js +1 -1
  31. package/dist/ai/block-renderer.js +7 -7
  32. package/dist/ai/blocks/error.js +1 -1
  33. package/dist/ai/blocks/index.js +2 -2
  34. package/dist/ai/blocks/text.js +1 -1
  35. package/dist/ai/command-bar.js +6 -6
  36. package/dist/ai/conversation.js +2 -2
  37. package/dist/ai/index.js +3 -3
  38. package/dist/composed/avatar-group.js +1 -1
  39. package/dist/composed/bulk-action-bar.js +1 -1
  40. package/dist/composed/command-palette.js +6 -6
  41. package/dist/composed/content-card.js +1 -1
  42. package/dist/composed/date-picker/index.js +10 -10
  43. package/dist/composed/emoji-picker.js +4 -4
  44. package/dist/composed/empty-state.js +1 -1
  45. package/dist/composed/extensions/emoji-node.js +1 -1
  46. package/dist/composed/extensions/emoji-suggestion.js +1 -1
  47. package/dist/composed/file-preview.js +14 -14
  48. package/dist/composed/filter-bar.js +1 -1
  49. package/dist/composed/multi-select-popover.js +3 -3
  50. package/dist/composed/priority-indicator.js +1 -1
  51. package/dist/composed/responsive-modal.js +21 -21
  52. package/dist/composed/rich-chat-input.js +445 -445
  53. package/dist/composed/rich-chat-input.js.map +1 -1
  54. package/dist/composed/rich-text-editor.js +28 -28
  55. package/dist/composed/status-badge.js +1 -1
  56. package/dist/motion/index.js +2 -2
  57. package/dist/shell/bottom-navbar.js +2 -2
  58. package/dist/shell/index.js +2 -2
  59. package/dist/shell/link-context.js +2 -2
  60. package/dist/shell/notification-center.js +3 -3
  61. package/dist/shell/sidebar.js +2 -2
  62. package/dist/shell/top-bar.js +1 -1
  63. package/dist/ui/accordion.js +14 -14
  64. package/dist/ui/alert-dialog.js +31 -31
  65. package/dist/ui/alert.js +1 -1
  66. package/dist/ui/aspect-ratio.js +1 -1
  67. package/dist/ui/autocomplete.js +7 -7
  68. package/dist/ui/avatar.js +15 -15
  69. package/dist/ui/badge-group.js +1 -1
  70. package/dist/ui/badge.js +1 -1
  71. package/dist/ui/banner.js +1 -1
  72. package/dist/ui/breadcrumb.js +1 -1
  73. package/dist/ui/button.js +5 -5
  74. package/dist/ui/card.js +1 -1
  75. package/dist/ui/charts/area-chart.js +6 -6
  76. package/dist/ui/charts/bar-chart.js +6 -6
  77. package/dist/ui/charts/chart-container.js +1 -1
  78. package/dist/ui/charts/gauge-chart.js +2 -2
  79. package/dist/ui/charts/index.js +2 -2
  80. package/dist/ui/charts/line-chart.js +6 -6
  81. package/dist/ui/charts/pie-chart.js +5 -5
  82. package/dist/ui/charts/radar-chart.js +5 -5
  83. package/dist/ui/charts/sparkline.js +2 -2
  84. package/dist/ui/chat/index.js +2 -2
  85. package/dist/ui/checkbox.js +5 -5
  86. package/dist/ui/collapsible.js +4 -4
  87. package/dist/ui/color-input.js +4 -4
  88. package/dist/ui/combobox.js +7 -7
  89. package/dist/ui/context-menu.js +41 -41
  90. package/dist/ui/dialog.js +25 -25
  91. package/dist/ui/dot.js +1 -1
  92. package/dist/ui/dropdown-menu.js +51 -51
  93. package/dist/ui/hover-card.js +9 -9
  94. package/dist/ui/icon-button.js +1 -1
  95. package/dist/ui/index.js +6 -6
  96. package/dist/ui/input.js +2 -2
  97. package/dist/ui/label.js +1 -1
  98. package/dist/ui/lib/utils.js +4 -4
  99. package/dist/ui/link.js +1 -1
  100. package/dist/ui/menubar.js +53 -53
  101. package/dist/ui/navigation-menu.js +27 -27
  102. package/dist/ui/number-input.js +2 -2
  103. package/dist/ui/oauth-button/index.js +2 -2
  104. package/dist/ui/pagination.js +1 -1
  105. package/dist/ui/popover.js +2 -2
  106. package/dist/ui/progress.js +2 -2
  107. package/dist/ui/radio.js +2 -2
  108. package/dist/ui/segmented-control.js +1 -1
  109. package/dist/ui/select.js +35 -35
  110. package/dist/ui/separator.js +1 -1
  111. package/dist/ui/sheet.js +22 -22
  112. package/dist/ui/sidebar.js +2 -2
  113. package/dist/ui/skeleton.js +1 -1
  114. package/dist/ui/slider.js +7 -7
  115. package/dist/ui/split-button.js +3 -3
  116. package/dist/ui/stat-card.js +2 -2
  117. package/dist/ui/stat-flash.js +1 -1
  118. package/dist/ui/stepper.js +1 -1
  119. package/dist/ui/surface.js +2 -2
  120. package/dist/ui/switch.js +2 -2
  121. package/dist/ui/table-row-link.js +1 -1
  122. package/dist/ui/tabs.js +13 -13
  123. package/dist/ui/text.js +1 -1
  124. package/dist/ui/textarea.js +2 -2
  125. package/dist/ui/toggle-group.js +1 -1
  126. package/dist/ui/toggle.js +2 -2
  127. package/dist/ui/tooltip.js +16 -16
  128. package/dist/ui/tree-view/index.js +2 -2
  129. package/llms.txt +1 -1
  130. package/mcp-manifest.json +1 -1
  131. package/package.json +1 -1
  132. package/skill/SKILL.md +1 -1
  133. package/skill/references/components.md +1 -1
@@ -1721,4 +1721,4 @@ var n = (e, t) => {
1721
1721
  }, []), n?.class, n?.className);
1722
1722
  };
1723
1723
  //#endregion
1724
- export { Ne as n, t as r, Ie as t };
1724
+ export { t as clsx, Ie as cva, Ne as extendTailwindMerge };
@@ -2,9 +2,9 @@
2
2
  import { springs as e } from "../ui/lib/motion.js";
3
3
  import { cn as t } from "../ui/lib/utils.js";
4
4
  import { Alert as n } from "../ui/alert.js";
5
- import { n as r } from "../_chunks/motion-provider.js";
5
+ import { useMotion as r } from "../_chunks/motion-provider.js";
6
6
  import { useAICommand as i } from "./ai-command-provider.js";
7
- import { a, i as o, n as s, o as c, r as l, s as u, t as d } from "../_chunks/success.js";
7
+ import { BlockTable as a, ConfirmBlock as o, DividerBlock as s, InfoBlock as c, LoadingBlock as l, StatRowBlock as u, SuccessBlock as d } from "../_chunks/success.js";
8
8
  import { ErrorBlock as f } from "./blocks/error.js";
9
9
  import { TextBlock as p } from "./blocks/text.js";
10
10
  import * as m from "react";
@@ -13,14 +13,14 @@ import { motion as g } from "framer-motion";
13
13
  //#region src/ai/block-renderer.tsx
14
14
  var _ = {
15
15
  text: p,
16
- table: u,
17
- confirm: c,
16
+ table: a,
17
+ confirm: o,
18
18
  success: d,
19
19
  error: f,
20
- info: o,
20
+ info: c,
21
21
  loading: l,
22
- divider: a,
23
- stat_row: s
22
+ divider: s,
23
+ stat_row: u
24
24
  };
25
25
  function v({ data: e, type: t }) {
26
26
  return /* @__PURE__ */ h(n, {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { Alert as e } from "../../ui/alert.js";
3
- import { t } from "../../_chunks/block-shell.js";
3
+ import { BlockShell as t } from "../../_chunks/block-shell.js";
4
4
  import * as n from "react";
5
5
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
6
6
  import a from "react-markdown";
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../../_chunks/success.js";
3
- export { a as BlockTable, r as ConfirmBlock, e as DividerBlock, t as InfoBlock, i as LoadingBlock, n as StatRowBlock, o as SuccessBlock };
2
+ import { BlockTable as e, ConfirmBlock as t, DividerBlock as n, InfoBlock as r, LoadingBlock as i, StatRowBlock as a, SuccessBlock as o } from "../../_chunks/success.js";
3
+ export { e as BlockTable, t as ConfirmBlock, n as DividerBlock, r as InfoBlock, i as LoadingBlock, a as StatRowBlock, o as SuccessBlock };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as e } from "../../_chunks/block-shell.js";
2
+ import { BlockShell as e } from "../../_chunks/block-shell.js";
3
3
  import * as t from "react";
4
4
  import { jsx as n } from "react/jsx-runtime";
5
5
  import r from "react-markdown";
@@ -3,11 +3,11 @@ import { IconProvider as e } from "../ui/icon-context.js";
3
3
  import { springs as t, tweens as n } from "../ui/lib/motion.js";
4
4
  import { cn as r } from "../ui/lib/utils.js";
5
5
  import { Icon as i } from "../ui/icon.js";
6
- import { t as a } from "../_chunks/normalize-icon.js";
6
+ import { normalizeIcon as a } from "../_chunks/normalize-icon.js";
7
7
  import { Dialog as o, DialogContentRaw as s, DialogDescription as ee, DialogOverlay as te, DialogPortal as ne, DialogTitle as re } from "../ui/dialog.js";
8
8
  import { VisuallyHidden as ie } from "../ui/visually-hidden.js";
9
- import { n as c } from "../_chunks/motion-provider.js";
10
- import { n as ae, r as oe, t as se } from "../_chunks/keybinding.js";
9
+ import { useMotion as c } from "../_chunks/motion-provider.js";
10
+ import { getIsMac as ae, getModifierDisplay as oe, matchesKeybinding as se } from "../_chunks/keybinding.js";
11
11
  import * as l from "react";
12
12
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
13
13
  import { IconArrowDown as ce, IconArrowUp as le, IconCornerDownLeft as ue, IconLoader2 as de, IconSearch as fe, IconX as pe } from "@tabler/icons-react";
@@ -115,7 +115,7 @@ var h = l.forwardRef(function({ onSubmit: u, state: h = "idle", groups: g = [],
115
115
  let M = l.useCallback((e) => {
116
116
  let t = typeof e == "function" ? e(j.current) : e;
117
117
  k || De(t), Te?.(t);
118
- }, [k, Te]), [N, P] = l.useState(""), [F, I] = l.useState(-1), [L, Oe] = l.useState(""), [R, ke] = l.useState(!1), [z, Ae] = l.useState(!1), B = l.useRef(null), je = l.useRef(null), V = l.useId(), Me = `command-bar-listbox-${V}`, { reducedMotion: H } = c(), U = { duration: 0 }, Ne = l.useMemo(() => se(), []), W = l.useMemo(() => Array.isArray(y) ? y : [y], [y]), G = g.length > 0, K = l.useMemo(() => {
118
+ }, [k, Te]), [N, P] = l.useState(""), [F, I] = l.useState(-1), [L, Oe] = l.useState(""), [R, ke] = l.useState(!1), [z, Ae] = l.useState(!1), B = l.useRef(null), je = l.useRef(null), V = l.useId(), Me = `command-bar-listbox-${V}`, { reducedMotion: H } = c(), U = { duration: 0 }, Ne = l.useMemo(() => ae(), []), W = l.useMemo(() => Array.isArray(y) ? y : [y], [y]), G = g.length > 0, K = l.useMemo(() => {
119
119
  if (!G) return [];
120
120
  if (!N.trim()) return g;
121
121
  let e = N.toLowerCase();
@@ -136,7 +136,7 @@ var h = l.forwardRef(function({ onSubmit: u, state: h = "idle", groups: g = [],
136
136
  if (v !== "floating" || S === !1) return;
137
137
  let e = Array.isArray(S) ? S : [S];
138
138
  function t(t) {
139
- for (let n of e) if (oe(t, n)) {
139
+ for (let n of e) if (se(t, n)) {
140
140
  t.preventDefault(), M((e) => !e);
141
141
  return;
142
142
  }
@@ -258,7 +258,7 @@ var h = l.forwardRef(function({ onSubmit: u, state: h = "idle", groups: g = [],
258
258
  exit: H ? void 0 : { opacity: 0 },
259
259
  transition: J,
260
260
  className: "hidden shrink-0 select-none rounded-control border border-surface-border-strong bg-surface-raised px-ds-02b py-ds-01 text-ds-sm font-medium text-surface-fg-subtle shadow-kbd sm:inline-flex",
261
- children: [ae(Ne), "J"]
261
+ children: [oe(Ne), "J"]
262
262
  }) }) : null
263
263
  ]
264
264
  })
@@ -3,8 +3,8 @@ import { IconProvider as e } from "../ui/icon-context.js";
3
3
  import { durations as t, springs as n } from "../ui/lib/motion.js";
4
4
  import { cn as r } from "../ui/lib/utils.js";
5
5
  import { Icon as i } from "../ui/icon.js";
6
- import { t as a } from "../_chunks/normalize-icon.js";
7
- import { n as o } from "../_chunks/motion-provider.js";
6
+ import { normalizeIcon as a } from "../_chunks/normalize-icon.js";
7
+ import { useMotion as o } from "../_chunks/motion-provider.js";
8
8
  import { useAICommand as s } from "./ai-command-provider.js";
9
9
  import { BlockRenderer as c } from "./block-renderer.js";
10
10
  import * as l from "react";
package/dist/ai/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { cn as e } from "../ui/lib/utils.js";
3
- import { n as t } from "../_chunks/motion-provider.js";
3
+ import { useMotion as t } from "../_chunks/motion-provider.js";
4
4
  import { AICommandProvider as n, useAICommand as r } from "./ai-command-provider.js";
5
5
  import { CommandBar as i } from "./command-bar.js";
6
- import { a, i as o, n as s, o as c, r as l, s as u, t as d } from "../_chunks/success.js";
6
+ import { BlockTable as a, ConfirmBlock as o, DividerBlock as s, InfoBlock as c, LoadingBlock as l, StatRowBlock as u, SuccessBlock as d } from "../_chunks/success.js";
7
7
  import { AIConversation as f } from "./conversation.js";
8
8
  import * as p from "react";
9
9
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
@@ -180,4 +180,4 @@ var k = p.memo(function({ state: n = "idle", size: r = 20, className: i }) {
180
180
  });
181
181
  k.displayName = "DevadootIcon";
182
182
  //#endregion
183
- export { n as AICommandProvider, f as AIConversation, u as BlockTable, i as CommandBar, c as ConfirmBlock, k as DevadootIcon, a as DividerBlock, o as InfoBlock, l as LoadingBlock, s as StatRowBlock, d as SuccessBlock, r as useAICommand };
183
+ export { n as AICommandProvider, f as AIConversation, a as BlockTable, i as CommandBar, o as ConfirmBlock, k as DevadootIcon, s as DividerBlock, c as InfoBlock, l as LoadingBlock, u as StatRowBlock, d as SuccessBlock, r as useAICommand };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { springs as e } from "../ui/lib/motion.js";
3
- import { t } from "../_chunks/vendor-utils.js";
3
+ import { cva as t } from "../_chunks/vendor-utils.js";
4
4
  import { cn as n } from "../ui/lib/utils.js";
5
5
  import { Avatar as r, AvatarFallback as i, AvatarImage as a } from "../ui/avatar.js";
6
6
  import { Tooltip as o, TooltipContent as s, TooltipProvider as c, TooltipTrigger as l } from "../ui/tooltip.js";
@@ -2,7 +2,7 @@
2
2
  import { springs as e } from "../ui/lib/motion.js";
3
3
  import { cn as t } from "../ui/lib/utils.js";
4
4
  import { Icon as n } from "../ui/icon.js";
5
- import { n as r } from "../_chunks/badge-group.js";
5
+ import { BadgeCompound as r } from "../_chunks/badge-group.js";
6
6
  import { Button as i } from "../ui/button.js";
7
7
  import * as a from "react";
8
8
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
@@ -3,11 +3,11 @@ import { IconProvider as e } from "../ui/icon-context.js";
3
3
  import { springs as t, tweens as n } from "../ui/lib/motion.js";
4
4
  import { cn as r } from "../ui/lib/utils.js";
5
5
  import { Icon as i } from "../ui/icon.js";
6
- import { t as a } from "../_chunks/normalize-icon.js";
6
+ import { normalizeIcon as a } from "../_chunks/normalize-icon.js";
7
7
  import { Dialog as o, DialogContentRaw as s, DialogDescription as c, DialogOverlay as l, DialogPortal as ee, DialogTitle as u } from "../ui/dialog.js";
8
8
  import { VisuallyHidden as te } from "../ui/visually-hidden.js";
9
- import { n as ne } from "../_chunks/motion-provider.js";
10
- import { n as d, r as f, t as p } from "../_chunks/keybinding.js";
9
+ import { useMotion as ne } from "../_chunks/motion-provider.js";
10
+ import { getIsMac as d, getModifierDisplay as f, matchesKeybinding as p } from "../_chunks/keybinding.js";
11
11
  import * as m from "react";
12
12
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
13
13
  import { IconArrowDown as re, IconArrowUp as ie, IconCornerDownLeft as _, IconSearch as ae } from "@tabler/icons-react";
@@ -28,7 +28,7 @@ var b = m.forwardRef(function({ groups: b = [], placeholder: x = "Search or jump
28
28
  let R = m.useCallback((e) => {
29
29
  let t = typeof e == "function" ? e(L.current) : e;
30
30
  N || F(t), E?.(t);
31
- }, [N, E]), [z, B] = m.useState(""), [V, H] = m.useState(0), U = m.useRef(null), W = m.useRef(null), G = m.useId(), K = `command-palette-listbox-${G}`, { reducedMotion: q } = ne(), J = { duration: 0 }, ue = m.useMemo(() => p(), []), Y = m.useMemo(() => {
31
+ }, [N, E]), [z, B] = m.useState(""), [V, H] = m.useState(0), U = m.useRef(null), W = m.useRef(null), G = m.useId(), K = `command-palette-listbox-${G}`, { reducedMotion: q } = ne(), J = { duration: 0 }, ue = m.useMemo(() => d(), []), Y = m.useMemo(() => {
32
32
  if (!z.trim()) return b;
33
33
  let e = z.toLowerCase();
34
34
  return b.map((t) => ({
@@ -40,7 +40,7 @@ var b = m.forwardRef(function({ groups: b = [], placeholder: x = "Search or jump
40
40
  if (D === !1) return;
41
41
  let e = Array.isArray(D) ? D : [D];
42
42
  function t(t) {
43
- for (let n of e) if (f(t, n)) {
43
+ for (let n of e) if (p(t, n)) {
44
44
  t.preventDefault(), R((e) => !e);
45
45
  return;
46
46
  }
@@ -229,7 +229,7 @@ var b = m.forwardRef(function({ groups: b = [], placeholder: x = "Search or jump
229
229
  className: "flex shrink-0 items-center gap-ds-01",
230
230
  children: y(n.shortcut).map((e, t) => /* @__PURE__ */ h("kbd", {
231
231
  className: r("inline-flex min-w-ds-05b items-center justify-center rounded border px-ds-02b py-ds-01 text-ds-xs font-medium shadow-kbd transition-colors duration-fast-02 ease-productive-standard", s ? "bg-accent-2 text-accent-11 border-accent-6" : "bg-surface-raised text-surface-fg-subtle border-surface-border-strong"),
232
- children: e === "Ctrl" || e === "ctrl" ? d(ue) : e
232
+ children: e === "Ctrl" || e === "ctrl" ? f(ue) : e
233
233
  }, t))
234
234
  }),
235
235
  /* @__PURE__ */ h(oe, { children: s && /* @__PURE__ */ h(v.span, {
@@ -1,4 +1,4 @@
1
- import { t as e } from "../_chunks/vendor-utils.js";
1
+ import { cva as e } from "../_chunks/vendor-utils.js";
2
2
  import { cn as t } from "../ui/lib/utils.js";
3
3
  import * as n from "react";
4
4
  import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { cn as e } from "../../ui/lib/utils.js";
3
3
  import { Icon as t } from "../../ui/icon.js";
4
- import { i as n, r, t as i } from "../../_chunks/popover.js";
5
- import { n as a, t as o } from "../../_chunks/use-calendar.js";
4
+ import { Popover as n, PopoverContent as r, PopoverTrigger as i } from "../../_chunks/popover.js";
5
+ import { CalendarGrid as a, useCalendar as o } from "../../_chunks/use-calendar.js";
6
6
  import * as s from "react";
7
7
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
8
  import { IconCalendarClock as u, IconCalendarEvent as d, IconClock as f } from "@tabler/icons-react";
@@ -206,10 +206,10 @@ var M = s.forwardRef(function({ value: o, onChange: u, placeholder: f = "Pick a
206
206
  });
207
207
  }
208
208
  };
209
- return /* @__PURE__ */ l(i, {
209
+ return /* @__PURE__ */ l(n, {
210
210
  open: S,
211
211
  onOpenChange: w,
212
- children: [/* @__PURE__ */ c(n, {
212
+ children: [/* @__PURE__ */ c(i, {
213
213
  asChild: !0,
214
214
  children: /* @__PURE__ */ l("button", {
215
215
  ref: b,
@@ -408,10 +408,10 @@ var F = s.forwardRef(function({ startDate: o, endDate: u, onChange: f, placehold
408
408
  default: return Z();
409
409
  }
410
410
  }, $ = T && T.length > 0;
411
- return /* @__PURE__ */ l(i, {
411
+ return /* @__PURE__ */ l(n, {
412
412
  open: k,
413
413
  onOpenChange: M,
414
- children: [/* @__PURE__ */ c(n, {
414
+ children: [/* @__PURE__ */ c(i, {
415
415
  asChild: !0,
416
416
  children: /* @__PURE__ */ l("button", {
417
417
  ref: O,
@@ -510,10 +510,10 @@ var R = s.forwardRef(function({ value: o, onChange: d, minDate: f, maxDate: p, d
510
510
  });
511
511
  }
512
512
  }, Q = "h-ds-sm rounded-control border border-surface-border-strong bg-surface-overlay px-ds-02 text-ds-md text-surface-fg transition-colors duration-fast-01 ease-productive-standard hover:border-surface-border-strong focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 cursor-pointer appearance-none";
513
- return /* @__PURE__ */ l(i, {
513
+ return /* @__PURE__ */ l(n, {
514
514
  open: E,
515
515
  onOpenChange: D,
516
- children: [/* @__PURE__ */ c(n, {
516
+ children: [/* @__PURE__ */ c(i, {
517
517
  asChild: !0,
518
518
  children: /* @__PURE__ */ l("button", {
519
519
  ref: T,
@@ -639,10 +639,10 @@ var V = s.forwardRef(function({ value: a, onChange: o, format: u = "12h", minute
639
639
  u,
640
640
  m
641
641
  ]), H = u === "12h" ? A : E, U = "flex flex-col gap-ds-01 overflow-y-auto max-h-[200px] px-ds-01", W = "flex h-ds-sm w-full items-center justify-center rounded-control text-ds-md transition-colors duration-fast-01 ease-productive-standard cursor-pointer", G = "bg-accent-9 text-accent-fg", K = "text-surface-fg hover:bg-surface-raised-hover";
642
- return /* @__PURE__ */ l(i, {
642
+ return /* @__PURE__ */ l(n, {
643
643
  open: w,
644
644
  onOpenChange: T,
645
- children: [/* @__PURE__ */ c(n, {
645
+ children: [/* @__PURE__ */ c(i, {
646
646
  asChild: !0,
647
647
  children: /* @__PURE__ */ l("button", {
648
648
  ref: C,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { n as e } from "../_chunks/emoji.js";
2
+ import { ct as e } from "../_chunks/emoji.js";
3
3
  import { cn as t } from "../ui/lib/utils.js";
4
- import { i as n, r, t as i } from "../_chunks/popover.js";
4
+ import { Popover as n, PopoverContent as r, PopoverTrigger as i } from "../_chunks/popover.js";
5
5
  import * as a from "react";
6
6
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
7
7
  //#region src/composed/emoji-picker.tsx
@@ -82,10 +82,10 @@ function l({ onSelect: n, emojibaseUrl: r, className: i }) {
82
82
  }
83
83
  function u({ children: e, align: t = "start", onSelect: c, emojibaseUrl: u, className: d }) {
84
84
  let [f, p] = a.useState(!1);
85
- return /* @__PURE__ */ s(i, {
85
+ return /* @__PURE__ */ s(n, {
86
86
  open: f,
87
87
  onOpenChange: p,
88
- children: [/* @__PURE__ */ o(n, {
88
+ children: [/* @__PURE__ */ o(i, {
89
89
  asChild: !0,
90
90
  children: e
91
91
  }), /* @__PURE__ */ o(r, {
@@ -2,7 +2,7 @@
2
2
  import { IconProvider as e } from "../ui/icon-context.js";
3
3
  import { tweens as t } from "../ui/lib/motion.js";
4
4
  import { cn as n } from "../ui/lib/utils.js";
5
- import { t as r } from "../_chunks/normalize-icon.js";
5
+ import { normalizeIcon as r } from "../_chunks/normalize-icon.js";
6
6
  import * as i from "react";
7
7
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
8
8
  import { motion as s, useReducedMotion as c } from "framer-motion";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { _ as e, o as t, s as n } from "../../_chunks/tiptap.js";
2
+ import { Node3 as e, NodeViewWrapper as t, ReactNodeViewRenderer as n } from "../../_chunks/tiptap.js";
3
3
  import { jsx as r } from "react/jsx-runtime";
4
4
  //#region src/composed/extensions/emoji-node.tsx
5
5
  function i({ node: e }) {
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { t as e } from "../../_chunks/emoji-suggestion.js";
2
+ import { createEmojiSuggestion as e } from "../../_chunks/emoji-suggestion.js";
3
3
  export { e as createEmojiSuggestion };
@@ -3,10 +3,10 @@ import { springs as e, tweens as t } from "../ui/lib/motion.js";
3
3
  import { cn as n } from "../ui/lib/utils.js";
4
4
  import { Icon as r } from "../ui/icon.js";
5
5
  import { Skeleton as i } from "../ui/skeleton.js";
6
- import { n as a } from "../_chunks/badge-group.js";
6
+ import { BadgeCompound as a } from "../_chunks/badge-group.js";
7
7
  import { Button as o } from "../ui/button.js";
8
8
  import { TruncatedText as s } from "../ui/truncated-text.js";
9
- import { a as c, n as l, o as u, t as d } from "../_chunks/shared.js";
9
+ import { ErrorFallback as c, MediaSlider as l, VolumeControl as u, formatTime as d } from "../_chunks/shared.js";
10
10
  import * as f from "react";
11
11
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
12
12
  import { IconDownload as h, IconMaximize as g, IconPlayerPause as _, IconPlayerPlay as v } from "@tabler/icons-react";
@@ -47,7 +47,7 @@ function x({ url: e, fileName: t, onError: n }) {
47
47
  let e = !D;
48
48
  O(e), i.current.muted = e;
49
49
  }
50
- return k ? /* @__PURE__ */ p(d, {
50
+ return k ? /* @__PURE__ */ p(c, {
51
51
  message: "Could not load audio",
52
52
  url: e
53
53
  }) : /* @__PURE__ */ m("div", {
@@ -107,13 +107,13 @@ function x({ url: e, fileName: t, onError: n }) {
107
107
  }), /* @__PURE__ */ m("p", {
108
108
  className: "text-ds-xs font-mono text-surface-fg-muted tabular-nums",
109
109
  children: [
110
- u(C),
110
+ d(C),
111
111
  " / ",
112
- u(x)
112
+ d(x)
113
113
  ]
114
114
  })]
115
115
  }),
116
- /* @__PURE__ */ p(c, {
116
+ /* @__PURE__ */ p(u, {
117
117
  volume: T,
118
118
  muted: D,
119
119
  onVolumeChange: (e) => {
@@ -130,13 +130,13 @@ function x({ url: e, fileName: t, onError: n }) {
130
130
  //#endregion
131
131
  //#region src/composed/file-preview/embed-preview.tsx
132
132
  function S({ url: e, embedUrl: n, onError: r }) {
133
- let [a, o] = f.useState(!1), [s, c] = f.useState(!1);
133
+ let [a, o] = f.useState(!1), [s, l] = f.useState(!1);
134
134
  return f.useEffect(() => {
135
135
  let e = setTimeout(() => {
136
- a || (c(!0), r?.("Embed timed out"));
136
+ a || (l(!0), r?.("Embed timed out"));
137
137
  }, 15e3);
138
138
  return () => clearTimeout(e);
139
- }, [a, r]), s ? /* @__PURE__ */ p(d, {
139
+ }, [a, r]), s ? /* @__PURE__ */ p(c, {
140
140
  message: "Could not load embed",
141
141
  url: e
142
142
  }) : /* @__PURE__ */ m("div", {
@@ -147,7 +147,7 @@ function S({ url: e, embedUrl: n, onError: r }) {
147
147
  title: "Embedded content",
148
148
  onLoad: () => o(!0),
149
149
  onError: () => {
150
- c(!0), r?.("Embed failed to load");
150
+ l(!0), r?.("Embed failed to load");
151
151
  },
152
152
  initial: { opacity: 0 },
153
153
  animate: { opacity: +!!a },
@@ -222,7 +222,7 @@ function w({ url: n, onError: i }) {
222
222
  function V() {
223
223
  N(!0), clearTimeout(L.current), s && (L.current = setTimeout(() => N(!1), 3e3));
224
224
  }
225
- return A ? /* @__PURE__ */ p(d, {
225
+ return A ? /* @__PURE__ */ p(c, {
226
226
  message: "Could not load video",
227
227
  url: n
228
228
  }) : /* @__PURE__ */ m("div", {
@@ -311,7 +311,7 @@ function w({ url: n, onError: i }) {
311
311
  size: "lg"
312
312
  })
313
313
  }),
314
- /* @__PURE__ */ p(c, {
314
+ /* @__PURE__ */ p(u, {
315
315
  volume: +!O,
316
316
  muted: O,
317
317
  onVolumeChange: (e) => {
@@ -325,9 +325,9 @@ function w({ url: n, onError: i }) {
325
325
  /* @__PURE__ */ m("span", {
326
326
  className: "text-ds-sm font-mono text-white/70 tabular-nums",
327
327
  children: [
328
- u(E),
328
+ d(E),
329
329
  " / ",
330
- u(w)
330
+ d(w)
331
331
  ]
332
332
  }),
333
333
  /* @__PURE__ */ p("div", { className: "flex-1" }),
@@ -2,7 +2,7 @@
2
2
  import { springs as e } from "../ui/lib/motion.js";
3
3
  import { cn as t } from "../ui/lib/utils.js";
4
4
  import { Icon as n } from "../ui/icon.js";
5
- import { n as r } from "../_chunks/badge-group.js";
5
+ import { BadgeCompound as r } from "../_chunks/badge-group.js";
6
6
  import { Button as i } from "../ui/button.js";
7
7
  import { SearchInput as a } from "../ui/search-input.js";
8
8
  import { Select as o, SelectContent as s, SelectItem as c, SelectTrigger as l, SelectValue as u } from "../ui/select.js";
@@ -3,7 +3,7 @@ import { springs as e } from "../ui/lib/motion.js";
3
3
  import { cn as t } from "../ui/lib/utils.js";
4
4
  import { Spinner as n } from "../ui/spinner.js";
5
5
  import { Icon as r } from "../ui/icon.js";
6
- import { i, r as a, t as o } from "../_chunks/popover.js";
6
+ import { Popover as i, PopoverContent as a, PopoverTrigger as o } from "../_chunks/popover.js";
7
7
  import * as s from "react";
8
8
  import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
9
9
  import { IconCheck as d, IconSearch as f } from "@tabler/icons-react";
@@ -130,11 +130,11 @@ var m = s.forwardRef(({ items: m, groups: h, value: g, onValueChange: _, searchP
130
130
  })]
131
131
  }, n.id);
132
132
  }
133
- return /* @__PURE__ */ u(o, {
133
+ return /* @__PURE__ */ u(i, {
134
134
  open: A,
135
135
  onOpenChange: j,
136
136
  modal: !1,
137
- children: [/* @__PURE__ */ l(i, {
137
+ children: [/* @__PURE__ */ l(o, {
138
138
  asChild: !0,
139
139
  children: E
140
140
  }), /* @__PURE__ */ u(a, {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as e } from "../_chunks/vendor-utils.js";
2
+ import { cva as e } from "../_chunks/vendor-utils.js";
3
3
  import { cn as t } from "../ui/lib/utils.js";
4
4
  import { Icon as n } from "../ui/icon.js";
5
5
  import * as r from "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { An as e, Dn as t, En as n, Mn as r, On as i, Tn as a, jn as o, kn as s } from "../_chunks/primitives.js";
2
+ import { Close as e, Content$2 as t, Description as n, Overlay as r, Portal$4 as i, Root$8 as a, Title as o, Trigger$9 as s } from "../_chunks/primitives.js";
3
3
  import { springs as c, tweens as l } from "../ui/lib/motion.js";
4
4
  import { cn as u } from "../ui/lib/utils.js";
5
5
  import { Icon as d } from "../ui/icon.js";
@@ -14,36 +14,36 @@ var x = p.createContext({
14
14
  isMobile: !1,
15
15
  dismissable: !0,
16
16
  onClose: () => {}
17
- }), S = () => p.useContext(x), C = ({ open: t, defaultOpen: n = !1, onOpenChange: r, dismissable: i = !0, children: a, ...o }) => {
18
- let [s, c] = p.useState(n), l = t !== void 0, u = l ? t : s, d = f(), h = p.useCallback((e) => {
19
- !e && !i || (l || c(e), r?.(e));
17
+ }), S = () => p.useContext(x), C = ({ open: e, defaultOpen: t = !1, onOpenChange: n, dismissable: r = !0, children: i, ...o }) => {
18
+ let [s, c] = p.useState(t), l = e !== void 0, u = l ? e : s, d = f(), h = p.useCallback((e) => {
19
+ !e && !r || (l || c(e), n?.(e));
20
20
  }, [
21
21
  l,
22
- r,
23
- i
22
+ n,
23
+ r
24
24
  ]), g = p.useMemo(() => ({
25
25
  open: u,
26
26
  isMobile: d,
27
- dismissable: i,
27
+ dismissable: r,
28
28
  onClose: () => h(!1)
29
29
  }), [
30
30
  u,
31
31
  d,
32
- i,
32
+ r,
33
33
  h
34
34
  ]);
35
35
  return /* @__PURE__ */ m(x.Provider, {
36
36
  value: g,
37
- children: /* @__PURE__ */ m(e, {
37
+ children: /* @__PURE__ */ m(a, {
38
38
  open: u,
39
39
  onOpenChange: h,
40
40
  ...o,
41
- children: a
41
+ children: i
42
42
  })
43
43
  });
44
44
  };
45
45
  C.displayName = "ResponsiveModal";
46
- var w = r, T = a, E = s, D = p.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(i, {
46
+ var w = s, T = e, E = i, D = p.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(r, {
47
47
  ref: n,
48
48
  forceMount: !0,
49
49
  className: u("fixed inset-0 z-overlay bg-overlay", e),
@@ -58,12 +58,12 @@ function O(e, t) {
58
58
  }
59
59
  return n;
60
60
  }
61
- var k = 120, A = 500, j = p.forwardRef(({ className: e, children: t, snapPoints: r, defaultSnapPoint: i, ...o }, s) => {
62
- let { open: f, isMobile: x, dismissable: C, onClose: w } = S(), T = b(), j = y(), M = x && Array.isArray(r) && r.length > 0, N = p.useMemo(() => M ? [...r].sort((e, t) => e - t) : [], [M, r]), P = N.length ? N[N.length - 1] : 1, F = p.useMemo(() => {
61
+ var k = 120, A = 500, j = p.forwardRef(({ className: n, children: r, snapPoints: i, defaultSnapPoint: a, ...o }, s) => {
62
+ let { open: f, isMobile: x, dismissable: C, onClose: w } = S(), T = b(), j = y(), M = x && Array.isArray(i) && i.length > 0, N = p.useMemo(() => M ? [...i].sort((e, t) => e - t) : [], [M, i]), P = N.length ? N[N.length - 1] : 1, F = p.useMemo(() => {
63
63
  if (!N.length) return 0;
64
- let e = i ?? N.length - 1;
64
+ let e = a ?? N.length - 1;
65
65
  return Math.min(Math.max(e, 0), N.length - 1);
66
- }, [N, i]), [I, L] = p.useState(F), [R, z] = p.useState(0), B = p.useRef(null);
66
+ }, [N, a]), [I, L] = p.useState(F), [R, z] = p.useState(0), B = p.useRef(null);
67
67
  p.useEffect(() => {
68
68
  f && L(F);
69
69
  }, [f, F]), p.useEffect(() => {
@@ -99,7 +99,7 @@ var k = 120, A = 500, j = p.forwardRef(({ className: e, children: t, snapPoints:
99
99
  P,
100
100
  R,
101
101
  w
102
- ]), G = u("fixed inset-x-0 bottom-0 z-modal flex flex-col overflow-hidden rounded-t-overlay-lg border-t border-surface-border-strong bg-surface-overlay shadow-overlay", M ? void 0 : "max-h-[90dvh]"), K = C ? /* @__PURE__ */ h(a, {
102
+ ]), G = u("fixed inset-x-0 bottom-0 z-modal flex flex-col overflow-hidden rounded-t-overlay-lg border-t border-surface-border-strong bg-surface-overlay shadow-overlay", M ? void 0 : "max-h-[90dvh]"), K = C ? /* @__PURE__ */ h(e, {
103
103
  title: "Close",
104
104
  className: "absolute right-ds-05 top-ds-05 z-10 flex min-h-ds-xs min-w-ds-xs items-center justify-center rounded-control-inner text-surface-fg-subtle transition-colors duration-fast-01 ease-productive-standard hover:bg-surface-raised-hover hover:text-surface-fg-muted focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 active:scale-90 disabled:pointer-events-none",
105
105
  children: [/* @__PURE__ */ m(d, {
@@ -120,14 +120,14 @@ var k = 120, A = 500, j = p.forwardRef(({ className: e, children: t, snapPoints:
120
120
  exit: { opacity: 0 },
121
121
  transition: l.fade
122
122
  })
123
- }), /* @__PURE__ */ m(n, {
123
+ }), /* @__PURE__ */ m(t, {
124
124
  ref: V,
125
125
  forceMount: !0,
126
126
  asChild: !0,
127
127
  onPointerDownOutside: C ? void 0 : (e) => e.preventDefault(),
128
128
  ...o,
129
129
  children: /* @__PURE__ */ h(v.div, {
130
- className: u(x ? G : "fixed left-[50%] top-[50%] z-modal flex max-h-[85dvh] w-full max-w-lg flex-col overflow-hidden rounded-overlay-lg bg-surface-overlay shadow-overlay", e),
130
+ className: u(x ? G : "fixed left-[50%] top-[50%] z-modal flex max-h-[85dvh] w-full max-w-lg flex-col overflow-hidden rounded-overlay-lg bg-surface-overlay shadow-overlay", n),
131
131
  style: M ? { height: `${P * 100}dvh` } : void 0,
132
132
  initial: x ? { y: "100%" } : {
133
133
  opacity: 0,
@@ -164,7 +164,7 @@ var k = 120, A = 500, j = p.forwardRef(({ className: e, children: t, snapPoints:
164
164
  children: /* @__PURE__ */ m("div", { className: "h-1 w-8 rounded-pill bg-surface-border" })
165
165
  }),
166
166
  K,
167
- t
167
+ r
168
168
  ]
169
169
  })
170
170
  })]
@@ -202,10 +202,10 @@ var I = p.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(o, {
202
202
  ...t
203
203
  }));
204
204
  I.displayName = "ResponsiveModalTitle";
205
- var L = p.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ m(t, {
205
+ var L = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(n, {
206
206
  ref: r,
207
207
  className: u("text-ds-md text-surface-fg-muted", e),
208
- ...n
208
+ ...t
209
209
  }));
210
210
  L.displayName = "ResponsiveModalDescription";
211
211
  //#endregion