@linktr.ee/messaging-react 3.24.2-rc-1785435591 → 3.24.2-rc-1785436624
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-Cgn2G-VJ.js → Card-BI3bA2Cj.js} +2 -2
- package/dist/{Card-Cgn2G-VJ.js.map → Card-BI3bA2Cj.js.map} +1 -1
- package/dist/{Card-CRhkz5Jp.cjs → Card-iXdD3NF2.cjs} +2 -2
- package/dist/{Card-CRhkz5Jp.cjs.map → Card-iXdD3NF2.cjs.map} +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/{index-Daw6ObfN.js → index-BlHbSVwK.js} +14 -4
- package/dist/index-BlHbSVwK.js.map +1 -0
- package/dist/{index-BwfUbPpY.cjs → index-F3RRurYR.cjs} +2 -2
- package/dist/index-F3RRurYR.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/components/LinkAttachment/LinkAttachment.test.tsx +17 -3
- package/src/components/LinkAttachment/components/_shared/CardBody.tsx +1 -1
- package/src/components/LinkAttachment/components/_shared/CardShell.tsx +11 -1
- package/src/components/LinkAttachment/components/_shared/CardThumbnail.tsx +1 -1
- package/src/components/LinkAttachment/components/_shared/useChinPalette.ts +1 -1
- package/src/styles.css +8 -41
- package/dist/index-BwfUbPpY.cjs.map +0 -1
- package/dist/index-Daw6ObfN.js.map +0 -1
|
@@ -2775,7 +2775,7 @@ const _r = ({
|
|
|
2775
2775
|
function ai(e) {
|
|
2776
2776
|
return ke($s)[e] ?? ni[e];
|
|
2777
2777
|
}
|
|
2778
|
-
const ri = F.lazy(() => import("./Card-qS17qnN0.js")), ii = F.lazy(() => import("./Card-
|
|
2778
|
+
const ri = F.lazy(() => import("./Card-qS17qnN0.js")), ii = F.lazy(() => import("./Card-BI3bA2Cj.js")), oi = () => /* @__PURE__ */ s(
|
|
2779
2779
|
"div",
|
|
2780
2780
|
{
|
|
2781
2781
|
className: "w-[280px] min-h-[200px] animate-pulse rounded-md bg-black/[0.06] shadow-[0_0_0_1px_rgba(0,0,0,0.04),0_1px_2px_rgba(0,0,0,0.04),0_8px_32px_rgba(0,0,0,0.1)]",
|
|
@@ -3111,7 +3111,17 @@ const _i = {
|
|
|
3111
3111
|
// Kept underneath `accentStyle` rather than swapped out: the inline
|
|
3112
3112
|
// background wins on specificity, and leaving the class in place means
|
|
3113
3113
|
// an accent that somehow doesn't paint still lands on a sane surface.
|
|
3114
|
-
|
|
3114
|
+
//
|
|
3115
|
+
// MUST be an arbitrary value, not a theme token. This package ships no
|
|
3116
|
+
// Tailwind utilities — `dist/assets/index.css` is only the hand-written
|
|
3117
|
+
// `.str-chat`/`.mes-*` CSS — so consumers generate our classes by scanning
|
|
3118
|
+
// `messaging-react/dist` against *their own* theme. `shade` comes from the
|
|
3119
|
+
// component-library preset that this package builds with; frontyard builds
|
|
3120
|
+
// on the Arbor preset and has no such colour, so `bg-shade` was silently
|
|
3121
|
+
// dropped, the chin rendered transparent, and the own-message `color: white`
|
|
3122
|
+
// left the title and URL invisible (MES-1388). An arbitrary value is
|
|
3123
|
+
// generated from the class name alone and cannot depend on consumer theme.
|
|
3124
|
+
o ?? (e === "dark" ? "bg-[#1e2330]" : "bg-white"),
|
|
3115
3125
|
// `focus-ring` is a design-system utility from the component-library
|
|
3116
3126
|
// tailwind preset — outline-none + a black 2px focus-visible ring
|
|
3117
3127
|
// with offset, so keyboard users can see the focused card.
|
|
@@ -3208,7 +3218,7 @@ const _i = {
|
|
|
3208
3218
|
children: [
|
|
3209
3219
|
o ? (
|
|
3210
3220
|
// Reuses the placeholder fill: a fixed `bg-black/[0.06]` would be
|
|
3211
|
-
// invisible on the dark card's
|
|
3221
|
+
// invisible on the dark card's dark surface. Stock Tailwind only
|
|
3212
3222
|
// — `animate-shimmer` exists in this package's own tailwind config but
|
|
3213
3223
|
// not in either consumer's, so it would compile to nothing in
|
|
3214
3224
|
// frontyard and profiles while looking right in this Storybook.
|
|
@@ -5593,4 +5603,4 @@ export {
|
|
|
5593
5603
|
vs as y,
|
|
5594
5604
|
ht as z
|
|
5595
5605
|
};
|
|
5596
|
-
//# sourceMappingURL=index-
|
|
5606
|
+
//# sourceMappingURL=index-BlHbSVwK.js.map
|