@linktr.ee/messaging-react 4.4.1-rc-1787614892 → 4.4.1-rc-1787616779
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +870 -858
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/MessageBubble/MessageBubble.stories.tsx +13 -21
- package/src/components/MessageBubble/MessageBubble.test.tsx +21 -10
- package/src/components/MessageBubble/components/_shared/BubbleShell.tsx +33 -16
- package/src/components/MessageBubble/components/_shared/bubbleTail.tsx +2 -2
- package/src/components/MessageBubble/types.ts +4 -4
- package/src/components/RichCard/RichCard.stories.tsx +13 -1
- package/src/components/RichCard/RichCard.test.tsx +20 -0
- package/src/components/RichCard/RichCardBody.tsx +23 -14
package/dist/index.d.ts
CHANGED
|
@@ -1361,10 +1361,10 @@ export declare interface MessageBubbleBaseProps {
|
|
|
1361
1361
|
*/
|
|
1362
1362
|
tail?: boolean;
|
|
1363
1363
|
/**
|
|
1364
|
-
* Extra classes on the
|
|
1365
|
-
* `w-fit` to hug the text (chat/preview) or
|
|
1366
|
-
* (card-like list rows). With no width
|
|
1367
|
-
* container. Also where you'd set `max-w-[…]`.
|
|
1364
|
+
* Extra classes on the outermost Stream message wrapper. Width is
|
|
1365
|
+
* caller-controlled: pass `w-fit` to hug the text (chat/preview) or
|
|
1366
|
+
* `w-full` to fill the container (card-like list rows). With no width
|
|
1367
|
+
* class the bubble fills its container. Also where you'd set `max-w-[…]`.
|
|
1368
1368
|
*/
|
|
1369
1369
|
className?: string;
|
|
1370
1370
|
}
|