laif-ds 0.1.11 → 0.1.12

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 (71) hide show
  1. package/dist/_virtual/index2.js +2 -5
  2. package/dist/_virtual/index3.js +5 -5
  3. package/dist/_virtual/index4.js +5 -2
  4. package/dist/_virtual/index5.js +5 -2
  5. package/dist/_virtual/index6.js +2 -5
  6. package/dist/components/ui/accordion.js +16 -16
  7. package/dist/components/ui/alert-dialog.js +2 -2
  8. package/dist/components/ui/alert.js +5 -5
  9. package/dist/components/ui/async-select.js +39 -39
  10. package/dist/components/ui/audio-visualizer.js +7 -7
  11. package/dist/components/ui/avatar.js +3 -3
  12. package/dist/components/ui/badge.js +12 -12
  13. package/dist/components/ui/breadcrumb.js +1 -1
  14. package/dist/components/ui/button.js +31 -28
  15. package/dist/components/ui/calendar.js +23 -23
  16. package/dist/components/ui/card.js +6 -6
  17. package/dist/components/ui/chart.js +40 -40
  18. package/dist/components/ui/chat-message.js +59 -59
  19. package/dist/components/ui/checkbox.js +7 -7
  20. package/dist/components/ui/command.js +35 -35
  21. package/dist/components/ui/context-menu.js +16 -16
  22. package/dist/components/ui/data-table.js +2 -2
  23. package/dist/components/ui/date-picker.js +14 -14
  24. package/dist/components/ui/dialog.js +11 -11
  25. package/dist/components/ui/drawer.js +5 -5
  26. package/dist/components/ui/file-preview.js +14 -14
  27. package/dist/components/ui/form.js +18 -18
  28. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRow.js +6 -6
  29. package/dist/components/ui/gantt/components/Chart/Chart.js +1 -1
  30. package/dist/components/ui/gantt/components/Chart/Tree/Tree.js +9 -9
  31. package/dist/components/ui/hover-card.js +5 -5
  32. package/dist/components/ui/input-otp.js +5 -5
  33. package/dist/components/ui/input-selector.js +11 -11
  34. package/dist/components/ui/input.js +25 -25
  35. package/dist/components/ui/interrupt-prompt.js +1 -1
  36. package/dist/components/ui/markdown-renderer.js +19 -19
  37. package/dist/components/ui/menubar.js +16 -16
  38. package/dist/components/ui/message-input.js +29 -29
  39. package/dist/components/ui/multiple-selector.js +92 -92
  40. package/dist/components/ui/navigation-menu.js +13 -13
  41. package/dist/components/ui/popover.js +1 -1
  42. package/dist/components/ui/progress.js +4 -4
  43. package/dist/components/ui/prompt-suggestions.js +9 -9
  44. package/dist/components/ui/radio-group.js +5 -5
  45. package/dist/components/ui/resizable.js +2 -2
  46. package/dist/components/ui/scroll-area.js +7 -7
  47. package/dist/components/ui/select.js +10 -10
  48. package/dist/components/ui/separator.js +3 -3
  49. package/dist/components/ui/sheet.js +8 -8
  50. package/dist/components/ui/sidebar.js +134 -134
  51. package/dist/components/ui/skeleton.js +1 -1
  52. package/dist/components/ui/switch.js +5 -5
  53. package/dist/components/ui/table.js +3 -3
  54. package/dist/components/ui/tabs.js +2 -2
  55. package/dist/components/ui/textarea.js +7 -7
  56. package/dist/components/ui/toaster.js +12 -12
  57. package/dist/components/ui/toggle.js +2 -2
  58. package/dist/components/ui/tooltip.js +2 -2
  59. package/dist/components/ui/typing-indicator.js +8 -8
  60. package/dist/components/ui/typo.js +9 -9
  61. package/dist/dist/components/ui/checkbox.js +5 -5
  62. package/dist/dist/components/ui/scroll-area.js +2 -2
  63. package/dist/dist/components/ui/table.js +1 -1
  64. package/dist/index.d.ts +3 -2
  65. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  66. package/dist/node_modules/react-is/index.js +1 -1
  67. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  68. package/dist/node_modules/unified/lib/index.js +1 -1
  69. package/dist/styles.css +1 -1
  70. package/dist/styles.v3.css +1 -1
  71. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx as a, jsxs as s } from "react/jsx-runtime";
3
- import { Root as u, Menu as c, Trigger as l, Content as m, Item as f, Separator as b, Label as p, CheckboxItem as g, ItemIndicator as d, RadioItem as x, RadioGroup as v, Portal as h, SubContent as M, SubTrigger as z, Group as N, Sub as I } from "../../node_modules/@radix-ui/react-menubar/dist/index.js";
3
+ import { Root as u, Menu as c, Trigger as l, Content as m, Item as f, Separator as b, Label as p, CheckboxItem as g, ItemIndicator as d, RadioItem as x, RadioGroup as v, Portal as h, SubContent as M, SubTrigger as z, Group as N, Sub as y } from "../../node_modules/@radix-ui/react-menubar/dist/index.js";
4
4
  import { cn as o } from "../../lib/utils.js";
5
- import S from "../../node_modules/lucide-react/dist/esm/icons/check.js";
6
- import y from "../../node_modules/lucide-react/dist/esm/icons/circle.js";
5
+ import I from "../../node_modules/lucide-react/dist/esm/icons/check.js";
6
+ import S from "../../node_modules/lucide-react/dist/esm/icons/circle.js";
7
7
  import C from "../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
8
8
  function L({
9
9
  className: e,
@@ -14,7 +14,7 @@ function L({
14
14
  {
15
15
  "data-slot": "menubar",
16
16
  className: o(
17
- "bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",
17
+ "bg-d-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",
18
18
  e
19
19
  ),
20
20
  ...t
@@ -50,7 +50,7 @@ function B({
50
50
  {
51
51
  "data-slot": "menubar-trigger",
52
52
  className: o(
53
- "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",
53
+ "focus:bg-d-accent focus:text-d-accent-foreground data-[state=open]:bg-d-accent data-[state=open]:text-d-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",
54
54
  e
55
55
  ),
56
56
  ...t
@@ -72,7 +72,7 @@ function D({
72
72
  alignOffset: n,
73
73
  sideOffset: r,
74
74
  className: o(
75
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",
75
+ "bg-d-popover text-d-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",
76
76
  e
77
77
  ),
78
78
  ...i
@@ -92,7 +92,7 @@ function E({
92
92
  "data-inset": t,
93
93
  "data-variant": n,
94
94
  className: o(
95
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
95
+ "focus:bg-d-accent focus:text-d-accent-foreground data-[variant=destructive]:text-d-destructive data-[variant=destructive]:focus:bg-d-destructive/10 dark:data-[variant=destructive]:focus:bg-d-destructive/20 data-[variant=destructive]:focus:text-d-destructive data-[variant=destructive]:*:[svg]:!text-d-destructive [&_svg:not([class*='text-'])]:text-d-secondary-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
96
96
  e
97
97
  ),
98
98
  ...r
@@ -110,13 +110,13 @@ function F({
110
110
  {
111
111
  "data-slot": "menubar-checkbox-item",
112
112
  className: o(
113
- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
113
+ "focus:bg-d-accent focus:text-d-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
114
114
  e
115
115
  ),
116
116
  checked: n,
117
117
  ...r,
118
118
  children: [
119
- /* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(d, { children: /* @__PURE__ */ a(S, { className: "size-4" }) }) }),
119
+ /* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(d, { children: /* @__PURE__ */ a(I, { className: "size-4" }) }) }),
120
120
  t
121
121
  ]
122
122
  }
@@ -132,12 +132,12 @@ function H({
132
132
  {
133
133
  "data-slot": "menubar-radio-item",
134
134
  className: o(
135
- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
135
+ "focus:bg-d-accent focus:text-d-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
136
136
  e
137
137
  ),
138
138
  ...n,
139
139
  children: [
140
- /* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(d, { children: /* @__PURE__ */ a(y, { className: "size-2 fill-current" }) }) }),
140
+ /* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(d, { children: /* @__PURE__ */ a(S, { className: "size-2 fill-current" }) }) }),
141
141
  t
142
142
  ]
143
143
  }
@@ -169,7 +169,7 @@ function K({
169
169
  b,
170
170
  {
171
171
  "data-slot": "menubar-separator",
172
- className: o("bg-border -mx-1 my-1 h-px", e),
172
+ className: o("bg-d-border -mx-1 my-1 h-px", e),
173
173
  ...t
174
174
  }
175
175
  );
@@ -183,7 +183,7 @@ function O({
183
183
  {
184
184
  "data-slot": "menubar-shortcut",
185
185
  className: o(
186
- "text-muted-foreground ml-auto text-xs tracking-widest",
186
+ "text-d-secondary-foreground ml-auto text-xs tracking-widest",
187
187
  e
188
188
  ),
189
189
  ...t
@@ -193,7 +193,7 @@ function O({
193
193
  function Q({
194
194
  ...e
195
195
  }) {
196
- return /* @__PURE__ */ a(I, { "data-slot": "menubar-sub", ...e });
196
+ return /* @__PURE__ */ a(y, { "data-slot": "menubar-sub", ...e });
197
197
  }
198
198
  function U({
199
199
  className: e,
@@ -207,7 +207,7 @@ function U({
207
207
  "data-slot": "menubar-sub-trigger",
208
208
  "data-inset": t,
209
209
  className: o(
210
- "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",
210
+ "focus:bg-d-accent focus:text-d-accent-foreground data-[state=open]:bg-d-accent data-[state=open]:text-d-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",
211
211
  e
212
212
  ),
213
213
  ...r,
@@ -227,7 +227,7 @@ function V({
227
227
  {
228
228
  "data-slot": "menubar-sub-content",
229
229
  className: o(
230
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
230
+ "bg-d-popover text-d-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
231
231
  e
232
232
  ),
233
233
  ...t
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { jsxs as u, jsx as e } from "react/jsx-runtime";
2
+ import { jsxs as d, jsx as e } from "react/jsx-runtime";
3
3
  import { useState as y, useEffect as C, useRef as Y } from "react";
4
4
  import { AnimatePresence as v, motion as x } from "framer-motion";
5
5
  import { a as I } from "../../node_modules/remeda/dist/chunk-A3PVMI4K.js";
@@ -21,8 +21,8 @@ function ne({
21
21
  className: l,
22
22
  onKeyDown: o,
23
23
  submitOnEnter: s = !0,
24
- stop: m,
25
- isGenerating: d,
24
+ stop: u,
25
+ isGenerating: m,
26
26
  enableInterrupt: A = !0,
27
27
  transcribeAudio: P,
28
28
  ...r
@@ -44,8 +44,8 @@ function ne({
44
44
  }
45
45
  });
46
46
  C(() => {
47
- d || h(!1);
48
- }, [d]);
47
+ m || h(!1);
48
+ }, [m]);
49
49
  const g = (t) => {
50
50
  r.allowAttachments && r.setFiles((i) => i === null ? t : t === null ? i : [...i, ...t]);
51
51
  }, H = (t) => {
@@ -76,9 +76,9 @@ function ne({
76
76
  }, W = (t) => {
77
77
  var i, n, c;
78
78
  if (s && t.key === "Enter" && !t.shiftKey) {
79
- if (t.preventDefault(), d && m && A) {
79
+ if (t.preventDefault(), m && u && A) {
80
80
  if (N)
81
- m(), h(!1), (i = t.currentTarget.form) == null || i.requestSubmit();
81
+ u(), h(!1), (i = t.currentTarget.form) == null || i.requestSubmit();
82
82
  else if (r.value || r.allowAttachments && ((n = r.files) != null && n.length)) {
83
83
  h(!0);
84
84
  return;
@@ -97,7 +97,7 @@ function ne({
97
97
  maxHeight: 240,
98
98
  borderWidth: 1,
99
99
  dependencies: [r.value, z]
100
- }), /* @__PURE__ */ u(
100
+ }), /* @__PURE__ */ d(
101
101
  "div",
102
102
  {
103
103
  className: "relative flex w-full",
@@ -119,7 +119,7 @@ function ne({
119
119
  onStopRecording: D
120
120
  }
121
121
  ),
122
- /* @__PURE__ */ e("div", { className: "relative flex w-full items-center space-x-2", children: /* @__PURE__ */ u("div", { className: "relative flex-1", children: [
122
+ /* @__PURE__ */ e("div", { className: "relative flex w-full items-center space-x-2", children: /* @__PURE__ */ d("div", { className: "relative flex-1", children: [
123
123
  /* @__PURE__ */ e(
124
124
  "textarea",
125
125
  {
@@ -129,7 +129,7 @@ function ne({
129
129
  onPaste: B,
130
130
  onKeyDown: W,
131
131
  className: R(
132
- "z-10 w-full grow resize-none rounded-xl border border-input bg-background p-3 pr-24 text-sm ring-offset-background transition-[border] placeholder:text-muted-foreground focus-visible:border-primary focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
132
+ "z-10 w-full grow resize-none rounded-xl border border-d-input bg-d-background p-3 pr-24 text-sm ring-offset-d-background transition-[border] placeholder:text-d-secondary-foreground focus-visible:border-d-primary focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
133
133
  z && "pb-16",
134
134
  l
135
135
  ),
@@ -153,7 +153,7 @@ function ne({
153
153
  t.name + String(t.lastModified)
154
154
  )) }) }) })
155
155
  ] }) }),
156
- /* @__PURE__ */ u("div", { className: "absolute right-3 top-3 z-20 flex gap-2", children: [
156
+ /* @__PURE__ */ d("div", { className: "absolute right-3 top-3 z-20 flex gap-2", children: [
157
157
  r.allowAttachments && /* @__PURE__ */ e(
158
158
  p,
159
159
  {
@@ -174,21 +174,21 @@ function ne({
174
174
  {
175
175
  type: "button",
176
176
  variant: "outline",
177
- className: R("h-8 w-8", M && "text-primary"),
177
+ className: R("h-8 w-8", M && "text-d-primary"),
178
178
  "aria-label": "Voice input",
179
179
  size: "icon",
180
180
  onClick: E,
181
181
  children: /* @__PURE__ */ e(ee, { className: "h-4 w-4" })
182
182
  }
183
183
  ),
184
- d && m ? /* @__PURE__ */ e(
184
+ m && u ? /* @__PURE__ */ e(
185
185
  p,
186
186
  {
187
187
  type: "button",
188
188
  size: "icon",
189
189
  className: "h-8 w-8",
190
190
  "aria-label": "Stop generating",
191
- onClick: m,
191
+ onClick: u,
192
192
  children: /* @__PURE__ */ e(te, { className: "h-3 w-3 animate-pulse", fill: "currentColor" })
193
193
  }
194
194
  ) : /* @__PURE__ */ e(
@@ -198,14 +198,14 @@ function ne({
198
198
  size: "icon",
199
199
  className: "h-8 w-8 transition-opacity",
200
200
  "aria-label": "Send message",
201
- disabled: r.value === "" || d,
201
+ disabled: r.value === "" || m,
202
202
  children: /* @__PURE__ */ e(re, { className: "h-5 w-5" })
203
203
  }
204
204
  )
205
205
  ] }),
206
206
  r.allowAttachments && /* @__PURE__ */ e(le, { isDragging: L }),
207
207
  /* @__PURE__ */ e(
208
- ue,
208
+ de,
209
209
  {
210
210
  isRecording: k,
211
211
  isTranscribing: j,
@@ -220,10 +220,10 @@ function ne({
220
220
  }
221
221
  ne.displayName = "MessageInput";
222
222
  function le({ isDragging: a }) {
223
- return /* @__PURE__ */ e(v, { children: a && /* @__PURE__ */ u(
223
+ return /* @__PURE__ */ e(v, { children: a && /* @__PURE__ */ d(
224
224
  x.div,
225
225
  {
226
- className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center space-x-2 rounded-xl border border-dashed border-border bg-background text-sm text-muted-foreground",
226
+ className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center space-x-2 rounded-xl border border-dashed border-d-border bg-d-background text-sm text-d-secondary-foreground",
227
227
  initial: { opacity: 0 },
228
228
  animate: { opacity: 1 },
229
229
  exit: { opacity: 0 },
@@ -252,21 +252,21 @@ function oe() {
252
252
  });
253
253
  }
254
254
  function se() {
255
- return /* @__PURE__ */ u(
255
+ return /* @__PURE__ */ d(
256
256
  x.div,
257
257
  {
258
- className: "flex h-full w-full flex-col items-center justify-center rounded-xl bg-background/80 backdrop-blur-sm",
258
+ className: "flex h-full w-full flex-col items-center justify-center rounded-xl bg-d-background/80 backdrop-blur-sm",
259
259
  initial: { opacity: 0 },
260
260
  animate: { opacity: 1 },
261
261
  exit: { opacity: 0 },
262
262
  transition: { duration: 0.2 },
263
263
  children: [
264
- /* @__PURE__ */ u("div", { className: "relative", children: [
265
- /* @__PURE__ */ e(ae, { className: "h-8 w-8 animate-spin text-primary" }),
264
+ /* @__PURE__ */ d("div", { className: "relative", children: [
265
+ /* @__PURE__ */ e(ae, { className: "h-8 w-8 animate-spin text-d-primary" }),
266
266
  /* @__PURE__ */ e(
267
267
  x.div,
268
268
  {
269
- className: "absolute inset-0 h-8 w-8 animate-pulse rounded-full bg-primary/20",
269
+ className: "absolute inset-0 h-8 w-8 animate-pulse rounded-full bg-d-primary/20",
270
270
  initial: { scale: 0.8, opacity: 0 },
271
271
  animate: { scale: 1.2, opacity: 1 },
272
272
  transition: {
@@ -278,7 +278,7 @@ function se() {
278
278
  }
279
279
  )
280
280
  ] }),
281
- /* @__PURE__ */ e("p", { className: "mt-4 text-sm font-medium text-muted-foreground", children: "Transcribing audio..." })
281
+ /* @__PURE__ */ e("p", { className: "mt-4 text-sm font-medium text-d-secondary-foreground", children: "Transcribing audio..." })
282
282
  ]
283
283
  }
284
284
  );
@@ -297,21 +297,21 @@ function ce({ isVisible: a, onStopRecording: l }) {
297
297
  }
298
298
  },
299
299
  exit: { top: 0, filter: "blur(5px)" },
300
- className: "absolute left-1/2 flex -translate-x-1/2 cursor-pointer overflow-hidden whitespace-nowrap rounded-full border bg-background py-1 text-center text-sm text-muted-foreground",
300
+ className: "absolute left-1/2 flex -translate-x-1/2 cursor-pointer overflow-hidden whitespace-nowrap rounded-full border bg-d-background py-1 text-center text-sm text-d-secondary-foreground",
301
301
  onClick: l,
302
- children: /* @__PURE__ */ u("span", { className: "mx-2.5 flex items-center", children: [
302
+ children: /* @__PURE__ */ d("span", { className: "mx-2.5 flex items-center", children: [
303
303
  /* @__PURE__ */ e(ie, { className: "mr-2 h-3 w-3" }),
304
304
  "Click to finish recording"
305
305
  ] })
306
306
  }
307
307
  ) });
308
308
  }
309
- function ue({
309
+ function de({
310
310
  isRecording: a,
311
311
  isTranscribing: l,
312
312
  audioStream: o,
313
313
  textAreaHeight: s,
314
- onStopRecording: m
314
+ onStopRecording: u
315
315
  }) {
316
316
  return a ? /* @__PURE__ */ e(
317
317
  "div",
@@ -323,7 +323,7 @@ function ue({
323
323
  {
324
324
  stream: o,
325
325
  isRecording: a,
326
- onClick: m
326
+ onClick: u
327
327
  }
328
328
  )
329
329
  }