@flamingo-stack/openframe-frontend-core 0.0.381 → 0.0.382-snapshot.20260708131231

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 (94) hide show
  1. package/dist/{chunk-XIW3H3MG.js → chunk-6SR7HXGW.js} +4 -4
  2. package/dist/{chunk-GTBR4AZK.cjs → chunk-7TU6MLIQ.cjs} +12 -12
  3. package/dist/{chunk-GTBR4AZK.cjs.map → chunk-7TU6MLIQ.cjs.map} +1 -1
  4. package/dist/{chunk-SINYS4WL.cjs → chunk-AHCBZ6TC.cjs} +62 -62
  5. package/dist/{chunk-SINYS4WL.cjs.map → chunk-AHCBZ6TC.cjs.map} +1 -1
  6. package/dist/{chunk-WGZGZDXK.js → chunk-AJJF43ZL.js} +2 -2
  7. package/dist/{chunk-NZL5EBEC.js → chunk-B45U4FY5.js} +2 -2
  8. package/dist/{chunk-NMUZ6AHP.cjs → chunk-BALSUWWU.cjs} +37 -37
  9. package/dist/{chunk-NMUZ6AHP.cjs.map → chunk-BALSUWWU.cjs.map} +1 -1
  10. package/dist/{chunk-OLXGKYNO.js → chunk-CNDLMBFN.js} +105 -110
  11. package/dist/{chunk-OLXGKYNO.js.map → chunk-CNDLMBFN.js.map} +1 -1
  12. package/dist/{chunk-DL4YRO3S.js → chunk-EBOK7SG7.js} +2 -2
  13. package/dist/{chunk-2AO6O7CU.js → chunk-EGFLSQEJ.js} +4 -4
  14. package/dist/{chunk-OJECASVU.cjs → chunk-FL6YJLPC.cjs} +7 -7
  15. package/dist/{chunk-OJECASVU.cjs.map → chunk-FL6YJLPC.cjs.map} +1 -1
  16. package/dist/{chunk-GLHRSU5B.js → chunk-KBG3PLKS.js} +2 -2
  17. package/dist/{chunk-HJXKBLQ5.cjs → chunk-KFTCNBSJ.cjs} +5 -5
  18. package/dist/{chunk-HJXKBLQ5.cjs.map → chunk-KFTCNBSJ.cjs.map} +1 -1
  19. package/dist/{chunk-ZSBALQJA.cjs → chunk-KGSOMSHT.cjs} +25 -25
  20. package/dist/{chunk-ZSBALQJA.cjs.map → chunk-KGSOMSHT.cjs.map} +1 -1
  21. package/dist/{chunk-CUTFUKBD.js → chunk-KQQ6U4UW.js} +4 -4
  22. package/dist/{chunk-POZPF4GF.js → chunk-LI7OAUSA.js} +4 -4
  23. package/dist/{chunk-YA2ZDROZ.js → chunk-MY7TV47R.js} +2 -2
  24. package/dist/{chunk-AXUAW3HT.cjs → chunk-S2V4EPKL.cjs} +15 -15
  25. package/dist/{chunk-AXUAW3HT.cjs.map → chunk-S2V4EPKL.cjs.map} +1 -1
  26. package/dist/{chunk-QHNE2BLP.js → chunk-SGMZQTP6.js} +2 -2
  27. package/dist/{chunk-J746ERW2.cjs → chunk-VQCV3GGI.cjs} +527 -532
  28. package/dist/chunk-VQCV3GGI.cjs.map +1 -0
  29. package/dist/{chunk-CICZZ4BP.cjs → chunk-W456FUZG.cjs} +57 -57
  30. package/dist/{chunk-CICZZ4BP.cjs.map → chunk-W456FUZG.cjs.map} +1 -1
  31. package/dist/{chunk-D2Q43SCD.cjs → chunk-WVJFSCXR.cjs} +26 -26
  32. package/dist/{chunk-D2Q43SCD.cjs.map → chunk-WVJFSCXR.cjs.map} +1 -1
  33. package/dist/{chunk-3ETXMQL3.cjs → chunk-YW6K7IYF.cjs} +31 -31
  34. package/dist/{chunk-3ETXMQL3.cjs.map → chunk-YW6K7IYF.cjs.map} +1 -1
  35. package/dist/{chunk-3MOKIGOW.js → chunk-ZD6GZX7E.js} +2 -2
  36. package/dist/{chunk-N546ZNOS.cjs → chunk-ZFIDR55N.cjs} +9 -9
  37. package/dist/{chunk-N546ZNOS.cjs.map → chunk-ZFIDR55N.cjs.map} +1 -1
  38. package/dist/components/case-studies/index.cjs +8 -8
  39. package/dist/components/case-studies/index.js +2 -2
  40. package/dist/components/chat/index.cjs +2 -2
  41. package/dist/components/chat/index.js +1 -1
  42. package/dist/components/contact/index.cjs +3 -3
  43. package/dist/components/contact/index.js +2 -2
  44. package/dist/components/docs/index.cjs +5 -5
  45. package/dist/components/docs/index.js +4 -4
  46. package/dist/components/embeds/index.cjs +3 -3
  47. package/dist/components/embeds/index.js +2 -2
  48. package/dist/components/faq/index.cjs +3 -3
  49. package/dist/components/faq/index.js +2 -2
  50. package/dist/components/features/auth/accept-invitation-form.d.ts +3 -9
  51. package/dist/components/features/auth/accept-invitation-form.d.ts.map +1 -1
  52. package/dist/components/features/auth/create-organization-form.d.ts +8 -1
  53. package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
  54. package/dist/components/features/auth/invite-link-invalid-modal.d.ts +3 -2
  55. package/dist/components/features/auth/invite-link-invalid-modal.d.ts.map +1 -1
  56. package/dist/components/features/auth/password-reset-form.d.ts +3 -1
  57. package/dist/components/features/auth/password-reset-form.d.ts.map +1 -1
  58. package/dist/components/features/index.cjs +2 -2
  59. package/dist/components/features/index.js +1 -1
  60. package/dist/components/help-center-pages/index.cjs +20 -20
  61. package/dist/components/help-center-pages/index.js +11 -11
  62. package/dist/components/index.cjs +120 -120
  63. package/dist/components/index.js +9 -9
  64. package/dist/components/navigation/index.cjs +2 -2
  65. package/dist/components/navigation/index.js +1 -1
  66. package/dist/components/onboarding-guides/index.cjs +5 -5
  67. package/dist/components/onboarding-guides/index.js +4 -4
  68. package/dist/components/related-content/index.cjs +3 -3
  69. package/dist/components/related-content/index.js +2 -2
  70. package/dist/components/tickets/index.cjs +5 -5
  71. package/dist/components/tickets/index.js +4 -4
  72. package/dist/components/ui/index.cjs +2 -2
  73. package/dist/components/ui/index.js +1 -1
  74. package/dist/index.cjs +2 -2
  75. package/dist/index.js +1 -1
  76. package/package.json +1 -1
  77. package/src/components/features/auth/accept-invitation-form.tsx +4 -26
  78. package/src/components/features/auth/create-organization-form.tsx +21 -10
  79. package/src/components/features/auth/invite-link-invalid-modal.tsx +6 -4
  80. package/src/components/features/auth/password-reset-form.tsx +7 -0
  81. package/src/stories/auth/AcceptInvitation.stories.tsx +4 -16
  82. package/src/stories/auth/PasswordReset.stories.tsx +1 -0
  83. package/dist/chunk-J746ERW2.cjs.map +0 -1
  84. /package/dist/{chunk-XIW3H3MG.js.map → chunk-6SR7HXGW.js.map} +0 -0
  85. /package/dist/{chunk-WGZGZDXK.js.map → chunk-AJJF43ZL.js.map} +0 -0
  86. /package/dist/{chunk-NZL5EBEC.js.map → chunk-B45U4FY5.js.map} +0 -0
  87. /package/dist/{chunk-DL4YRO3S.js.map → chunk-EBOK7SG7.js.map} +0 -0
  88. /package/dist/{chunk-2AO6O7CU.js.map → chunk-EGFLSQEJ.js.map} +0 -0
  89. /package/dist/{chunk-GLHRSU5B.js.map → chunk-KBG3PLKS.js.map} +0 -0
  90. /package/dist/{chunk-CUTFUKBD.js.map → chunk-KQQ6U4UW.js.map} +0 -0
  91. /package/dist/{chunk-POZPF4GF.js.map → chunk-LI7OAUSA.js.map} +0 -0
  92. /package/dist/{chunk-YA2ZDROZ.js.map → chunk-MY7TV47R.js.map} +0 -0
  93. /package/dist/{chunk-QHNE2BLP.js.map → chunk-SGMZQTP6.js.map} +0 -0
  94. /package/dist/{chunk-3MOKIGOW.js.map → chunk-ZD6GZX7E.js.map} +0 -0
@@ -1,5 +1,4 @@
1
1
  import type { Meta, StoryObj } from '@storybook/nextjs-vite'
2
- import { useState } from 'react'
3
2
  import {
4
3
  AcceptInvitationForm,
5
4
  type AuthSsoProvider,
@@ -15,7 +14,7 @@ const meta = {
15
14
  docs: {
16
15
  description: {
17
16
  component:
18
- 'Accept Invitation from the auth redesign. Presentational + controlled: read-only invited email, a Terms gate, and SSO providers to join the org. Shown inside AuthShell without tabs. SSO buttons stay disabled until the Terms checkbox is checked.',
17
+ 'Accept Invitation from the auth redesign. Presentational + controlled: read-only invited email (prefilled from the invitation link) and SSO providers to join the org. Shown inside AuthShell without tabs.',
19
18
  },
20
19
  },
21
20
  },
@@ -28,9 +27,7 @@ type Story = StoryObj<typeof meta>
28
27
  const SSO_PROVIDERS: AuthSsoProvider[] = ['openframe', 'google', 'microsoft']
29
28
 
30
29
  /** Full page: invitation form + marketing panel (no tabs). */
31
- function AcceptInvitationPage({ initialChecked = false }: { initialChecked?: boolean }) {
32
- const [agreedToTerms, setAgreedToTerms] = useState(initialChecked)
33
-
30
+ function AcceptInvitationPage() {
34
31
  return (
35
32
  <AuthShell
36
33
  mobileTagline={
@@ -43,24 +40,15 @@ function AcceptInvitationPage({ initialChecked = false }: { initialChecked?: boo
43
40
  >
44
41
  <AcceptInvitationForm
45
42
  email="roman@mail.com"
46
- agreedToTerms={agreedToTerms}
47
- onAgreedToTermsChange={setAgreedToTerms}
48
43
  ssoProviders={SSO_PROVIDERS}
49
44
  onSsoClick={() => {}}
50
45
  onBackToLogin={() => {}}
51
- termsUrl="#terms"
52
- privacyPolicyUrl="#privacy"
53
46
  />
54
47
  </AuthShell>
55
48
  )
56
49
  }
57
50
 
58
- /** Terms unchecked SSO buttons disabled. */
59
- export const NoCheck: Story = {
51
+ /** Prefilled invited email, SSO providers ready to pick. */
52
+ export const Default: Story = {
60
53
  render: () => <AcceptInvitationPage />,
61
54
  }
62
-
63
- /** Terms accepted — SSO buttons enabled. */
64
- export const WithCheck: Story = {
65
- render: () => <AcceptInvitationPage initialChecked />,
66
- }
@@ -44,6 +44,7 @@ function PasswordResetPage({ initialPassword = '', initialConfirm = '' }: { init
44
44
  onConfirmPasswordChange={setConfirmPassword}
45
45
  onSubmit={() => {}}
46
46
  onCancel={() => {}}
47
+ onBackToLogin={() => {}}
47
48
  submitDisabled={!isValid}
48
49
  errors={{
49
50
  confirmPassword: