@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.
- package/dist/{chunk-XIW3H3MG.js → chunk-6SR7HXGW.js} +4 -4
- package/dist/{chunk-GTBR4AZK.cjs → chunk-7TU6MLIQ.cjs} +12 -12
- package/dist/{chunk-GTBR4AZK.cjs.map → chunk-7TU6MLIQ.cjs.map} +1 -1
- package/dist/{chunk-SINYS4WL.cjs → chunk-AHCBZ6TC.cjs} +62 -62
- package/dist/{chunk-SINYS4WL.cjs.map → chunk-AHCBZ6TC.cjs.map} +1 -1
- package/dist/{chunk-WGZGZDXK.js → chunk-AJJF43ZL.js} +2 -2
- package/dist/{chunk-NZL5EBEC.js → chunk-B45U4FY5.js} +2 -2
- package/dist/{chunk-NMUZ6AHP.cjs → chunk-BALSUWWU.cjs} +37 -37
- package/dist/{chunk-NMUZ6AHP.cjs.map → chunk-BALSUWWU.cjs.map} +1 -1
- package/dist/{chunk-OLXGKYNO.js → chunk-CNDLMBFN.js} +105 -110
- package/dist/{chunk-OLXGKYNO.js.map → chunk-CNDLMBFN.js.map} +1 -1
- package/dist/{chunk-DL4YRO3S.js → chunk-EBOK7SG7.js} +2 -2
- package/dist/{chunk-2AO6O7CU.js → chunk-EGFLSQEJ.js} +4 -4
- package/dist/{chunk-OJECASVU.cjs → chunk-FL6YJLPC.cjs} +7 -7
- package/dist/{chunk-OJECASVU.cjs.map → chunk-FL6YJLPC.cjs.map} +1 -1
- package/dist/{chunk-GLHRSU5B.js → chunk-KBG3PLKS.js} +2 -2
- package/dist/{chunk-HJXKBLQ5.cjs → chunk-KFTCNBSJ.cjs} +5 -5
- package/dist/{chunk-HJXKBLQ5.cjs.map → chunk-KFTCNBSJ.cjs.map} +1 -1
- package/dist/{chunk-ZSBALQJA.cjs → chunk-KGSOMSHT.cjs} +25 -25
- package/dist/{chunk-ZSBALQJA.cjs.map → chunk-KGSOMSHT.cjs.map} +1 -1
- package/dist/{chunk-CUTFUKBD.js → chunk-KQQ6U4UW.js} +4 -4
- package/dist/{chunk-POZPF4GF.js → chunk-LI7OAUSA.js} +4 -4
- package/dist/{chunk-YA2ZDROZ.js → chunk-MY7TV47R.js} +2 -2
- package/dist/{chunk-AXUAW3HT.cjs → chunk-S2V4EPKL.cjs} +15 -15
- package/dist/{chunk-AXUAW3HT.cjs.map → chunk-S2V4EPKL.cjs.map} +1 -1
- package/dist/{chunk-QHNE2BLP.js → chunk-SGMZQTP6.js} +2 -2
- package/dist/{chunk-J746ERW2.cjs → chunk-VQCV3GGI.cjs} +527 -532
- package/dist/chunk-VQCV3GGI.cjs.map +1 -0
- package/dist/{chunk-CICZZ4BP.cjs → chunk-W456FUZG.cjs} +57 -57
- package/dist/{chunk-CICZZ4BP.cjs.map → chunk-W456FUZG.cjs.map} +1 -1
- package/dist/{chunk-D2Q43SCD.cjs → chunk-WVJFSCXR.cjs} +26 -26
- package/dist/{chunk-D2Q43SCD.cjs.map → chunk-WVJFSCXR.cjs.map} +1 -1
- package/dist/{chunk-3ETXMQL3.cjs → chunk-YW6K7IYF.cjs} +31 -31
- package/dist/{chunk-3ETXMQL3.cjs.map → chunk-YW6K7IYF.cjs.map} +1 -1
- package/dist/{chunk-3MOKIGOW.js → chunk-ZD6GZX7E.js} +2 -2
- package/dist/{chunk-N546ZNOS.cjs → chunk-ZFIDR55N.cjs} +9 -9
- package/dist/{chunk-N546ZNOS.cjs.map → chunk-ZFIDR55N.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/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- 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/accept-invitation-form.d.ts +3 -9
- package/dist/components/features/auth/accept-invitation-form.d.ts.map +1 -1
- package/dist/components/features/auth/create-organization-form.d.ts +8 -1
- package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
- package/dist/components/features/auth/invite-link-invalid-modal.d.ts +3 -2
- package/dist/components/features/auth/invite-link-invalid-modal.d.ts.map +1 -1
- package/dist/components/features/auth/password-reset-form.d.ts +3 -1
- package/dist/components/features/auth/password-reset-form.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +120 -120
- package/dist/components/index.js +9 -9
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/features/auth/accept-invitation-form.tsx +4 -26
- package/src/components/features/auth/create-organization-form.tsx +21 -10
- package/src/components/features/auth/invite-link-invalid-modal.tsx +6 -4
- package/src/components/features/auth/password-reset-form.tsx +7 -0
- package/src/stories/auth/AcceptInvitation.stories.tsx +4 -16
- package/src/stories/auth/PasswordReset.stories.tsx +1 -0
- package/dist/chunk-J746ERW2.cjs.map +0 -1
- /package/dist/{chunk-XIW3H3MG.js.map → chunk-6SR7HXGW.js.map} +0 -0
- /package/dist/{chunk-WGZGZDXK.js.map → chunk-AJJF43ZL.js.map} +0 -0
- /package/dist/{chunk-NZL5EBEC.js.map → chunk-B45U4FY5.js.map} +0 -0
- /package/dist/{chunk-DL4YRO3S.js.map → chunk-EBOK7SG7.js.map} +0 -0
- /package/dist/{chunk-2AO6O7CU.js.map → chunk-EGFLSQEJ.js.map} +0 -0
- /package/dist/{chunk-GLHRSU5B.js.map → chunk-KBG3PLKS.js.map} +0 -0
- /package/dist/{chunk-CUTFUKBD.js.map → chunk-KQQ6U4UW.js.map} +0 -0
- /package/dist/{chunk-POZPF4GF.js.map → chunk-LI7OAUSA.js.map} +0 -0
- /package/dist/{chunk-YA2ZDROZ.js.map → chunk-MY7TV47R.js.map} +0 -0
- /package/dist/{chunk-QHNE2BLP.js.map → chunk-SGMZQTP6.js.map} +0 -0
- /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
|
|
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(
|
|
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
|
-
/**
|
|
59
|
-
export const
|
|
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:
|