@brainfish-ai/components 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/chunks/{ChatSearch.C05QyX0s.js → ChatSearch.BAhBvhQb.js} +4 -4
- package/dist/esm/chunks/ChatSearch.BAhBvhQb.js.map +1 -0
- package/dist/esm/chunks/{FormattedMessage.DkFftNx6.js → FormattedMessage.gZ5DiZSo.js} +30 -5
- package/dist/esm/chunks/FormattedMessage.gZ5DiZSo.js.map +1 -0
- package/dist/esm/components/chat-search.js +1 -1
- package/dist/esm/components/markdown.js +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +22 -0
- package/dist/stats.html +1 -1
- package/package.json +1 -1
- package/dist/esm/chunks/ChatSearch.C05QyX0s.js.map +0 -1
- package/dist/esm/chunks/FormattedMessage.DkFftNx6.js.map +0 -1
|
@@ -3,10 +3,10 @@ import { motion, AnimatePresence } from 'framer-motion';
|
|
|
3
3
|
import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from '../components/ui/tooltip.js';
|
|
4
4
|
import { Button } from '../components/ui/button.js';
|
|
5
5
|
import { XCircle, Check, Copy, CaretDown, ArrowSquareOut, CaretRight, ArrowsVertical, ArrowDown, MagnifyingGlass, X, CheckCircle, Circle, Image, ArrowRight, ArrowLeft, ArrowsInSimple, ArrowsOutSimple } from '@phosphor-icons/react';
|
|
6
|
+
import { g as getDefaultExportFromCjs, F as FormattedMessage, c as addPopupWidgetUtm } from './FormattedMessage.gZ5DiZSo.js';
|
|
6
7
|
import { appendErrors, useForm, Controller } from 'react-hook-form';
|
|
7
8
|
import { validateFieldsNatively, toNestErrors } from '@hookform/resolvers';
|
|
8
9
|
import require$$0 from 'ajv';
|
|
9
|
-
import { g as getDefaultExportFromCjs, F as FormattedMessage } from './FormattedMessage.DkFftNx6.js';
|
|
10
10
|
import { Input } from '../components/ui/input.js';
|
|
11
11
|
import { Label } from '../components/ui/label.js';
|
|
12
12
|
import { Textarea } from '../components/ui/textarea.js';
|
|
@@ -3567,7 +3567,7 @@ const NextBestActions = ({ nextBestActions, onActionClick }) => {
|
|
|
3567
3567
|
initial: { opacity: 0, x: -20 },
|
|
3568
3568
|
animate: { opacity: 1, x: 0 },
|
|
3569
3569
|
transition: { delay: index * 0.1 },
|
|
3570
|
-
href: action.value,
|
|
3570
|
+
href: addPopupWidgetUtm(action.value),
|
|
3571
3571
|
target: "_blank",
|
|
3572
3572
|
rel: "noopener noreferrer",
|
|
3573
3573
|
className,
|
|
@@ -4574,7 +4574,7 @@ function Answer({
|
|
|
4574
4574
|
"a",
|
|
4575
4575
|
{
|
|
4576
4576
|
key: result.id,
|
|
4577
|
-
href: result.url,
|
|
4577
|
+
href: addPopupWidgetUtm(result.url),
|
|
4578
4578
|
target: "_blank",
|
|
4579
4579
|
rel: "noopener noreferrer",
|
|
4580
4580
|
className: "flex items-center gap-2 p-3 transition-colors duration-200 hover:bg-accent bg-card text-foreground"
|
|
@@ -5972,4 +5972,4 @@ const ChatSearch = forwardRef(({ featureFlags, ...props }, ref) => /* @__PURE__
|
|
|
5972
5972
|
ChatSearch.displayName = "ChatSearch";
|
|
5973
5973
|
|
|
5974
5974
|
export { ChatSearch as C, ChatSearchProvider as a, useIsChatSearchDirty as b, useChatSearch as u };
|
|
5975
|
-
//# sourceMappingURL=ChatSearch.
|
|
5975
|
+
//# sourceMappingURL=ChatSearch.BAhBvhQb.js.map
|