@wealthx/shadcn 1.5.35 → 1.5.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wealthx/shadcn",
3
- "version": "1.5.35",
3
+ "version": "1.5.37",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./src/index.ts",
@@ -175,7 +175,7 @@ function EmailMessageBubble({
175
175
 
176
176
  <div
177
177
  className={cn(
178
- "w-full break-words border border-border bg-background px-4 py-3 text-sm leading-relaxed",
178
+ "w-full min-w-0 break-words whitespace-pre-line border border-border bg-background px-4 py-3 text-sm leading-relaxed [overflow-wrap:anywhere]",
179
179
  "[&_p]:mb-2 [&_p:last-child]:mb-0",
180
180
  "[&_ul]:mb-2 [&_ul]:list-disc [&_ul]:pl-4",
181
181
  "[&_ol]:mb-2 [&_ol]:list-decimal [&_ol]:pl-4",
@@ -187,6 +187,8 @@ function EmailMessageBubble({
187
187
  "[&_a]:text-primary [&_a]:underline",
188
188
  "[&_blockquote]:border-l-2 [&_blockquote]:border-border [&_blockquote]:pl-3 [&_blockquote]:italic [&_blockquote]:text-muted-foreground",
189
189
  "[&_hr]:my-3 [&_hr]:border-border",
190
+ "[&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:bg-transparent [&_pre]:p-0 [&_pre]:font-[inherit] [&_pre]:text-[length:inherit]",
191
+ "[&_code]:whitespace-pre-wrap [&_code]:break-words [&_code]:bg-transparent [&_code]:p-0 [&_code]:font-[inherit] [&_code]:text-[length:inherit]",
190
192
  isAdvisor && "bg-muted/30"
191
193
  )}
192
194
  >