vpschatbotwidget 1.0.2 → 1.0.3

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.
@@ -21,10 +21,7 @@ function MessageScroller({
21
21
  return (
22
22
  <MessageScrollerPrimitive.Root
23
23
  data-slot="message-scroller"
24
- className={cn(
25
- "group/message-scroller relative flex size-full min-h-0 flex-col overflow-hidden",
26
- className
27
- )}
24
+ className={cn("msg-scroller-root", className)}
28
25
  {...props}
29
26
  />
30
27
  );
@@ -37,11 +34,7 @@ function MessageScrollerViewport({
37
34
  return (
38
35
  <MessageScrollerPrimitive.Viewport
39
36
  data-slot="message-scroller-viewport"
40
- className={cn(
41
- "size-full min-h-0 min-w-0 overflow-y-auto overscroll-contain",
42
- "data-[pending-scroll]:invisible",
43
- className
44
- )}
37
+ className={cn("msg-scroller-viewport", className)}
45
38
  {...props}
46
39
  />
47
40
  );
@@ -54,7 +47,7 @@ function MessageScrollerContent({
54
47
  return (
55
48
  <MessageScrollerPrimitive.Content
56
49
  data-slot="message-scroller-content"
57
- className={cn("flex h-max min-h-full flex-col gap-4 px-4 py-4", className)}
50
+ className={cn("msg-scroller-content", className)}
58
51
  {...props}
59
52
  />
60
53
  );
@@ -69,10 +62,7 @@ function MessageScrollerItem({
69
62
  <MessageScrollerPrimitive.Item
70
63
  data-slot="message-scroller-item"
71
64
  scrollAnchor={scrollAnchor}
72
- className={cn(
73
- "min-w-0 shrink-0 [contain-intrinsic-size:auto_10rem] [content-visibility:auto]",
74
- className
75
- )}
65
+ className={cn("msg-scroller-item", className)}
76
66
  {...props}
77
67
  />
78
68
  );
@@ -88,15 +78,7 @@ function MessageScrollerButton({
88
78
  <MessageScrollerPrimitive.Button
89
79
  data-slot="message-scroller-button"
90
80
  direction={direction}
91
- className={cn(
92
- "absolute left-1/2 z-10 flex h-9 w-9 -translate-x-1/2 items-center justify-center rounded-full border border-border bg-card text-foreground shadow-md transition-[opacity,transform] duration-200",
93
- "hover:bg-[var(--input-bg)]",
94
- "data-[active=false]:pointer-events-none data-[active=false]:scale-95 data-[active=false]:opacity-0",
95
- "data-[active=true]:scale-100 data-[active=true]:opacity-100",
96
- "data-[direction=end]:bottom-3 data-[direction=start]:top-3",
97
- "motion-reduce:transition-none",
98
- className
99
- )}
81
+ className={cn("msg-scroller-btn", className)}
100
82
  {...props}
101
83
  >
102
84
  {children ?? (