@flamingo-stack/openframe-frontend-core 0.0.602-snapshot.20260907135007 → 0.0.602
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/{chunk-INPMLFLK.js → chunk-2TXJ3K6S.js} +2 -2
- package/dist/{chunk-AYVJRZO3.cjs → chunk-3KN6IWOT.cjs} +34 -34
- package/dist/{chunk-AYVJRZO3.cjs.map → chunk-3KN6IWOT.cjs.map} +1 -1
- package/dist/{chunk-BOTY4JJT.cjs → chunk-3Z7NYCEO.cjs} +4 -4
- package/dist/{chunk-BOTY4JJT.cjs.map → chunk-3Z7NYCEO.cjs.map} +1 -1
- package/dist/{chunk-B2NXQOAK.cjs → chunk-4OI4DEKP.cjs} +50 -50
- package/dist/{chunk-B2NXQOAK.cjs.map → chunk-4OI4DEKP.cjs.map} +1 -1
- package/dist/{chunk-F2IZWJET.js → chunk-7LVLVRMX.js} +3 -3
- package/dist/{chunk-RJJPL2K5.cjs → chunk-7OYP74N7.cjs} +17 -17
- package/dist/{chunk-RJJPL2K5.cjs.map → chunk-7OYP74N7.cjs.map} +1 -1
- package/dist/{chunk-CEA6WLSC.cjs → chunk-AC5XNLYM.cjs} +3 -3
- package/dist/{chunk-CEA6WLSC.cjs.map → chunk-AC5XNLYM.cjs.map} +1 -1
- package/dist/{chunk-7RAKZ6TW.cjs → chunk-B7A5PTHM.cjs} +4 -4
- package/dist/{chunk-7RAKZ6TW.cjs.map → chunk-B7A5PTHM.cjs.map} +1 -1
- package/dist/{chunk-TLXYYGZW.js → chunk-BAZIRYY7.js} +2 -2
- package/dist/{chunk-AR3JII22.cjs → chunk-BFTEZAOS.cjs} +3 -17
- package/dist/chunk-BFTEZAOS.cjs.map +1 -0
- package/dist/{chunk-SJS2AWIB.cjs → chunk-DO4XE56J.cjs} +3 -3
- package/dist/{chunk-SJS2AWIB.cjs.map → chunk-DO4XE56J.cjs.map} +1 -1
- package/dist/{chunk-Z5H3ITOB.js → chunk-EWIZQGKZ.js} +2 -2
- package/dist/{chunk-AL27OAQB.cjs → chunk-F4CCZV5A.cjs} +33 -33
- package/dist/{chunk-AL27OAQB.cjs.map → chunk-F4CCZV5A.cjs.map} +1 -1
- package/dist/{chunk-JQ52EWRC.js → chunk-FBMAGTYJ.js} +2 -2
- package/dist/{chunk-PFG7TJFZ.js → chunk-GVXIXNZR.js} +2 -2
- package/dist/{chunk-FH6O54PG.js → chunk-HXMLSTDC.js} +4 -4
- package/dist/{chunk-64BE3OFE.cjs → chunk-JEFVZP22.cjs} +17 -17
- package/dist/{chunk-64BE3OFE.cjs.map → chunk-JEFVZP22.cjs.map} +1 -1
- package/dist/{chunk-XPHYCFQ6.js → chunk-JXDKGDRT.js} +2 -2
- package/dist/{chunk-QJJKDNYS.js → chunk-M4EXSVPN.js} +4 -4
- package/dist/{chunk-HO24BJ5K.cjs → chunk-MKKIXKDI.cjs} +10 -10
- package/dist/{chunk-HO24BJ5K.cjs.map → chunk-MKKIXKDI.cjs.map} +1 -1
- package/dist/{chunk-TOUHYL4T.js → chunk-OBLFGKVT.js} +5 -5
- package/dist/{chunk-4SUYR7UP.js → chunk-Q55VMD66.js} +2 -2
- package/dist/{chunk-RJU7L4EC.cjs → chunk-R5IK4U6T.cjs} +3 -3
- package/dist/{chunk-RJU7L4EC.cjs.map → chunk-R5IK4U6T.cjs.map} +1 -1
- package/dist/{chunk-7UY6JYVX.js → chunk-SOUIKJO4.js} +5 -5
- package/dist/{chunk-2SYV7HSV.js → chunk-T2K3Z6GM.js} +1723 -1737
- package/dist/chunk-T2K3Z6GM.js.map +1 -0
- package/dist/{chunk-A73ORC6C.js → chunk-TIFNG7GH.js} +2 -2
- package/dist/{chunk-SPLEOBOR.js → chunk-WD3Y2262.js} +2 -2
- package/dist/{chunk-WGQKIMMJ.cjs → chunk-WP5VWQ2E.cjs} +18 -18
- package/dist/{chunk-WGQKIMMJ.cjs.map → chunk-WP5VWQ2E.cjs.map} +1 -1
- package/dist/{chunk-ZEAV4HB5.cjs → chunk-XRV45XDL.cjs} +13 -13
- package/dist/{chunk-ZEAV4HB5.cjs.map → chunk-XRV45XDL.cjs.map} +1 -1
- package/dist/{chunk-7BYMMJK3.cjs → chunk-YR736WKJ.cjs} +3 -3
- package/dist/{chunk-7BYMMJK3.cjs.map → chunk-YR736WKJ.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/auth/index.d.ts +0 -1
- package/dist/components/features/auth/index.d.ts.map +1 -1
- package/dist/components/features/auth/login-form.d.ts +1 -8
- package/dist/components/features/auth/login-form.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -4
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.js +1 -3
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +31 -33
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +12 -14
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +21 -21
- package/dist/components/meeting-scheduler/index.js +1 -1
- package/dist/components/navigation/index.cjs +5 -5
- package/dist/components/navigation/index.js +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +6 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/features/auth/index.ts +0 -1
- package/src/components/features/auth/login-form.tsx +0 -12
- package/src/stories/auth/Login.stories.tsx +0 -2
- package/dist/chunk-2SYV7HSV.js.map +0 -1
- package/dist/chunk-AR3JII22.cjs.map +0 -1
- package/dist/components/features/auth/legal-links.d.ts +0 -10
- package/dist/components/features/auth/legal-links.d.ts.map +0 -1
- package/src/components/features/auth/__tests__/login-form.test.tsx +0 -31
- package/src/components/features/auth/legal-links.tsx +0 -26
- /package/dist/{chunk-INPMLFLK.js.map → chunk-2TXJ3K6S.js.map} +0 -0
- /package/dist/{chunk-F2IZWJET.js.map → chunk-7LVLVRMX.js.map} +0 -0
- /package/dist/{chunk-TLXYYGZW.js.map → chunk-BAZIRYY7.js.map} +0 -0
- /package/dist/{chunk-Z5H3ITOB.js.map → chunk-EWIZQGKZ.js.map} +0 -0
- /package/dist/{chunk-JQ52EWRC.js.map → chunk-FBMAGTYJ.js.map} +0 -0
- /package/dist/{chunk-PFG7TJFZ.js.map → chunk-GVXIXNZR.js.map} +0 -0
- /package/dist/{chunk-FH6O54PG.js.map → chunk-HXMLSTDC.js.map} +0 -0
- /package/dist/{chunk-XPHYCFQ6.js.map → chunk-JXDKGDRT.js.map} +0 -0
- /package/dist/{chunk-QJJKDNYS.js.map → chunk-M4EXSVPN.js.map} +0 -0
- /package/dist/{chunk-TOUHYL4T.js.map → chunk-OBLFGKVT.js.map} +0 -0
- /package/dist/{chunk-4SUYR7UP.js.map → chunk-Q55VMD66.js.map} +0 -0
- /package/dist/{chunk-7UY6JYVX.js.map → chunk-SOUIKJO4.js.map} +0 -0
- /package/dist/{chunk-A73ORC6C.js.map → chunk-TIFNG7GH.js.map} +0 -0
- /package/dist/{chunk-SPLEOBOR.js.map → chunk-WD3Y2262.js.map} +0 -0
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface LegalLinksProps {
|
|
2
|
-
termsUrl: string;
|
|
3
|
-
privacyPolicyUrl: string;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* "Terms of Service • Privacy Policy" — the quiet legal row at the foot of an auth card, for the
|
|
7
|
-
* screens that have no consent checkbox to carry the links (Login, the email step of Sign Up).
|
|
8
|
-
*/
|
|
9
|
-
export declare function LegalLinks({ termsUrl, privacyPolicyUrl }: LegalLinksProps): import("react").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=legal-links.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legal-links.d.ts","sourceRoot":"","sources":["../../../../src/components/features/auth/legal-links.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,eAAe,+BAYzE"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { render, screen } from '@testing-library/react';
|
|
2
|
-
import { describe, expect, it } from 'vitest';
|
|
3
|
-
|
|
4
|
-
import { LoginForm } from '../login-form';
|
|
5
|
-
import type { AuthSsoProvider } from '../sso-providers';
|
|
6
|
-
|
|
7
|
-
const baseProps = { email: '', onEmailChange: () => {}, ssoProviders: [] as AuthSsoProvider[] };
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* The login card has no consent checkbox, so the legal row is the only place its Terms and Privacy
|
|
11
|
-
* links live — and it is opt-in, because consumers outside OpenFrame have no urls to give it.
|
|
12
|
-
*/
|
|
13
|
-
describe('LoginForm legal links', () => {
|
|
14
|
-
it('renders Terms of Service and Privacy Policy as new-tab links when both urls are given', () => {
|
|
15
|
-
render(
|
|
16
|
-
<LoginForm {...baseProps} termsUrl="https://example.com/terms" privacyPolicyUrl="https://example.com/privacy" />,
|
|
17
|
-
);
|
|
18
|
-
const terms = screen.getByRole('link', { name: 'Terms of Service' });
|
|
19
|
-
const privacy = screen.getByRole('link', { name: 'Privacy Policy' });
|
|
20
|
-
expect(terms.getAttribute('href')).toBe('https://example.com/terms');
|
|
21
|
-
expect(privacy.getAttribute('href')).toBe('https://example.com/privacy');
|
|
22
|
-
expect(terms.getAttribute('target')).toBe('_blank');
|
|
23
|
-
expect(privacy.getAttribute('target')).toBe('_blank');
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
it('renders no legal row when the urls are omitted', () => {
|
|
27
|
-
render(<LoginForm {...baseProps} />);
|
|
28
|
-
expect(screen.queryByRole('link', { name: 'Terms of Service' })).toBeNull();
|
|
29
|
-
expect(screen.queryByRole('link', { name: 'Privacy Policy' })).toBeNull();
|
|
30
|
-
});
|
|
31
|
-
});
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { PolicyLink } from '../../ui/policy-link';
|
|
4
|
-
|
|
5
|
-
export interface LegalLinksProps {
|
|
6
|
-
termsUrl: string;
|
|
7
|
-
privacyPolicyUrl: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* "Terms of Service • Privacy Policy" — the quiet legal row at the foot of an auth card, for the
|
|
12
|
-
* screens that have no consent checkbox to carry the links (Login, the email step of Sign Up).
|
|
13
|
-
*/
|
|
14
|
-
export function LegalLinks({ termsUrl, privacyPolicyUrl }: LegalLinksProps) {
|
|
15
|
-
return (
|
|
16
|
-
<div className="flex justify-center gap-[var(--spacing-system-xs)] text-ods-text-secondary text-h6">
|
|
17
|
-
<PolicyLink href={termsUrl} tone="secondary">
|
|
18
|
-
Terms of Service
|
|
19
|
-
</PolicyLink>
|
|
20
|
-
<span aria-hidden="true">•</span>
|
|
21
|
-
<PolicyLink href={privacyPolicyUrl} tone="secondary">
|
|
22
|
-
Privacy Policy
|
|
23
|
-
</PolicyLink>
|
|
24
|
-
</div>
|
|
25
|
-
);
|
|
26
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|