@sesionario/blocks 1.22.1 → 1.22.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.
- package/dist/index.cjs +11 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1692,11 +1692,11 @@ function TenantAvatar({
|
|
|
1692
1692
|
"div",
|
|
1693
1693
|
{
|
|
1694
1694
|
className: cn(
|
|
1695
|
-
"
|
|
1695
|
+
"flex shrink-0 items-center justify-center overflow-hidden rounded-full font-medium",
|
|
1696
1696
|
sizeClass
|
|
1697
1697
|
),
|
|
1698
1698
|
style: logo ? void 0 : avatarFallbackStyle(name),
|
|
1699
|
-
children: logo ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: logo, alt: "", className: "
|
|
1699
|
+
children: logo ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: logo, alt: "", className: "size-full object-cover" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: textClass, children: getInitials(name) })
|
|
1700
1700
|
}
|
|
1701
1701
|
);
|
|
1702
1702
|
}
|
|
@@ -2223,7 +2223,14 @@ function MenuAvatar({
|
|
|
2223
2223
|
"relative flex shrink-0 overflow-hidden rounded-full",
|
|
2224
2224
|
sizeClass
|
|
2225
2225
|
),
|
|
2226
|
-
children: image ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2226
|
+
children: image ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2227
|
+
"img",
|
|
2228
|
+
{
|
|
2229
|
+
src: image,
|
|
2230
|
+
alt: "",
|
|
2231
|
+
className: "aspect-square size-full object-cover"
|
|
2232
|
+
}
|
|
2233
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
2227
2234
|
"span",
|
|
2228
2235
|
{
|
|
2229
2236
|
className: "flex size-full items-center justify-center text-xs font-semibold",
|
|
@@ -5174,7 +5181,7 @@ function VideoPlayer({
|
|
|
5174
5181
|
setUserStarted(true);
|
|
5175
5182
|
revealControls();
|
|
5176
5183
|
},
|
|
5177
|
-
className: "absolute inset-0 flex items-center justify-center bg-
|
|
5184
|
+
className: "absolute inset-0 flex items-center justify-center bg-black bg-contain bg-center bg-no-repeat",
|
|
5178
5185
|
style: poster ? { backgroundImage: `url(${poster})` } : void 0,
|
|
5179
5186
|
children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-16 items-center justify-center rounded-full bg-black/50 backdrop-blur-sm transition group-hover:bg-black/70", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Play, { className: "size-8 translate-x-0.5", fill: "currentColor" }) })
|
|
5180
5187
|
}
|