@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
@@ -24401,50 +24401,14 @@ function SsoProviderButtons({
24401
24401
  }) });
24402
24402
  }
24403
24403
 
24404
- // src/components/features/auth/terms-agreement-label.tsx
24405
- import { jsx as jsx183, jsxs as jsxs142 } from "react/jsx-runtime";
24406
- function TermsAgreementLabel({ termsUrl = "#", privacyPolicyUrl = "#" }) {
24407
- return /* @__PURE__ */ jsxs142("span", { className: "text-h4 text-ods-text-primary", children: [
24408
- "Agree to ",
24409
- /* @__PURE__ */ jsx183(
24410
- "a",
24411
- {
24412
- href: termsUrl,
24413
- target: "_blank",
24414
- rel: "noopener noreferrer",
24415
- className: "text-ods-text-secondary underline",
24416
- onClick: (event) => event.stopPropagation(),
24417
- children: "Terms"
24418
- }
24419
- ),
24420
- " & ",
24421
- /* @__PURE__ */ jsx183(
24422
- "a",
24423
- {
24424
- href: privacyPolicyUrl,
24425
- target: "_blank",
24426
- rel: "noopener noreferrer",
24427
- className: "text-ods-text-secondary underline",
24428
- onClick: (event) => event.stopPropagation(),
24429
- children: "Privacy Policy"
24430
- }
24431
- ),
24432
- " by signing up."
24433
- ] });
24434
- }
24435
-
24436
24404
  // src/components/features/auth/accept-invitation-form.tsx
24437
- import { jsx as jsx184, jsxs as jsxs143 } from "react/jsx-runtime";
24405
+ import { jsx as jsx183, jsxs as jsxs142 } from "react/jsx-runtime";
24438
24406
  function AcceptInvitationForm({
24439
24407
  email,
24440
- agreedToTerms,
24441
- onAgreedToTermsChange,
24442
24408
  ssoProviders,
24443
24409
  onSsoClick,
24444
24410
  onBackToLogin,
24445
24411
  ssoActionLabel = "Sign Up with",
24446
- termsUrl = "#",
24447
- privacyPolicyUrl = "#",
24448
24412
  emailLabel = "Email",
24449
24413
  title = "Accept Invitation",
24450
24414
  subtitle = "Complete your registration to join the organization",
@@ -24452,7 +24416,7 @@ function AcceptInvitationForm({
24452
24416
  disabled = false,
24453
24417
  className
24454
24418
  }) {
24455
- return /* @__PURE__ */ jsxs143(
24419
+ return /* @__PURE__ */ jsxs142(
24456
24420
  "div",
24457
24421
  {
24458
24422
  className: cn(
@@ -24460,32 +24424,21 @@ function AcceptInvitationForm({
24460
24424
  className
24461
24425
  ),
24462
24426
  children: [
24463
- /* @__PURE__ */ jsxs143("div", { className: "flex flex-col", children: [
24464
- /* @__PURE__ */ jsx184("h1", { className: "text-h2 text-ods-text-primary tracking-[-0.64px]", children: title }),
24465
- /* @__PURE__ */ jsx184("p", { className: "text-h4 text-ods-text-secondary", children: subtitle })
24427
+ /* @__PURE__ */ jsxs142("div", { className: "flex flex-col", children: [
24428
+ /* @__PURE__ */ jsx183("h1", { className: "text-h2 text-ods-text-primary tracking-[-0.64px]", children: title }),
24429
+ /* @__PURE__ */ jsx183("p", { className: "text-h4 text-ods-text-secondary", children: subtitle })
24466
24430
  ] }),
24467
- /* @__PURE__ */ jsx184(Input, { type: "email", label: emailLabel, value: email, disabled: true, readOnly: true }),
24468
- /* @__PURE__ */ jsx184(
24469
- CheckboxBlock,
24470
- {
24471
- id: "accept-invite-terms",
24472
- label: /* @__PURE__ */ jsx184(TermsAgreementLabel, { termsUrl, privacyPolicyUrl }),
24473
- truncateLabel: true,
24474
- checked: agreedToTerms,
24475
- disabled: disabled || loading,
24476
- onCheckedChange: onAgreedToTermsChange
24477
- }
24478
- ),
24479
- /* @__PURE__ */ jsx184(
24431
+ /* @__PURE__ */ jsx183(Input, { type: "email", label: emailLabel, value: email, disabled: true, readOnly: true }),
24432
+ /* @__PURE__ */ jsx183(
24480
24433
  SsoProviderButtons,
24481
24434
  {
24482
24435
  providers: ssoProviders,
24483
24436
  onSsoClick,
24484
24437
  actionLabel: ssoActionLabel,
24485
- disabled: disabled || loading || !agreedToTerms
24438
+ disabled: disabled || loading
24486
24439
  }
24487
24440
  ),
24488
- /* @__PURE__ */ jsx184(BackToLoginLink, { onClick: onBackToLogin, className: "self-start lg:hidden" })
24441
+ /* @__PURE__ */ jsx183(BackToLoginLink, { onClick: onBackToLogin, className: "self-start lg:hidden" })
24489
24442
  ]
24490
24443
  }
24491
24444
  );
@@ -24494,14 +24447,14 @@ function AcceptInvitationForm({
24494
24447
  // src/components/features/auth/auth-benefits-panel.tsx
24495
24448
  init_cn();
24496
24449
  init_button2();
24497
- import { jsx as jsx185, jsxs as jsxs144 } from "react/jsx-runtime";
24450
+ import { jsx as jsx184, jsxs as jsxs143 } from "react/jsx-runtime";
24498
24451
  var DEFAULT_TITLE2 = "The All-in-One Open Platform for MSPs";
24499
24452
  var DEFAULT_DESCRIPTION = "All your core ops in one place - built for MSPs who are done duct-taping tools together. Open-source, AI-ready, no vendor tax. Just solid software that lets you run lean and fast.";
24500
24453
  var DEFAULT_BENEFITS = [
24501
- { icon: /* @__PURE__ */ jsx185(CreditCardXmarkIcon, {}), label: "No card required" },
24502
- { icon: /* @__PURE__ */ jsx185(XmarkAltIcon, {}), label: "Cancel Anytime" },
24503
- { icon: /* @__PURE__ */ jsx185(FlaskVialIcon, {}), label: "14 day free trial" },
24504
- { icon: /* @__PURE__ */ jsx185(FileOffIcon, {}), label: "No Contract" }
24454
+ { icon: /* @__PURE__ */ jsx184(CreditCardXmarkIcon, {}), label: "No card required" },
24455
+ { icon: /* @__PURE__ */ jsx184(XmarkAltIcon, {}), label: "Cancel Anytime" },
24456
+ { icon: /* @__PURE__ */ jsx184(FlaskVialIcon, {}), label: "14 day free trial" },
24457
+ { icon: /* @__PURE__ */ jsx184(FileOffIcon, {}), label: "No Contract" }
24505
24458
  ];
24506
24459
  function AuthBenefitsPanel({
24507
24460
  title = DEFAULT_TITLE2,
@@ -24511,7 +24464,7 @@ function AuthBenefitsPanel({
24511
24464
  learnMoreUrl = "https://openframe.ai",
24512
24465
  className
24513
24466
  }) {
24514
- return /* @__PURE__ */ jsxs144(
24467
+ return /* @__PURE__ */ jsxs143(
24515
24468
  "div",
24516
24469
  {
24517
24470
  className: cn(
@@ -24519,19 +24472,19 @@ function AuthBenefitsPanel({
24519
24472
  className
24520
24473
  ),
24521
24474
  children: [
24522
- /* @__PURE__ */ jsx185("h2", { className: "text-h2 text-ods-text-primary tracking-[-0.64px]", children: title }),
24523
- /* @__PURE__ */ jsx185("p", { className: "text-h4 text-ods-text-primary", children: description }),
24524
- /* @__PURE__ */ jsx185("div", { className: "flex flex-wrap content-center items-center gap-[var(--spacing-system-m)]", children: benefits.map((benefit) => /* @__PURE__ */ jsxs144("div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
24525
- /* @__PURE__ */ jsx185("span", { className: "flex size-4 shrink-0 items-center justify-center text-ods-text-secondary [&_svg]:size-4", children: benefit.icon }),
24526
- /* @__PURE__ */ jsx185("span", { className: "whitespace-nowrap text-h4 text-ods-text-primary", children: benefit.label })
24475
+ /* @__PURE__ */ jsx184("h2", { className: "text-h2 text-ods-text-primary tracking-[-0.64px]", children: title }),
24476
+ /* @__PURE__ */ jsx184("p", { className: "text-h4 text-ods-text-primary", children: description }),
24477
+ /* @__PURE__ */ jsx184("div", { className: "flex flex-wrap content-center items-center gap-[var(--spacing-system-m)]", children: benefits.map((benefit) => /* @__PURE__ */ jsxs143("div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
24478
+ /* @__PURE__ */ jsx184("span", { className: "flex size-4 shrink-0 items-center justify-center text-ods-text-secondary [&_svg]:size-4", children: benefit.icon }),
24479
+ /* @__PURE__ */ jsx184("span", { className: "whitespace-nowrap text-h4 text-ods-text-primary", children: benefit.label })
24527
24480
  ] }, benefit.label)) }),
24528
- /* @__PURE__ */ jsx185(
24481
+ /* @__PURE__ */ jsx184(
24529
24482
  Button,
24530
24483
  {
24531
24484
  variant: "outline",
24532
24485
  href: learnMoreUrl,
24533
24486
  openInNewTab: true,
24534
- leftIcon: /* @__PURE__ */ jsx185(
24487
+ leftIcon: /* @__PURE__ */ jsx184(
24535
24488
  OpenFrameLogo,
24536
24489
  {
24537
24490
  className: "h-6 w-6",
@@ -24549,10 +24502,10 @@ function AuthBenefitsPanel({
24549
24502
  }
24550
24503
 
24551
24504
  // src/components/features/auth/auth-branding.tsx
24552
- import { jsx as jsx186, jsxs as jsxs145 } from "react/jsx-runtime";
24505
+ import { jsx as jsx185, jsxs as jsxs144 } from "react/jsx-runtime";
24553
24506
  function OpenFrameWordmark() {
24554
- return /* @__PURE__ */ jsxs145("div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
24555
- /* @__PURE__ */ jsx186(
24507
+ return /* @__PURE__ */ jsxs144("div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
24508
+ /* @__PURE__ */ jsx185(
24556
24509
  OpenFrameLogo,
24557
24510
  {
24558
24511
  className: "h-10 w-10",
@@ -24560,23 +24513,23 @@ function OpenFrameWordmark() {
24560
24513
  upperPathColor: "var(--color-text-primary)"
24561
24514
  }
24562
24515
  ),
24563
- /* @__PURE__ */ jsx186("span", { className: "text-h2 text-ods-text-primary tracking-[-0.64px]", children: "OpenFrame" })
24516
+ /* @__PURE__ */ jsx185("span", { className: "text-h2 text-ods-text-primary tracking-[-0.64px]", children: "OpenFrame" })
24564
24517
  ] });
24565
24518
  }
24566
24519
  function PoweredByFlamingo({ compact = false }) {
24567
- return /* @__PURE__ */ jsxs145("div", { className: "flex items-center gap-[var(--spacing-system-xs)] text-ods-text-secondary", children: [
24568
- /* @__PURE__ */ jsx186("span", { className: "text-h6", children: "Powered by" }),
24569
- /* @__PURE__ */ jsx186(FlamingoLogoIcon, { className: compact ? "h-4 w-14" : "h-4 w-14 md:h-6 md:w-[83px]" })
24520
+ return /* @__PURE__ */ jsxs144("div", { className: "flex items-center gap-[var(--spacing-system-xs)] text-ods-text-secondary", children: [
24521
+ /* @__PURE__ */ jsx185("span", { className: "text-h6", children: "Powered by" }),
24522
+ /* @__PURE__ */ jsx185(FlamingoLogoIcon, { className: compact ? "h-4 w-14" : "h-4 w-14 md:h-6 md:w-[83px]" })
24570
24523
  ] });
24571
24524
  }
24572
24525
 
24573
24526
  // src/components/features/auth/auth-shell.tsx
24574
24527
  init_cn();
24575
- import { jsx as jsx187, jsxs as jsxs146 } from "react/jsx-runtime";
24528
+ import { jsx as jsx186, jsxs as jsxs145 } from "react/jsx-runtime";
24576
24529
  function AuthShell({ tabs, children, benefits, mobileTagline, footer, className }) {
24577
- const benefitsNode = benefits ?? /* @__PURE__ */ jsx187(AuthBenefitsPanel, {});
24578
- return /* @__PURE__ */ jsxs146("div", { className: cn("min-h-screen w-full bg-ods-bg lg:flex lg:h-screen lg:overflow-hidden", className), children: [
24579
- /* @__PURE__ */ jsx187("div", { className: "flex min-h-screen w-full flex-col items-center p-[var(--spacing-system-l)] lg:h-full lg:min-h-0 lg:w-1/2 lg:justify-start lg:overflow-y-auto lg:px-[var(--spacing-system-xl)] lg:py-[var(--spacing-system-xxl)]", children: /* @__PURE__ */ jsxs146(
24530
+ const benefitsNode = benefits ?? /* @__PURE__ */ jsx186(AuthBenefitsPanel, {});
24531
+ return /* @__PURE__ */ jsxs145("div", { className: cn("min-h-screen w-full bg-ods-bg lg:flex lg:h-screen lg:overflow-hidden", className), children: [
24532
+ /* @__PURE__ */ jsx186("div", { className: "flex min-h-screen w-full flex-col items-center p-[var(--spacing-system-l)] lg:h-full lg:min-h-0 lg:w-1/2 lg:justify-start lg:overflow-y-auto lg:px-[var(--spacing-system-xl)] lg:py-[var(--spacing-system-xxl)]", children: /* @__PURE__ */ jsxs145(
24580
24533
  "div",
24581
24534
  {
24582
24535
  className: cn(
@@ -24584,24 +24537,24 @@ function AuthShell({ tabs, children, benefits, mobileTagline, footer, className
24584
24537
  footer && "lg:min-h-full"
24585
24538
  ),
24586
24539
  children: [
24587
- /* @__PURE__ */ jsxs146("div", { className: "flex w-full flex-col items-center gap-[var(--spacing-system-l)] lg:hidden", children: [
24588
- /* @__PURE__ */ jsx187(OpenFrameWordmark, {}),
24589
- mobileTagline && /* @__PURE__ */ jsx187("div", { className: "w-full text-center text-h4 text-ods-text-primary [&>p]:truncate md:hidden", children: mobileTagline })
24540
+ /* @__PURE__ */ jsxs145("div", { className: "flex w-full flex-col items-center gap-[var(--spacing-system-l)] lg:hidden", children: [
24541
+ /* @__PURE__ */ jsx186(OpenFrameWordmark, {}),
24542
+ mobileTagline && /* @__PURE__ */ jsx186("div", { className: "w-full text-center text-h4 text-ods-text-primary [&>p]:truncate md:hidden", children: mobileTagline })
24590
24543
  ] }),
24591
- tabs && /* @__PURE__ */ jsx187("div", { className: "w-full md:max-w-[320px]", children: tabs }),
24592
- /* @__PURE__ */ jsx187("div", { className: "w-full", children }),
24593
- /* @__PURE__ */ jsxs146("div", { className: "flex w-full flex-col items-center gap-[var(--spacing-system-l)] lg:hidden", children: [
24544
+ tabs && /* @__PURE__ */ jsx186("div", { className: "w-full md:max-w-[320px]", children: tabs }),
24545
+ /* @__PURE__ */ jsx186("div", { className: "w-full", children }),
24546
+ /* @__PURE__ */ jsxs145("div", { className: "flex w-full flex-col items-center gap-[var(--spacing-system-l)] lg:hidden", children: [
24594
24547
  benefitsNode,
24595
- /* @__PURE__ */ jsx187(PoweredByFlamingo, {})
24548
+ /* @__PURE__ */ jsx186(PoweredByFlamingo, {})
24596
24549
  ] }),
24597
- footer && /* @__PURE__ */ jsx187("div", { className: "hidden w-full self-start lg:mt-auto lg:block", children: footer })
24550
+ footer && /* @__PURE__ */ jsx186("div", { className: "hidden w-full self-start lg:mt-auto lg:block", children: footer })
24598
24551
  ]
24599
24552
  }
24600
24553
  ) }),
24601
- /* @__PURE__ */ jsxs146("div", { className: "hidden border-l border-ods-border bg-ods-card lg:flex lg:h-full lg:w-1/2 lg:flex-col lg:items-center lg:justify-start lg:gap-[var(--spacing-system-xxl)] lg:overflow-y-auto lg:px-[var(--spacing-system-xl)] lg:py-[var(--spacing-system-xxl)]", children: [
24602
- /* @__PURE__ */ jsx187(OpenFrameWordmark, {}),
24603
- /* @__PURE__ */ jsx187("div", { className: "w-full max-w-lg", children: benefitsNode }),
24604
- /* @__PURE__ */ jsx187(PoweredByFlamingo, {})
24554
+ /* @__PURE__ */ jsxs145("div", { className: "hidden border-l border-ods-border bg-ods-card lg:flex lg:h-full lg:w-1/2 lg:flex-col lg:items-center lg:justify-start lg:gap-[var(--spacing-system-xxl)] lg:overflow-y-auto lg:px-[var(--spacing-system-xl)] lg:py-[var(--spacing-system-xxl)]", children: [
24555
+ /* @__PURE__ */ jsx186(OpenFrameWordmark, {}),
24556
+ /* @__PURE__ */ jsx186("div", { className: "w-full max-w-lg", children: benefitsNode }),
24557
+ /* @__PURE__ */ jsx186(PoweredByFlamingo, {})
24605
24558
  ] })
24606
24559
  ] });
24607
24560
  }
@@ -24609,6 +24562,40 @@ function AuthShell({ tabs, children, benefits, mobileTagline, footer, className
24609
24562
  // src/components/features/auth/create-organization-form.tsx
24610
24563
  init_cn();
24611
24564
  init_button2();
24565
+
24566
+ // src/components/features/auth/terms-agreement-label.tsx
24567
+ import { jsx as jsx187, jsxs as jsxs146 } from "react/jsx-runtime";
24568
+ function TermsAgreementLabel({ termsUrl = "#", privacyPolicyUrl = "#" }) {
24569
+ return /* @__PURE__ */ jsxs146("span", { className: "text-h4 text-ods-text-primary", children: [
24570
+ "Agree to ",
24571
+ /* @__PURE__ */ jsx187(
24572
+ "a",
24573
+ {
24574
+ href: termsUrl,
24575
+ target: "_blank",
24576
+ rel: "noopener noreferrer",
24577
+ className: "text-ods-text-secondary underline",
24578
+ onClick: (event) => event.stopPropagation(),
24579
+ children: "Terms"
24580
+ }
24581
+ ),
24582
+ " & ",
24583
+ /* @__PURE__ */ jsx187(
24584
+ "a",
24585
+ {
24586
+ href: privacyPolicyUrl,
24587
+ target: "_blank",
24588
+ rel: "noopener noreferrer",
24589
+ className: "text-ods-text-secondary underline",
24590
+ onClick: (event) => event.stopPropagation(),
24591
+ children: "Privacy Policy"
24592
+ }
24593
+ ),
24594
+ " by signing up."
24595
+ ] });
24596
+ }
24597
+
24598
+ // src/components/features/auth/create-organization-form.tsx
24612
24599
  import { jsx as jsx188, jsxs as jsxs147 } from "react/jsx-runtime";
24613
24600
  function CreateOrganizationForm({
24614
24601
  email,
@@ -24630,6 +24617,8 @@ function CreateOrganizationForm({
24630
24617
  disabled = false,
24631
24618
  errors,
24632
24619
  emailStatus,
24620
+ domainStatus,
24621
+ domainSlot,
24633
24622
  ssoProviders,
24634
24623
  onSsoClick,
24635
24624
  ssoActionLabel = "Sign Up with",
@@ -24682,19 +24671,23 @@ function CreateOrganizationForm({
24682
24671
  }
24683
24672
  ) })
24684
24673
  ] }),
24685
- /* @__PURE__ */ jsx188(
24686
- Input,
24687
- {
24688
- label: "Domain",
24689
- placeholder: domainPlaceholder,
24690
- value: domain,
24691
- error: errors?.domain,
24692
- disabled: fieldsDisabled,
24693
- endAdornment: domainSuffix ? /* @__PURE__ */ jsx188("span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
24694
- onChange: (event) => onDomainChange(event.target.value),
24695
- onKeyDown: handleKeyDown
24696
- }
24697
- ),
24674
+ /* @__PURE__ */ jsxs147("div", { className: "flex flex-col", children: [
24675
+ /* @__PURE__ */ jsx188(
24676
+ Input,
24677
+ {
24678
+ label: "Domain",
24679
+ placeholder: domainPlaceholder,
24680
+ value: domain,
24681
+ error: errors?.domain ?? domainStatus?.message,
24682
+ errorVariant: errors?.domain ? "error" : domainStatus?.variant,
24683
+ disabled: fieldsDisabled,
24684
+ endAdornment: domainSuffix ? /* @__PURE__ */ jsx188("span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
24685
+ onChange: (event) => onDomainChange(event.target.value),
24686
+ onKeyDown: handleKeyDown
24687
+ }
24688
+ ),
24689
+ domainSlot && /* @__PURE__ */ jsx188("div", { className: "pt-[var(--spacing-system-l)]", children: domainSlot })
24690
+ ] }),
24698
24691
  /* @__PURE__ */ jsx188(
24699
24692
  CheckboxBlock,
24700
24693
  {
@@ -24748,10 +24741,10 @@ function InviteLinkInvalidModal({
24748
24741
  backLabel = "Back to Login",
24749
24742
  className
24750
24743
  }) {
24751
- return /* @__PURE__ */ jsx189("div", { className: cn("flex min-h-screen w-full items-center justify-center bg-ods-bg p-[var(--spacing-system-l)]", className), children: /* @__PURE__ */ jsxs148("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)]", children: [
24744
+ return /* @__PURE__ */ jsx189("div", { className: cn("flex min-h-screen w-full items-end justify-center bg-ods-bg p-[var(--spacing-system-l)] md:items-center", className), children: /* @__PURE__ */ jsxs148("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)]", children: [
24752
24745
  /* @__PURE__ */ jsxs148("div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
24753
24746
  /* @__PURE__ */ jsx189("h1", { className: "flex-1 text-h2 text-ods-text-primary tracking-[-0.64px]", children: title }),
24754
- /* @__PURE__ */ jsx189("button", { type: "button", "aria-label": "Close", onClick: onClose ?? onBackToLogin, className: "shrink-0 text-ods-text-primary", children: /* @__PURE__ */ jsx189(XmarkIcon, { className: "h-6 w-6" }) })
24747
+ /* @__PURE__ */ jsx189("button", { type: "button", "aria-label": "Close", onClick: onClose ?? onBackToLogin, className: "hidden shrink-0 text-ods-text-primary md:block", children: /* @__PURE__ */ jsx189(XmarkIcon, { className: "h-6 w-6" }) })
24755
24748
  ] }),
24756
24749
  /* @__PURE__ */ jsx189("p", { className: "text-h4 text-ods-text-primary", children: description }),
24757
24750
  /* @__PURE__ */ jsxs148("div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
@@ -25139,6 +25132,7 @@ function PasswordResetForm({
25139
25132
  onConfirmPasswordChange,
25140
25133
  onSubmit,
25141
25134
  onCancel,
25135
+ onBackToLogin,
25142
25136
  submitDisabled = false,
25143
25137
  loading = false,
25144
25138
  disabled = false,
@@ -25223,7 +25217,8 @@ function PasswordResetForm({
25223
25217
  children: submitLabel
25224
25218
  }
25225
25219
  )
25226
- ] })
25220
+ ] }),
25221
+ onBackToLogin && /* @__PURE__ */ jsx194(BackToLoginLink, { onClick: onBackToLogin, className: "self-start lg:hidden" })
25227
25222
  ]
25228
25223
  }
25229
25224
  );
@@ -51563,12 +51558,12 @@ export {
51563
51558
  BackToLoginLink,
51564
51559
  PROVIDER_META,
51565
51560
  SsoProviderButtons,
51566
- TermsAgreementLabel,
51567
51561
  AcceptInvitationForm,
51568
51562
  AuthBenefitsPanel,
51569
51563
  OpenFrameWordmark,
51570
51564
  PoweredByFlamingo,
51571
51565
  AuthShell,
51566
+ TermsAgreementLabel,
51572
51567
  CreateOrganizationForm,
51573
51568
  InviteLinkInvalidModal,
51574
51569
  LoginForm,
@@ -51769,4 +51764,4 @@ export {
51769
51764
  LogsList,
51770
51765
  assets
51771
51766
  };
51772
- //# sourceMappingURL=chunk-OLXGKYNO.js.map
51767
+ //# sourceMappingURL=chunk-CNDLMBFN.js.map