@medialane/ui 0.166.0 → 0.168.0

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.
@@ -1,10 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface EmailVerificationGateProps {
4
- reason: string;
5
- settingsHref: string;
6
- className?: string;
7
- }
8
- declare function EmailVerificationGate({ reason, settingsHref, className, }: EmailVerificationGateProps): react_jsx_runtime.JSX.Element;
9
-
10
- export { EmailVerificationGate, type EmailVerificationGateProps };
@@ -1,33 +0,0 @@
1
- "use client";
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
- import { Mail } from "lucide-react";
4
- import { cn } from "../utils/cn.js";
5
- const BRAND_LOOP = "linear-gradient(270deg, #3b7bff, #8a5cf6, #f6608f, #fb8b46, #3b7bff)";
6
- function EmailVerificationGate({
7
- reason,
8
- settingsHref,
9
- className
10
- }) {
11
- return /* @__PURE__ */ jsxs(
12
- "a",
13
- {
14
- href: settingsHref,
15
- className: cn(
16
- "ml-gbtn col-span-2 mb-3 flex h-[54px] items-center justify-center gap-2 rounded-[13px] bg-transparent px-5 font-semibold transition-transform active:scale-[0.99]",
17
- className
18
- ),
19
- style: { "--ml-grad": BRAND_LOOP },
20
- children: [
21
- /* @__PURE__ */ jsx(Mail, { className: "h-4 w-4 shrink-0 text-brand-orange" }),
22
- /* @__PURE__ */ jsxs("span", { className: "truncate text-base", children: [
23
- "Verify email to ",
24
- reason
25
- ] })
26
- ]
27
- }
28
- );
29
- }
30
- export {
31
- EmailVerificationGate
32
- };
33
- //# sourceMappingURL=email-verification-gate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/components/email-verification-gate.tsx"],"sourcesContent":["\"use client\";\n\nimport { Mail } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\n\nexport interface EmailVerificationGateProps {\n reason: string;\n settingsHref: string;\n className?: string;\n}\n\nconst BRAND_LOOP = \"linear-gradient(270deg, #3b7bff, #8a5cf6, #f6608f, #fb8b46, #3b7bff)\";\n\nexport function EmailVerificationGate({\n reason,\n settingsHref,\n className,\n}: EmailVerificationGateProps) {\n return (\n <a\n href={settingsHref}\n className={cn(\n \"ml-gbtn col-span-2 mb-3 flex h-[54px] items-center justify-center gap-2 rounded-[13px] bg-transparent px-5 font-semibold transition-transform active:scale-[0.99]\",\n className,\n )}\n style={{ '--ml-grad': BRAND_LOOP } as React.CSSProperties}\n >\n <Mail className=\"h-4 w-4 shrink-0 text-brand-orange\" />\n <span className=\"truncate text-base\">Verify email to {reason}</span>\n </a>\n );\n}\n"],"mappings":";AA2BM,cACA,YADA;AAzBN,SAAS,YAAY;AACrB,SAAS,UAAU;AAQnB,MAAM,aAAa;AAEZ,SAAS,sBAAsB;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AACF,GAA+B;AAC7B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAM;AAAA,MACN,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACA,OAAO,EAAE,aAAa,WAAW;AAAA,MAEjC;AAAA,4BAAC,QAAK,WAAU,sCAAqC;AAAA,QACrD,qBAAC,UAAK,WAAU,sBAAqB;AAAA;AAAA,UAAiB;AAAA,WAAO;AAAA;AAAA;AAAA,EAC/D;AAEJ;","names":[]}