@devalok/shilp-sutra 0.49.0 → 0.49.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 (162) hide show
  1. package/dist/_chunks/badge-group.js +41 -41
  2. package/dist/_chunks/badge-group.js.map +1 -1
  3. package/dist/_chunks/block-shell.js +1 -1
  4. package/dist/_chunks/chart-container.js +1 -1
  5. package/dist/_chunks/chat.js +6 -15
  6. package/dist/_chunks/chat.js.map +1 -1
  7. package/dist/_chunks/colors.js +2 -2
  8. package/dist/_chunks/document-preview.js +4 -4
  9. package/dist/_chunks/emoji-suggestion.js +5 -5
  10. package/dist/_chunks/emoji-suggestion.js.map +1 -1
  11. package/dist/_chunks/emoji.js +1 -1
  12. package/dist/_chunks/field-state.js +1 -1
  13. package/dist/_chunks/grid-lines.js +1 -1
  14. package/dist/_chunks/image-preview.js +7 -7
  15. package/dist/_chunks/keybinding.js +1 -1
  16. package/dist/_chunks/link-context.js +1 -1
  17. package/dist/_chunks/mention-suggestion.js +2 -2
  18. package/dist/_chunks/mention.js +1 -1
  19. package/dist/_chunks/motion-provider.js +1 -1
  20. package/dist/_chunks/normalize-icon.js +1 -1
  21. package/dist/_chunks/oauth-button.js +2 -2
  22. package/dist/_chunks/popover.js +17 -17
  23. package/dist/_chunks/primitives.js +1 -1
  24. package/dist/_chunks/shared.js +5 -5
  25. package/dist/_chunks/success.js +5 -8
  26. package/dist/_chunks/success.js.map +1 -1
  27. package/dist/_chunks/tiptap.js +11 -11
  28. package/dist/_chunks/tooltip.js +1 -1
  29. package/dist/_chunks/tree-view.js +2 -2
  30. package/dist/_chunks/use-calendar.js +1 -1
  31. package/dist/_chunks/use-controllable-open.js +1 -1
  32. package/dist/_chunks/vendor-client.js +1 -1
  33. package/dist/_chunks/vendor-utils.js +1 -1
  34. package/dist/ai/block-renderer.js +8 -11
  35. package/dist/ai/block-renderer.js.map +1 -1
  36. package/dist/ai/blocks/error.js +1 -1
  37. package/dist/ai/blocks/index.js +2 -2
  38. package/dist/ai/blocks/text.js +1 -1
  39. package/dist/ai/command-bar.d.ts.map +1 -1
  40. package/dist/ai/command-bar.js +8 -39
  41. package/dist/ai/command-bar.js.map +1 -1
  42. package/dist/ai/conversation.js +4 -10
  43. package/dist/ai/conversation.js.map +1 -1
  44. package/dist/ai/devadoot-icon.d.ts.map +1 -1
  45. package/dist/ai/index.js +10 -41
  46. package/dist/ai/index.js.map +1 -1
  47. package/dist/composed/activity-feed.js +3 -3
  48. package/dist/composed/activity-feed.js.map +1 -1
  49. package/dist/composed/avatar-group.js +3 -3
  50. package/dist/composed/avatar-group.js.map +1 -1
  51. package/dist/composed/bulk-action-bar.js +1 -1
  52. package/dist/composed/command-palette.js +6 -6
  53. package/dist/composed/content-card.js +1 -1
  54. package/dist/composed/date-picker/index.js +10 -10
  55. package/dist/composed/emoji-picker.js +4 -4
  56. package/dist/composed/empty-state.d.ts.map +1 -1
  57. package/dist/composed/empty-state.js +23 -33
  58. package/dist/composed/empty-state.js.map +1 -1
  59. package/dist/composed/extensions/emoji-node.js +1 -1
  60. package/dist/composed/extensions/emoji-suggestion.js +1 -1
  61. package/dist/composed/file-preview.js +14 -14
  62. package/dist/composed/filter-bar.js +1 -1
  63. package/dist/composed/multi-select-popover.js +3 -3
  64. package/dist/composed/priority-indicator.js +1 -1
  65. package/dist/composed/responsive-modal.js +21 -21
  66. package/dist/composed/rich-chat-input.js +445 -445
  67. package/dist/composed/rich-chat-input.js.map +1 -1
  68. package/dist/composed/rich-text-editor.js +28 -28
  69. package/dist/composed/schedule-view.js +1 -1
  70. package/dist/composed/schedule-view.js.map +1 -1
  71. package/dist/composed/status-badge.js +1 -1
  72. package/dist/motion/index.js +2 -2
  73. package/dist/shell/bottom-navbar.js +3 -3
  74. package/dist/shell/bottom-navbar.js.map +1 -1
  75. package/dist/shell/index.js +2 -2
  76. package/dist/shell/link-context.js +2 -2
  77. package/dist/shell/notification-center.js +3 -3
  78. package/dist/shell/sidebar.js +2 -2
  79. package/dist/shell/top-bar.js +1 -1
  80. package/dist/ui/accordion.js +14 -14
  81. package/dist/ui/alert-dialog.js +31 -31
  82. package/dist/ui/alert.js +1 -1
  83. package/dist/ui/aspect-ratio.js +1 -1
  84. package/dist/ui/autocomplete.js +7 -7
  85. package/dist/ui/avatar.d.ts.map +1 -1
  86. package/dist/ui/avatar.js +52 -67
  87. package/dist/ui/avatar.js.map +1 -1
  88. package/dist/ui/badge-group.js +1 -1
  89. package/dist/ui/badge.d.ts +2 -0
  90. package/dist/ui/badge.d.ts.map +1 -1
  91. package/dist/ui/badge.js +1 -1
  92. package/dist/ui/banner.js +1 -1
  93. package/dist/ui/breadcrumb.js +1 -1
  94. package/dist/ui/button.js +9 -9
  95. package/dist/ui/button.js.map +1 -1
  96. package/dist/ui/card.js +1 -1
  97. package/dist/ui/charts/area-chart.js +6 -6
  98. package/dist/ui/charts/bar-chart.js +6 -6
  99. package/dist/ui/charts/chart-container.js +1 -1
  100. package/dist/ui/charts/gauge-chart.js +2 -2
  101. package/dist/ui/charts/index.js +2 -2
  102. package/dist/ui/charts/line-chart.js +6 -6
  103. package/dist/ui/charts/pie-chart.js +5 -5
  104. package/dist/ui/charts/radar-chart.js +5 -5
  105. package/dist/ui/charts/sparkline.js +2 -2
  106. package/dist/ui/chat/index.js +2 -2
  107. package/dist/ui/checkbox.js +5 -5
  108. package/dist/ui/collapsible.js +4 -4
  109. package/dist/ui/color-input.js +4 -4
  110. package/dist/ui/combobox.js +8 -8
  111. package/dist/ui/combobox.js.map +1 -1
  112. package/dist/ui/context-menu.js +41 -41
  113. package/dist/ui/dialog.js +25 -25
  114. package/dist/ui/dot.d.ts.map +1 -1
  115. package/dist/ui/dot.js +24 -32
  116. package/dist/ui/dot.js.map +1 -1
  117. package/dist/ui/dropdown-menu.js +51 -51
  118. package/dist/ui/hover-card.js +9 -9
  119. package/dist/ui/icon-button.js +1 -1
  120. package/dist/ui/index.js +6 -6
  121. package/dist/ui/input.js +2 -2
  122. package/dist/ui/label.js +1 -1
  123. package/dist/ui/lib/utils.js +4 -4
  124. package/dist/ui/link.js +1 -1
  125. package/dist/ui/menubar.js +53 -53
  126. package/dist/ui/navigation-menu.js +27 -27
  127. package/dist/ui/number-input.js +2 -2
  128. package/dist/ui/oauth-button/index.js +2 -2
  129. package/dist/ui/pagination.js +1 -1
  130. package/dist/ui/popover.js +2 -2
  131. package/dist/ui/progress.js +2 -2
  132. package/dist/ui/radio.js +2 -2
  133. package/dist/ui/segmented-control.js +1 -1
  134. package/dist/ui/select.js +35 -35
  135. package/dist/ui/separator.js +1 -1
  136. package/dist/ui/sheet.js +22 -22
  137. package/dist/ui/sidebar.js +2 -2
  138. package/dist/ui/skeleton.js +1 -1
  139. package/dist/ui/slider.js +8 -8
  140. package/dist/ui/slider.js.map +1 -1
  141. package/dist/ui/split-button.js +3 -3
  142. package/dist/ui/stat-card.d.ts +2 -0
  143. package/dist/ui/stat-card.d.ts.map +1 -1
  144. package/dist/ui/stat-card.js +94 -126
  145. package/dist/ui/stat-card.js.map +1 -1
  146. package/dist/ui/stat-flash.js +1 -1
  147. package/dist/ui/stepper.js +1 -1
  148. package/dist/ui/surface.js +2 -2
  149. package/dist/ui/switch.js +2 -2
  150. package/dist/ui/table-row-link.js +1 -1
  151. package/dist/ui/tabs.js +13 -13
  152. package/dist/ui/text.js +1 -1
  153. package/dist/ui/textarea.js +2 -2
  154. package/dist/ui/toggle-group.js +1 -1
  155. package/dist/ui/toggle.js +2 -2
  156. package/dist/ui/tooltip.js +16 -16
  157. package/dist/ui/tree-view/index.js +2 -2
  158. package/llms.txt +1 -1
  159. package/mcp-manifest.json +1 -1
  160. package/package.json +1 -1
  161. package/skill/SKILL.md +1 -1
  162. package/skill/references/components.md +1 -1
@@ -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, {
@@ -1 +1 @@
1
- {"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../src/composed/empty-state.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAKrD,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,6EAA6E;IAC7E,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC9B;AAoBD,QAAA,MAAM,UAAU,wFA8Ef,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../src/composed/empty-state.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAKrD,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,6EAA6E;IAC7E,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC9B;AAoBD,QAAA,MAAM,UAAU,wFA2Ef,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -2,73 +2,63 @@
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
- import { motion as s, useReducedMotion as c } from "framer-motion";
8
+ import { motion as s } from "framer-motion";
9
9
  //#region src/composed/empty-state.tsx
10
- var l = {
10
+ var c = {
11
11
  sm: "md",
12
12
  md: "xl",
13
13
  lg: "2xl"
14
- }, u = ({ className: e }) => /* @__PURE__ */ a("svg", {
14
+ }, l = ({ className: e }) => /* @__PURE__ */ a("svg", {
15
15
  xmlns: "http://www.w3.org/2000/svg",
16
16
  viewBox: "0 0 32 32",
17
17
  fill: "currentColor",
18
18
  className: e,
19
19
  "aria-hidden": "true",
20
20
  children: /* @__PURE__ */ a("path", { d: "M25.97,21.39c-0.9-1.85,0.08-3.95-1.72-5.39c1.76-1.44,0.8-3.55,1.69-5.39c0.05-0.12,0.04-0.25-0.02-0.35c-0.06-0.1-0.16-0.18-0.29-0.19c-2.05-0.15-3.35-2.04-5.5-1.21c-0.39-2.21-2.7-2.44-3.84-4.13c-0.08-0.1-0.19-0.16-0.31-0.16c-0.12,0-0.23,0.05-0.31,0.16c-1.14,1.69-3.43,1.92-3.82,4.13c-2.14-0.83-3.47,1.07-5.52,1.21c-0.13,0.01-0.23,0.09-0.29,0.19c-0.06,0.1-0.07,0.23-0.02,0.35c0.9,1.85-0.08,3.95,1.72,5.39c-1.76,1.44-0.8,3.55-1.69,5.39C6,21.51,6.02,21.64,6.07,21.74c0.06,0.1,0.16,0.18,0.29,0.19c2.05,0.15,3.38,2.06,5.52,1.23c0.39,2.21,2.67,2.43,3.82,4.12c0.08,0.1,0.19,0.16,0.31,0.16c0.12,0,0.23-0.05,0.31-0.16c1.14-1.69,3.42-1.92,3.81-4.13c2.14,0.83,3.48-1.07,5.53-1.22c0.13-0.01,0.23-0.09,0.29-0.19C26.01,21.64,26.02,21.51,25.97,21.39z" })
21
- }), d = i.forwardRef(({ icon: i, title: d, description: f, action: p, compact: m = !1, iconSize: h, className: g, ..._ }, v) => {
22
- let y = c(), b = h ?? (m ? "sm" : "md"), x = {
21
+ }), u = i.forwardRef(({ icon: i, title: u, description: d, action: f, compact: p = !1, iconSize: m, className: h, ...g }, _) => {
22
+ let v = m ?? (p ? "sm" : "md"), y = {
23
23
  sm: "h-ico-sm w-ico-sm",
24
24
  md: "h-ico-lg w-ico-lg",
25
25
  lg: "h-ico-xl w-ico-xl"
26
- }[b], S = l[b], C = r(i, S) ?? /* @__PURE__ */ a(u, { className: n("text-surface-fg-subtle", x) });
26
+ }[v], b = c[v], x = r(i, b) ?? /* @__PURE__ */ a(l, { className: n("text-surface-fg-subtle", y) });
27
27
  return /* @__PURE__ */ o("div", {
28
- ref: v,
29
- className: n("flex flex-col items-center justify-center text-center", m ? "gap-ds-04 py-ds-07" : "gap-ds-05 py-ds-10", g),
30
- ..._,
28
+ ref: _,
29
+ className: n("flex flex-col items-center justify-center text-center", p ? "gap-ds-04 py-ds-07" : "gap-ds-05 py-ds-10", h),
30
+ ...g,
31
31
  children: [
32
- /* @__PURE__ */ a(s.div, {
33
- className: n("flex items-center justify-center rounded-overlay-lg bg-surface-raised text-surface-fg-subtle", m ? "h-ds-md w-ds-md" : "h-ds-lg w-ds-lg"),
34
- animate: y ? {} : { y: [
35
- 0,
36
- -4,
37
- 0
38
- ] },
39
- transition: y ? {} : {
40
- repeat: Infinity,
41
- duration: 3,
42
- ease: "easeInOut"
43
- },
32
+ /* @__PURE__ */ a("div", {
33
+ className: n("flex items-center justify-center text-surface-fg-subtle", p ? "h-ds-md w-ds-md" : "h-ds-lg w-ds-lg"),
44
34
  children: /* @__PURE__ */ a(e, {
45
- size: S,
46
- children: C
35
+ size: b,
36
+ children: x
47
37
  })
48
38
  }),
49
39
  /* @__PURE__ */ o(s.div, {
50
40
  className: "flex max-w-[280px] flex-col gap-ds-02",
51
- initial: { opacity: 0 },
41
+ initial: !1,
52
42
  animate: { opacity: 1 },
53
43
  transition: {
54
44
  delay: .2,
55
45
  ...t.fade
56
46
  },
57
47
  children: [/* @__PURE__ */ a("h3", {
58
- className: n("text-surface-fg", m ? "text-ds-md font-semibold" : "text-ds-base font-semibold"),
48
+ className: n("text-surface-fg", p ? "text-ds-md font-semibold" : "text-ds-base font-semibold"),
49
+ children: u
50
+ }), d && /* @__PURE__ */ a("p", {
51
+ className: n("text-surface-fg-subtle", p ? "text-ds-sm" : "text-ds-md"),
59
52
  children: d
60
- }), f && /* @__PURE__ */ a("p", {
61
- className: n("text-surface-fg-subtle", m ? "text-ds-sm" : "text-ds-md"),
62
- children: f
63
53
  })]
64
54
  }),
65
- p && /* @__PURE__ */ a("div", {
55
+ f && /* @__PURE__ */ a("div", {
66
56
  className: "mt-ds-02",
67
- children: p
57
+ children: f
68
58
  })
69
59
  ]
70
60
  });
71
61
  });
72
- d.displayName = "EmptyState";
62
+ u.displayName = "EmptyState";
73
63
  //#endregion
74
- export { d as EmptyState };
64
+ export { u as EmptyState };
@@ -1 +1 @@
1
- {"version":3,"file":"empty-state.js","names":[],"sources":["../../src/composed/empty-state.tsx"],"sourcesContent":["'use client'\n\nimport { motion, useReducedMotion } from 'framer-motion'\nimport * as React from 'react'\n\nimport { IconProvider, type IconSize } from '../ui/icon-context'\nimport type { IconInput } from '../ui/lib/icon-input'\nimport { tweens } from '../ui/lib/motion'\nimport { normalizeIcon } from '../ui/lib/normalize-icon'\nimport { cn } from '../ui/lib/utils'\n\nexport interface EmptyStateProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Icon. Accepts any `IconInput`. Falls back to the Devalok chakra glyph. */\n icon?: IconInput\n title: string\n description?: string\n action?: React.ReactNode\n compact?: boolean\n /** Icon size. Defaults to 'sm' when compact, 'md' otherwise. */\n iconSize?: 'sm' | 'md' | 'lg'\n}\n\nconst ICON_SIZE_TO_TOKEN: Record<'sm' | 'md' | 'lg', IconSize> = {\n sm: 'md',\n md: 'xl',\n lg: '2xl',\n}\n\nconst DevalokChakraIcon = ({ className }: { className?: string }) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 32 32\"\n fill=\"currentColor\"\n className={className}\n aria-hidden=\"true\"\n >\n <path d=\"M25.97,21.39c-0.9-1.85,0.08-3.95-1.72-5.39c1.76-1.44,0.8-3.55,1.69-5.39c0.05-0.12,0.04-0.25-0.02-0.35c-0.06-0.1-0.16-0.18-0.29-0.19c-2.05-0.15-3.35-2.04-5.5-1.21c-0.39-2.21-2.7-2.44-3.84-4.13c-0.08-0.1-0.19-0.16-0.31-0.16c-0.12,0-0.23,0.05-0.31,0.16c-1.14,1.69-3.43,1.92-3.82,4.13c-2.14-0.83-3.47,1.07-5.52,1.21c-0.13,0.01-0.23,0.09-0.29,0.19c-0.06,0.1-0.07,0.23-0.02,0.35c0.9,1.85-0.08,3.95,1.72,5.39c-1.76,1.44-0.8,3.55-1.69,5.39C6,21.51,6.02,21.64,6.07,21.74c0.06,0.1,0.16,0.18,0.29,0.19c2.05,0.15,3.38,2.06,5.52,1.23c0.39,2.21,2.67,2.43,3.82,4.12c0.08,0.1,0.19,0.16,0.31,0.16c0.12,0,0.23-0.05,0.31-0.16c1.14-1.69,3.42-1.92,3.81-4.13c2.14,0.83,3.48-1.07,5.53-1.22c0.13-0.01,0.23-0.09,0.29-0.19C26.01,21.64,26.02,21.51,25.97,21.39z\" />\n </svg>\n)\n\nconst EmptyState = React.forwardRef<HTMLDivElement, EmptyStateProps>(\n (\n {\n icon,\n title,\n description,\n action,\n compact = false,\n iconSize,\n className,\n ...props\n },\n ref,\n ) => {\n const reducedMotion = useReducedMotion()\n const resolvedIconSize = iconSize ?? (compact ? 'sm' : 'md')\n const iconSizeClass = {\n sm: 'h-ico-sm w-ico-sm',\n md: 'h-ico-lg w-ico-lg',\n lg: 'h-ico-xl w-ico-xl',\n }[resolvedIconSize]\n const iconToken = ICON_SIZE_TO_TOKEN[resolvedIconSize]\n const normalized = normalizeIcon(icon, iconToken)\n const resolvedIcon = normalized ?? (\n <DevalokChakraIcon className={cn('text-surface-fg-subtle', iconSizeClass)} />\n )\n\n return (\n <div\n ref={ref}\n className={cn(\n 'flex flex-col items-center justify-center text-center',\n compact ? 'gap-ds-04 py-ds-07' : 'gap-ds-05 py-ds-10',\n className,\n )}\n {...props}\n >\n <motion.div\n className={cn(\n 'flex items-center justify-center rounded-overlay-lg bg-surface-raised text-surface-fg-subtle',\n compact ? 'h-ds-md w-ds-md' : 'h-ds-lg w-ds-lg',\n )}\n animate={reducedMotion ? {} : { y: [0, -4, 0] }}\n transition={reducedMotion ? {} : { repeat: Infinity, duration: 3, ease: 'easeInOut' }}\n >\n <IconProvider size={iconToken}>{resolvedIcon}</IconProvider>\n </motion.div>\n\n <motion.div\n className=\"flex max-w-[280px] flex-col gap-ds-02\"\n initial={{ opacity: 0 }}\n animate={{ opacity: 1 }}\n transition={{ delay: 0.2, ...tweens.fade }}\n >\n <h3\n className={cn(\n 'text-surface-fg',\n compact ? 'text-ds-md font-semibold' : 'text-ds-base font-semibold',\n )}\n >\n {title}\n </h3>\n {description && (\n <p\n className={cn(\n 'text-surface-fg-subtle',\n compact ? 'text-ds-sm' : 'text-ds-md',\n )}\n >\n {description}\n </p>\n )}\n </motion.div>\n\n {action && <div className=\"mt-ds-02\">{action}</div>}\n </div>\n )\n },\n)\nEmptyState.displayName = 'EmptyState'\n\nexport { EmptyState }\n"],"mappings":";;;;;;;;;AAsBA,IAAM,IAA2D;CAC/D,IAAI;CACJ,IAAI;CACJ,IAAI;CACL,EAEK,KAAqB,EAAE,mBAC3B,kBAAC,OAAD;CACE,OAAM;CACN,SAAQ;CACR,MAAK;CACM;CACX,eAAY;WAEZ,kBAAC,QAAD,EAAM,GAAE,iuBAAkuB,CAAA;CACtuB,CAAA,EAGF,IAAa,EAAM,YAErB,EACE,SACA,UACA,gBACA,WACA,aAAU,IACV,aACA,cACA,GAAG,KAEL,MACG;CACH,IAAM,IAAgB,GAAkB,EAClC,IAAmB,MAAa,IAAU,OAAO,OACjD,IAAgB;EACpB,IAAI;EACJ,IAAI;EACJ,IAAI;EACL,CAAC,IACI,IAAY,EAAmB,IAE/B,IADa,EAAc,GAAM,EAAU,IAE/C,kBAAC,GAAD,EAAmB,WAAW,EAAG,0BAA0B,EAAc,EAAI,CAAA;AAG/E,QACE,kBAAC,OAAD;EACO;EACL,WAAW,EACT,yDACA,IAAU,uBAAuB,sBACjC,EACD;EACD,GAAI;YAPN;GASE,kBAAC,EAAO,KAAR;IACE,WAAW,EACT,gGACA,IAAU,oBAAoB,kBAC/B;IACD,SAAS,IAAgB,EAAE,GAAG,EAAE,GAAG;KAAC;KAAG;KAAI;KAAE,EAAE;IAC/C,YAAY,IAAgB,EAAE,GAAG;KAAE,QAAQ;KAAU,UAAU;KAAG,MAAM;KAAa;cAErF,kBAAC,GAAD;KAAc,MAAM;eAAY;KAA4B,CAAA;IACjD,CAAA;GAEb,kBAAC,EAAO,KAAR;IACE,WAAU;IACV,SAAS,EAAE,SAAS,GAAG;IACvB,SAAS,EAAE,SAAS,GAAG;IACvB,YAAY;KAAE,OAAO;KAAK,GAAG,EAAO;KAAM;cAJ5C,CAME,kBAAC,MAAD;KACE,WAAW,EACT,mBACA,IAAU,6BAA6B,6BACxC;eAEA;KACE,CAAA,EACJ,KACC,kBAAC,KAAD;KACE,WAAW,EACT,0BACA,IAAU,eAAe,aAC1B;eAEA;KACC,CAAA,CAEK;;GAEZ,KAAU,kBAAC,OAAD;IAAK,WAAU;cAAY;IAAa,CAAA;GAC/C;;EAGX;AACD,EAAW,cAAc"}
1
+ {"version":3,"file":"empty-state.js","names":[],"sources":["../../src/composed/empty-state.tsx"],"sourcesContent":["'use client'\n\nimport { motion } from 'framer-motion'\nimport * as React from 'react'\n\nimport { IconProvider, type IconSize } from '../ui/icon-context'\nimport type { IconInput } from '../ui/lib/icon-input'\nimport { tweens } from '../ui/lib/motion'\nimport { normalizeIcon } from '../ui/lib/normalize-icon'\nimport { cn } from '../ui/lib/utils'\n\nexport interface EmptyStateProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Icon. Accepts any `IconInput`. Falls back to the Devalok chakra glyph. */\n icon?: IconInput\n title: string\n description?: string\n action?: React.ReactNode\n compact?: boolean\n /** Icon size. Defaults to 'sm' when compact, 'md' otherwise. */\n iconSize?: 'sm' | 'md' | 'lg'\n}\n\nconst ICON_SIZE_TO_TOKEN: Record<'sm' | 'md' | 'lg', IconSize> = {\n sm: 'md',\n md: 'xl',\n lg: '2xl',\n}\n\nconst DevalokChakraIcon = ({ className }: { className?: string }) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 32 32\"\n fill=\"currentColor\"\n className={className}\n aria-hidden=\"true\"\n >\n <path d=\"M25.97,21.39c-0.9-1.85,0.08-3.95-1.72-5.39c1.76-1.44,0.8-3.55,1.69-5.39c0.05-0.12,0.04-0.25-0.02-0.35c-0.06-0.1-0.16-0.18-0.29-0.19c-2.05-0.15-3.35-2.04-5.5-1.21c-0.39-2.21-2.7-2.44-3.84-4.13c-0.08-0.1-0.19-0.16-0.31-0.16c-0.12,0-0.23,0.05-0.31,0.16c-1.14,1.69-3.43,1.92-3.82,4.13c-2.14-0.83-3.47,1.07-5.52,1.21c-0.13,0.01-0.23,0.09-0.29,0.19c-0.06,0.1-0.07,0.23-0.02,0.35c0.9,1.85-0.08,3.95,1.72,5.39c-1.76,1.44-0.8,3.55-1.69,5.39C6,21.51,6.02,21.64,6.07,21.74c0.06,0.1,0.16,0.18,0.29,0.19c2.05,0.15,3.38,2.06,5.52,1.23c0.39,2.21,2.67,2.43,3.82,4.12c0.08,0.1,0.19,0.16,0.31,0.16c0.12,0,0.23-0.05,0.31-0.16c1.14-1.69,3.42-1.92,3.81-4.13c2.14,0.83,3.48-1.07,5.53-1.22c0.13-0.01,0.23-0.09,0.29-0.19C26.01,21.64,26.02,21.51,25.97,21.39z\" />\n </svg>\n)\n\nconst EmptyState = React.forwardRef<HTMLDivElement, EmptyStateProps>(\n (\n {\n icon,\n title,\n description,\n action,\n compact = false,\n iconSize,\n className,\n ...props\n },\n ref,\n ) => {\n const resolvedIconSize = iconSize ?? (compact ? 'sm' : 'md')\n const iconSizeClass = {\n sm: 'h-ico-sm w-ico-sm',\n md: 'h-ico-lg w-ico-lg',\n lg: 'h-ico-xl w-ico-xl',\n }[resolvedIconSize]\n const iconToken = ICON_SIZE_TO_TOKEN[resolvedIconSize]\n const normalized = normalizeIcon(icon, iconToken)\n const resolvedIcon = normalized ?? (\n <DevalokChakraIcon className={cn('text-surface-fg-subtle', iconSizeClass)} />\n )\n\n return (\n <div\n ref={ref}\n className={cn(\n 'flex flex-col items-center justify-center text-center',\n compact ? 'gap-ds-04 py-ds-07' : 'gap-ds-05 py-ds-10',\n className,\n )}\n {...props}\n >\n <div\n className={cn(\n 'flex items-center justify-center text-surface-fg-subtle',\n compact ? 'h-ds-md w-ds-md' : 'h-ds-lg w-ds-lg',\n )}\n >\n <IconProvider size={iconToken}>{resolvedIcon}</IconProvider>\n </div>\n\n <motion.div\n className=\"flex max-w-[280px] flex-col gap-ds-02\"\n initial={false}\n animate={{ opacity: 1 }}\n transition={{ delay: 0.2, ...tweens.fade }}\n >\n <h3\n className={cn(\n 'text-surface-fg',\n compact ? 'text-ds-md font-semibold' : 'text-ds-base font-semibold',\n )}\n >\n {title}\n </h3>\n {description && (\n <p\n className={cn(\n 'text-surface-fg-subtle',\n compact ? 'text-ds-sm' : 'text-ds-md',\n )}\n >\n {description}\n </p>\n )}\n </motion.div>\n\n {action && <div className=\"mt-ds-02\">{action}</div>}\n </div>\n )\n },\n)\nEmptyState.displayName = 'EmptyState'\n\nexport { EmptyState }\n"],"mappings":";;;;;;;;;AAsBA,IAAM,IAA2D;CAC/D,IAAI;CACJ,IAAI;CACJ,IAAI;CACL,EAEK,KAAqB,EAAE,mBAC3B,kBAAC,OAAD;CACE,OAAM;CACN,SAAQ;CACR,MAAK;CACM;CACX,eAAY;WAEZ,kBAAC,QAAD,EAAM,GAAE,iuBAAkuB,CAAA;CACtuB,CAAA,EAGF,IAAa,EAAM,YAErB,EACE,SACA,UACA,gBACA,WACA,aAAU,IACV,aACA,cACA,GAAG,KAEL,MACG;CACH,IAAM,IAAmB,MAAa,IAAU,OAAO,OACjD,IAAgB;EACpB,IAAI;EACJ,IAAI;EACJ,IAAI;EACL,CAAC,IACI,IAAY,EAAmB,IAE/B,IADa,EAAc,GAAM,EAAU,IAE/C,kBAAC,GAAD,EAAmB,WAAW,EAAG,0BAA0B,EAAc,EAAI,CAAA;AAG/E,QACE,kBAAC,OAAD;EACO;EACL,WAAW,EACT,yDACA,IAAU,uBAAuB,sBACjC,EACD;EACD,GAAI;YAPN;GASE,kBAAC,OAAD;IACE,WAAW,EACT,2DACA,IAAU,oBAAoB,kBAC/B;cAED,kBAAC,GAAD;KAAc,MAAM;eAAY;KAA4B,CAAA;IACxD,CAAA;GAEN,kBAAC,EAAO,KAAR;IACE,WAAU;IACV,SAAS;IACT,SAAS,EAAE,SAAS,GAAG;IACvB,YAAY;KAAE,OAAO;KAAK,GAAG,EAAO;KAAM;cAJ5C,CAME,kBAAC,MAAD;KACE,WAAW,EACT,mBACA,IAAU,6BAA6B,6BACxC;eAEA;KACE,CAAA,EACJ,KACC,kBAAC,KAAD;KACE,WAAW,EACT,0BACA,IAAU,eAAe,aAC1B;eAEA;KACC,CAAA,CAEK;;GAEZ,KAAU,kBAAC,OAAD;IAAK,WAAU;cAAY;IAAa,CAAA;GAC/C;;EAGX;AACD,EAAW,cAAc"}
@@ -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