@payfit/unity-components
Version:
22 lines (21 loc) • 1.44 kB
JavaScript
import { forwardRef as e } from "react";
import { uyTv as t } from "@payfit/unity-themes";
import { jsx as n } from "react/jsx-runtime";
//#region src/core/components/attachment/parts/AttachmentTitle.tsx
var r = t({ base: [
"uy:block uy:truncate uy:text-content-neutral uy:typography-body-strong",
"uy:group-data-[size=small]/attachment:typography-body-small-strong uy:group-data-[size=small]/attachment:leading-none",
"uy:group-data-[state=processing]/attachment:motion-safe:animate-text-shimmer",
"uy:group-data-[state=processing]/attachment:motion-safe:bg-linear-to-r",
"uy:group-data-[state=processing]/attachment:motion-safe:from-content-neutral uy:group-data-[state=processing]/attachment:motion-safe:via-content-neutral-lowest uy:group-data-[state=processing]/attachment:motion-safe:to-content-neutral",
"uy:group-data-[state=processing]/attachment:motion-safe:from-35% uy:group-data-[state=processing]/attachment:motion-safe:via-50% uy:group-data-[state=processing]/attachment:motion-safe:to-65%",
"uy:group-data-[state=processing]/attachment:motion-safe:bg-size-[200%_100%] uy:group-data-[state=processing]/attachment:motion-safe:bg-clip-text uy:group-data-[state=processing]/attachment:motion-safe:text-transparent"
] }), i = e((e, t) => /* @__PURE__ */ n("span", {
...e,
ref: t,
"data-unity-slot": "attachment-title",
className: r()
}));
i.displayName = "AttachmentTitle";
//#endregion
export { i as AttachmentTitle };