@flamingo-stack/openframe-frontend-core 0.0.629-snapshot.20260914090731 → 0.0.629

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.
Files changed (114) hide show
  1. package/dist/{chunk-26J76HRN.js → chunk-2MXKO5BN.js} +4 -4
  2. package/dist/{chunk-KEJGUDKB.cjs → chunk-2ZSGDKZI.cjs} +4 -4
  3. package/dist/{chunk-KEJGUDKB.cjs.map → chunk-2ZSGDKZI.cjs.map} +1 -1
  4. package/dist/{chunk-KP2XOOVS.cjs → chunk-3ZY4CE7N.cjs} +3 -3
  5. package/dist/{chunk-KP2XOOVS.cjs.map → chunk-3ZY4CE7N.cjs.map} +1 -1
  6. package/dist/{chunk-OKAFXLZL.js → chunk-4NMVDTHA.js} +2 -2
  7. package/dist/{chunk-7OBVB4NA.js → chunk-4VPCIREO.js} +2 -2
  8. package/dist/{chunk-XSXKXUC6.cjs → chunk-5JAB5LVO.cjs} +17 -17
  9. package/dist/{chunk-XSXKXUC6.cjs.map → chunk-5JAB5LVO.cjs.map} +1 -1
  10. package/dist/{chunk-C7KCLYDP.cjs → chunk-5OMBSMRI.cjs} +13 -13
  11. package/dist/{chunk-C7KCLYDP.cjs.map → chunk-5OMBSMRI.cjs.map} +1 -1
  12. package/dist/{chunk-3VBFO7CA.cjs → chunk-7P6M5G3W.cjs} +17 -17
  13. package/dist/{chunk-3VBFO7CA.cjs.map → chunk-7P6M5G3W.cjs.map} +1 -1
  14. package/dist/{chunk-5WUXQJPZ.cjs → chunk-CKMJQ46H.cjs} +18 -18
  15. package/dist/{chunk-5WUXQJPZ.cjs.map → chunk-CKMJQ46H.cjs.map} +1 -1
  16. package/dist/{chunk-35RGVTMO.cjs → chunk-CV2SESZT.cjs} +3 -3
  17. package/dist/{chunk-35RGVTMO.cjs.map → chunk-CV2SESZT.cjs.map} +1 -1
  18. package/dist/{chunk-JVGTKFK6.js → chunk-D5CKXMMC.js} +2 -2
  19. package/dist/{chunk-ZJZVPYWG.js → chunk-DGY4NVIB.js} +5 -5
  20. package/dist/{chunk-KN5OVAWR.cjs → chunk-DLHGJYYA.cjs} +36 -36
  21. package/dist/{chunk-KN5OVAWR.cjs.map → chunk-DLHGJYYA.cjs.map} +1 -1
  22. package/dist/{chunk-RECNGZQR.js → chunk-GR3WOOM7.js} +5 -5
  23. package/dist/{chunk-IJJZIJNB.cjs → chunk-HVWNOPDV.cjs} +3 -3
  24. package/dist/{chunk-IJJZIJNB.cjs.map → chunk-HVWNOPDV.cjs.map} +1 -1
  25. package/dist/{chunk-6JXTEMD7.cjs → chunk-K7EJ7HYJ.cjs} +10 -10
  26. package/dist/{chunk-6JXTEMD7.cjs.map → chunk-K7EJ7HYJ.cjs.map} +1 -1
  27. package/dist/{chunk-NLA2EC2F.cjs → chunk-KO52PXL4.cjs} +4 -4
  28. package/dist/{chunk-NLA2EC2F.cjs.map → chunk-KO52PXL4.cjs.map} +1 -1
  29. package/dist/{chunk-T2EURL77.cjs → chunk-LHYRLL64.cjs} +33 -33
  30. package/dist/{chunk-T2EURL77.cjs.map → chunk-LHYRLL64.cjs.map} +1 -1
  31. package/dist/{chunk-KTCBXJKX.js → chunk-LQLL4S4V.js} +2 -2
  32. package/dist/{chunk-XTPYUKVY.js → chunk-MOB5AA3X.js} +3 -3
  33. package/dist/{chunk-SPERLWTK.js → chunk-MTLDYBXK.js} +4 -4
  34. package/dist/{chunk-NJEGB5LF.js → chunk-OXTV63QO.js} +2 -2
  35. package/dist/{chunk-RT2I62SA.js → chunk-PFBMVQ5R.js} +2 -2
  36. package/dist/{chunk-3XL5OEOP.js → chunk-PJZYJDR7.js} +2 -2
  37. package/dist/{chunk-QAHDOT4A.js → chunk-QGWBMPQY.js} +1814 -1866
  38. package/dist/chunk-QGWBMPQY.js.map +1 -0
  39. package/dist/{chunk-K2TMNVZ5.js → chunk-SCPJ53CM.js} +2 -2
  40. package/dist/{chunk-DS5PA33B.js → chunk-T46STYS2.js} +2 -2
  41. package/dist/{chunk-GK67JRSQ.cjs → chunk-W523NIJ6.cjs} +3 -3
  42. package/dist/{chunk-GK67JRSQ.cjs.map → chunk-W523NIJ6.cjs.map} +1 -1
  43. package/dist/{chunk-I7XWPQ75.cjs → chunk-WR67VM2J.cjs} +6 -58
  44. package/dist/chunk-WR67VM2J.cjs.map +1 -0
  45. package/dist/{chunk-F5DZDBNU.cjs → chunk-XNC37UQP.cjs} +51 -51
  46. package/dist/{chunk-F5DZDBNU.cjs.map → chunk-XNC37UQP.cjs.map} +1 -1
  47. package/dist/components/case-studies/index.cjs +8 -8
  48. package/dist/components/case-studies/index.js +2 -2
  49. package/dist/components/contact/index.cjs +3 -3
  50. package/dist/components/contact/index.js +2 -2
  51. package/dist/components/docs/index.cjs +6 -6
  52. package/dist/components/docs/index.js +5 -5
  53. package/dist/components/embeds/index.cjs +3 -3
  54. package/dist/components/embeds/index.js +2 -2
  55. package/dist/components/faq/index.cjs +3 -3
  56. package/dist/components/faq/index.js +2 -2
  57. package/dist/components/features/auth/index.d.ts +0 -2
  58. package/dist/components/features/auth/index.d.ts.map +1 -1
  59. package/dist/components/features/auth/login-form.d.ts.map +1 -1
  60. package/dist/components/features/auth/sso-join-form.d.ts +1 -3
  61. package/dist/components/features/auth/sso-join-form.d.ts.map +1 -1
  62. package/dist/components/features/auth/terms-agreement-label.d.ts +1 -3
  63. package/dist/components/features/auth/terms-agreement-label.d.ts.map +1 -1
  64. package/dist/components/features/index.cjs +2 -6
  65. package/dist/components/features/index.cjs.map +1 -1
  66. package/dist/components/features/index.js +1 -5
  67. package/dist/components/help-center-pages/index.cjs +22 -22
  68. package/dist/components/help-center-pages/index.js +13 -13
  69. package/dist/components/index.cjs +31 -35
  70. package/dist/components/index.cjs.map +1 -1
  71. package/dist/components/index.js +12 -16
  72. package/dist/components/index.js.map +1 -1
  73. package/dist/components/meeting-scheduler/index.cjs +21 -21
  74. package/dist/components/meeting-scheduler/index.js +1 -1
  75. package/dist/components/navigation/index.cjs +5 -5
  76. package/dist/components/navigation/index.js +4 -4
  77. package/dist/components/onboarding-guides/index.cjs +5 -5
  78. package/dist/components/onboarding-guides/index.js +4 -4
  79. package/dist/components/tickets/index.cjs +6 -6
  80. package/dist/components/tickets/index.js +5 -5
  81. package/dist/components/ui/index.cjs +2 -2
  82. package/dist/components/ui/index.js +1 -1
  83. package/dist/index.cjs +6 -10
  84. package/dist/index.cjs.map +1 -1
  85. package/dist/index.js +5 -9
  86. package/dist/index.js.map +1 -1
  87. package/package.json +1 -1
  88. package/src/components/features/auth/index.ts +0 -2
  89. package/src/components/features/auth/login-form.tsx +1 -3
  90. package/src/components/features/auth/sso-join-form.tsx +1 -4
  91. package/src/components/features/auth/terms-agreement-label.tsx +2 -8
  92. package/dist/chunk-I7XWPQ75.cjs.map +0 -1
  93. package/dist/chunk-QAHDOT4A.js.map +0 -1
  94. package/dist/components/features/auth/compact-auth-shell.d.ts +0 -20
  95. package/dist/components/features/auth/compact-auth-shell.d.ts.map +0 -1
  96. package/dist/components/features/auth/no-account-notice.d.ts +0 -13
  97. package/dist/components/features/auth/no-account-notice.d.ts.map +0 -1
  98. package/src/components/features/auth/__tests__/login-only-screens.test.tsx +0 -61
  99. package/src/components/features/auth/compact-auth-shell.tsx +0 -47
  100. package/src/components/features/auth/no-account-notice.tsx +0 -43
  101. /package/dist/{chunk-26J76HRN.js.map → chunk-2MXKO5BN.js.map} +0 -0
  102. /package/dist/{chunk-OKAFXLZL.js.map → chunk-4NMVDTHA.js.map} +0 -0
  103. /package/dist/{chunk-7OBVB4NA.js.map → chunk-4VPCIREO.js.map} +0 -0
  104. /package/dist/{chunk-JVGTKFK6.js.map → chunk-D5CKXMMC.js.map} +0 -0
  105. /package/dist/{chunk-ZJZVPYWG.js.map → chunk-DGY4NVIB.js.map} +0 -0
  106. /package/dist/{chunk-RECNGZQR.js.map → chunk-GR3WOOM7.js.map} +0 -0
  107. /package/dist/{chunk-KTCBXJKX.js.map → chunk-LQLL4S4V.js.map} +0 -0
  108. /package/dist/{chunk-XTPYUKVY.js.map → chunk-MOB5AA3X.js.map} +0 -0
  109. /package/dist/{chunk-SPERLWTK.js.map → chunk-MTLDYBXK.js.map} +0 -0
  110. /package/dist/{chunk-NJEGB5LF.js.map → chunk-OXTV63QO.js.map} +0 -0
  111. /package/dist/{chunk-RT2I62SA.js.map → chunk-PFBMVQ5R.js.map} +0 -0
  112. /package/dist/{chunk-3XL5OEOP.js.map → chunk-PJZYJDR7.js.map} +0 -0
  113. /package/dist/{chunk-K2TMNVZ5.js.map → chunk-SCPJ53CM.js.map} +0 -0
  114. /package/dist/{chunk-DS5PA33B.js.map → chunk-T46STYS2.js.map} +0 -0
@@ -1,20 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- export interface CompactAuthShellProps {
3
- /** The card, e.g. `LoginForm`. */
4
- children: ReactNode;
5
- /** Centered line(s) under the wordmark. */
6
- tagline?: ReactNode;
7
- className?: string;
8
- }
9
- /**
10
- * Single-column auth layout with no tabs and no marketing panel: wordmark and tagline on top, the
11
- * card directly under them, "Powered by Flamingo" pinned to the bottom of the screen. Unlike
12
- * `SsoAuthShell` the card is top-aligned, so it stays put while its own height changes (discovery
13
- * results appearing under the email field).
14
- *
15
- * The root carries `of-auth-shell`, the same hook as `AuthShell`, so a host that pads auth roots by
16
- * the safe-area insets pads this one too. The design padding sits on an inner column for that
17
- * reason: a host rule on the root would otherwise replace it.
18
- */
19
- export declare function CompactAuthShell({ children, tagline, className, }: CompactAuthShellProps): import("react").JSX.Element;
20
- //# sourceMappingURL=compact-auth-shell.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compact-auth-shell.d.ts","sourceRoot":"","sources":["../../../../src/components/features/auth/compact-auth-shell.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,qBAAqB;IACpC,kCAAkC;IAClC,QAAQ,EAAE,SAAS,CAAC;IACpB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,OAKC,EACD,SAAS,GACV,EAAE,qBAAqB,+BAavB"}
@@ -1,13 +0,0 @@
1
- export interface NoAccountNoticeProps {
2
- onBackToLogin: () => void;
3
- title?: string;
4
- description?: string;
5
- backLabel?: string;
6
- className?: string;
7
- }
8
- /**
9
- * Terminal notice for an identity that authenticated but has no account, on a surface that must not
10
- * offer to create one. One card centered on the page background; the only way on is back to login.
11
- */
12
- export declare function NoAccountNotice({ onBackToLogin, title, description, backLabel, className, }: NoAccountNoticeProps): import("react").JSX.Element;
13
- //# sourceMappingURL=no-account-notice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"no-account-notice.d.ts","sourceRoot":"","sources":["../../../../src/components/features/auth/no-account-notice.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC9B,aAAa,EACb,KAA0B,EAC1B,WAAgH,EAChH,SAA2B,EAC3B,SAAS,GACV,EAAE,oBAAoB,+BAmBtB"}
@@ -1,61 +0,0 @@
1
- import { fireEvent, render, screen } from '@testing-library/react';
2
- import { describe, expect, it, vi } from 'vitest';
3
-
4
- import { CompactAuthShell } from '../compact-auth-shell';
5
- import { NoAccountNotice } from '../no-account-notice';
6
- import { SsoJoinForm } from '../sso-join-form';
7
-
8
- describe('SsoJoinForm consent wording', () => {
9
- const baseProps = {
10
- organizationName: 'Acme',
11
- agreedToTerms: false,
12
- onAgreedToTermsChange: () => {},
13
- onSubmit: () => {},
14
- onBack: () => {},
15
- };
16
-
17
- it('keeps "by signing up" by default', () => {
18
- render(<SsoJoinForm {...baseProps} />);
19
- expect(screen.getByText(/by signing up\./)).toBeTruthy();
20
- });
21
-
22
- it('takes the closing words from termsSuffix when given', () => {
23
- render(<SsoJoinForm {...baseProps} termsSuffix=" by joining." />);
24
- expect(screen.getByText(/by joining\./)).toBeTruthy();
25
- expect(screen.queryByText(/signing up/)).toBeNull();
26
- });
27
- });
28
-
29
- describe('CompactAuthShell', () => {
30
- it('renders the card under the default tagline', () => {
31
- render(
32
- <CompactAuthShell>
33
- <div>card</div>
34
- </CompactAuthShell>,
35
- );
36
- expect(screen.getByText('card')).toBeTruthy();
37
- expect(screen.getByText('All your MSP ops in one place.')).toBeTruthy();
38
- });
39
-
40
- it('renders no tagline when the tagline is explicitly empty', () => {
41
- render(
42
- <CompactAuthShell tagline={null}>
43
- <div>card</div>
44
- </CompactAuthShell>,
45
- );
46
- expect(screen.queryByText('All your MSP ops in one place.')).toBeNull();
47
- });
48
- });
49
-
50
- describe('NoAccountNotice', () => {
51
- it('offers only the way back to login, and never anything that creates an account', () => {
52
- const onBackToLogin = vi.fn();
53
- render(<NoAccountNotice onBackToLogin={onBackToLogin} />);
54
-
55
- expect(screen.getByRole('heading', { name: 'No account found' })).toBeTruthy();
56
- expect(screen.getAllByRole('button')).toHaveLength(1);
57
-
58
- fireEvent.click(screen.getByRole('button', { name: 'Back to Login' }));
59
- expect(onBackToLogin).toHaveBeenCalledTimes(1);
60
- });
61
- });
@@ -1,47 +0,0 @@
1
- 'use client';
2
-
3
- import type { ReactNode } from 'react';
4
- import { cn } from '../../../utils/cn';
5
- import { OpenFrameWordmark, PoweredByFlamingo } from './auth-branding';
6
-
7
- export interface CompactAuthShellProps {
8
- /** The card, e.g. `LoginForm`. */
9
- children: ReactNode;
10
- /** Centered line(s) under the wordmark. */
11
- tagline?: ReactNode;
12
- className?: string;
13
- }
14
-
15
- /**
16
- * Single-column auth layout with no tabs and no marketing panel: wordmark and tagline on top, the
17
- * card directly under them, "Powered by Flamingo" pinned to the bottom of the screen. Unlike
18
- * `SsoAuthShell` the card is top-aligned, so it stays put while its own height changes (discovery
19
- * results appearing under the email field).
20
- *
21
- * The root carries `of-auth-shell`, the same hook as `AuthShell`, so a host that pads auth roots by
22
- * the safe-area insets pads this one too. The design padding sits on an inner column for that
23
- * reason: a host rule on the root would otherwise replace it.
24
- */
25
- export function CompactAuthShell({
26
- children,
27
- tagline = (
28
- <>
29
- <span className="block">All your MSP ops in one place.</span>
30
- <span className="block">Open-source, AI-ready, no vendor tax.</span>
31
- </>
32
- ),
33
- className,
34
- }: CompactAuthShellProps) {
35
- return (
36
- <div className={cn('of-auth-shell flex min-h-screen w-full flex-col bg-ods-bg', className)}>
37
- <div className="flex w-full flex-1 flex-col items-center gap-[var(--spacing-system-l)] p-[var(--spacing-system-l)]">
38
- <OpenFrameWordmark />
39
- {tagline && <p className="text-center text-ods-text-primary text-h4">{tagline}</p>}
40
- <div className="w-full max-w-[600px]">{children}</div>
41
- <div className="mt-auto">
42
- <PoweredByFlamingo compact />
43
- </div>
44
- </div>
45
- </div>
46
- );
47
- }
@@ -1,43 +0,0 @@
1
- 'use client';
2
-
3
- import { cn } from '../../../utils/cn';
4
- import { Button } from '../../ui/button';
5
-
6
- export interface NoAccountNoticeProps {
7
- onBackToLogin: () => void;
8
- title?: string;
9
- description?: string;
10
- backLabel?: string;
11
- className?: string;
12
- }
13
-
14
- /**
15
- * Terminal notice for an identity that authenticated but has no account, on a surface that must not
16
- * offer to create one. One card centered on the page background; the only way on is back to login.
17
- */
18
- export function NoAccountNotice({
19
- onBackToLogin,
20
- title = 'No account found',
21
- description = "OpenFrame accounts are created by your organization's administrator. Ask them for an invitation.",
22
- backLabel = 'Back to Login',
23
- className,
24
- }: NoAccountNoticeProps) {
25
- return (
26
- <div
27
- className={cn(
28
- 'flex min-h-screen w-full items-center justify-center bg-ods-bg p-[var(--spacing-system-l)]',
29
- className,
30
- )}
31
- >
32
- <div className="flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]">
33
- <div className="flex flex-col">
34
- <h1 className="tracking-[-0.64px] text-ods-text-primary text-h2">{title}</h1>
35
- <p className="text-ods-text-secondary text-h4">{description}</p>
36
- </div>
37
- <Button type="button" variant="outline" fullWidth onClick={onBackToLogin}>
38
- {backLabel}
39
- </Button>
40
- </div>
41
- </div>
42
- );
43
- }