@linktr.ee/messaging-react 3.3.9 → 3.3.10-rc-1781247012
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/{Card-BCm-99bg.cjs → Card-Ch3cTL6G.cjs} +2 -2
- package/dist/{Card-BCm-99bg.cjs.map → Card-Ch3cTL6G.cjs.map} +1 -1
- package/dist/{Card-cL9lwWhR.cjs → Card-DezN34Sz.cjs} +2 -2
- package/dist/{Card-cL9lwWhR.cjs.map → Card-DezN34Sz.cjs.map} +1 -1
- package/dist/{Card-BJPVJHv-.cjs → Card-DiSXLhzw.cjs} +2 -2
- package/dist/{Card-BJPVJHv-.cjs.map → Card-DiSXLhzw.cjs.map} +1 -1
- package/dist/{Card-B7QHTOm5.js → Card-DndbBigk.js} +2 -2
- package/dist/{Card-B7QHTOm5.js.map → Card-DndbBigk.js.map} +1 -1
- package/dist/{Card-C0jnPxly.js → Card-giUAe8IB.js} +2 -2
- package/dist/{Card-C0jnPxly.js.map → Card-giUAe8IB.js.map} +1 -1
- package/dist/{Card-CokwQF6h.js → Card-qFB_y7k3.js} +3 -3
- package/dist/{Card-CokwQF6h.js.map → Card-qFB_y7k3.js.map} +1 -1
- package/dist/{LockedThumbnail-Pum0IO0v.js → LockedThumbnail-C9Y0oCjv.js} +2 -2
- package/dist/{LockedThumbnail-Pum0IO0v.js.map → LockedThumbnail-C9Y0oCjv.js.map} +1 -1
- package/dist/{LockedThumbnail-B8RE_L4Z.cjs → LockedThumbnail-DkdVuMZM.cjs} +2 -2
- package/dist/{LockedThumbnail-B8RE_L4Z.cjs.map → LockedThumbnail-DkdVuMZM.cjs.map} +1 -1
- package/dist/index-B_8de68T.cjs +2 -0
- package/dist/index-B_8de68T.cjs.map +1 -0
- package/dist/{index-BYerDRXA.js → index-DGVCJzwy.js} +6 -6
- package/dist/index-DGVCJzwy.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/CustomLinkPreviewList/CustomLinkPreviewCard.tsx +3 -3
- package/src/components/CustomLinkPreviewList/index.tsx +1 -1
- package/dist/index-BYerDRXA.js.map +0 -1
- package/dist/index-CR0b7198.cjs +0 -2
- package/dist/index-CR0b7198.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-B_8de68T.cjs");exports.ActionButton=e.ActionButton;exports.Avatar=e.Avatar;exports.ChannelEmptyState=e.ChannelEmptyState;exports.ChannelList=e.ChannelList;exports.ChannelView=e.ChannelView;exports.CustomMessageProvider=e.CustomMessageProvider;exports.FaqList=e.FaqList;exports.FaqListItem=e.FaqListItem;exports.LinkAttachment=e.LinkAttachment;exports.LockedAttachment=e.LockedAttachment;exports.MediaMessage=e.MediaMessage;exports.MessageAttachment=e.MessageAttachment;exports.MessageVoteButtons=e.MessageVoteButtons;exports.MessagingProvider=e.MessagingProvider;exports.MessagingShell=e.MessagingShell;exports.buildCompactMetaLabel=e.buildCompactMetaLabel;exports.formatFileSize=e.formatFileSize;exports.formatRelativeTime=e.formatRelativeTime;exports.getFileExtensionLabel=e.getFileExtensionLabel;exports.getMessageDisplayText=e.getMessageDisplayText;exports.isLinkAttachment=e.isLinkAttachment;exports.isUuidLike=e.isUuidLike;exports.messageAttachmentGroupPositionFromStream=e.bubbleGroupPositionFromStream;exports.normalizeLanguageCode=e.normalizeLanguageCode;exports.resolveLinkAttachment=e.resolveLinkAttachment;exports.resolveMediaFromMessage=e.resolveMediaFromMessage;exports.resolveParticipantDisplayName=e.resolveParticipantDisplayName;exports.useCustomMessage=e.useCustomMessage;exports.useMessageVote=e.useMessageVote;exports.useMessaging=e.useMessaging;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, b as t, C as i, c as n, d as o, e as m, F as g, f as l, L as r, h as M, M as u, i as L, j as c, k as h, l as d, m as p, n as v, o as A, p as C, q as F, s as k, t as b, u as f, v as x, w as y, x as P, y as S, z as q, B as z, D as B } from "./index-
|
|
1
|
+
import { a as e, b as t, C as i, c as n, d as o, e as m, F as g, f as l, L as r, h as M, M as u, i as L, j as c, k as h, l as d, m as p, n as v, o as A, p as C, q as F, s as k, t as b, u as f, v as x, w as y, x as P, y as S, z as q, B as z, D as B } from "./index-DGVCJzwy.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ActionButton,
|
|
4
4
|
t as Avatar,
|
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@ const CustomLinkPreviewCard: React.FC<CustomLinkPreviewCardProps> = ({
|
|
|
23
23
|
href={og_scrape_url}
|
|
24
24
|
target="_blank"
|
|
25
25
|
rel="noopener noreferrer"
|
|
26
|
-
className="relative block w-
|
|
26
|
+
className="relative block w-full rounded-[24px] bg-[#121110] p-2 no-underline transition-opacity hover:opacity-90"
|
|
27
27
|
>
|
|
28
28
|
{image_url && (
|
|
29
29
|
<img
|
|
@@ -42,11 +42,11 @@ const CustomLinkPreviewCard: React.FC<CustomLinkPreviewCardProps> = ({
|
|
|
42
42
|
</button>
|
|
43
43
|
<div className="p-2">
|
|
44
44
|
{title && (
|
|
45
|
-
<div className="text-[14px] font-medium leading-5 text-white">
|
|
45
|
+
<div className="truncate text-[14px] font-medium leading-5 text-white">
|
|
46
46
|
{title}
|
|
47
47
|
</div>
|
|
48
48
|
)}
|
|
49
|
-
<div className="text-[12px] leading-4 text-white/55">
|
|
49
|
+
<div className="truncate text-[12px] leading-4 text-white/55">
|
|
50
50
|
{og_scrape_url}
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
@@ -32,7 +32,7 @@ export const CustomLinkPreviewList = () => {
|
|
|
32
32
|
if (!showLinkPreviews) return null
|
|
33
33
|
|
|
34
34
|
return (
|
|
35
|
-
<div className="flex flex-col items-
|
|
35
|
+
<div className="flex flex-col items-stretch w-full gap-2 mb-4">
|
|
36
36
|
{stateLinkPreviews.map((linkPreview) => (
|
|
37
37
|
<CustomLinkPreviewCard
|
|
38
38
|
key={linkPreview.og_scrape_url}
|