@clerk/ui 1.9.1 → 1.9.2-canary.v20260511154043

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 (253) hide show
  1. package/dist/ClerkUI.js +2 -2
  2. package/dist/components/ConfigureSSO/ConfigureSSO.js +43 -121
  3. package/dist/components/ConfigureSSO/ConfigureSSO.js.map +1 -1
  4. package/dist/components/ConfigureSSO/ConfigureSSOContext.js +3 -11
  5. package/dist/components/ConfigureSSO/ConfigureSSOContext.js.map +1 -1
  6. package/dist/components/ConfigureSSO/ConfigureSSOHeader.js +31 -0
  7. package/dist/components/ConfigureSSO/ConfigureSSOHeader.js.map +1 -0
  8. package/dist/components/ConfigureSSO/ConfigureSSONavbar.js +80 -0
  9. package/dist/components/ConfigureSSO/ConfigureSSONavbar.js.map +1 -0
  10. package/dist/components/ConfigureSSO/ConfigureSSOSkeleton.js +31 -0
  11. package/dist/components/ConfigureSSO/ConfigureSSOSkeleton.js.map +1 -0
  12. package/dist/components/ConfigureSSO/elements/ProfileCard.js +38 -0
  13. package/dist/components/ConfigureSSO/elements/ProfileCard.js.map +1 -0
  14. package/dist/components/ConfigureSSO/elements/Step.js +143 -0
  15. package/dist/components/ConfigureSSO/elements/Step.js.map +1 -0
  16. package/dist/components/ConfigureSSO/elements/Stepper/Stepper.js +133 -0
  17. package/dist/components/ConfigureSSO/elements/Stepper/Stepper.js.map +1 -0
  18. package/dist/components/ConfigureSSO/elements/Wizard/Wizard.js +145 -0
  19. package/dist/components/ConfigureSSO/elements/Wizard/Wizard.js.map +1 -0
  20. package/dist/components/ConfigureSSO/elements/Wizard/WizardContext.js +14 -0
  21. package/dist/components/ConfigureSSO/elements/Wizard/WizardContext.js.map +1 -0
  22. package/dist/components/ConfigureSSO/steps/ConfigureStep.js +36 -0
  23. package/dist/components/ConfigureSSO/steps/ConfigureStep.js.map +1 -0
  24. package/dist/components/ConfigureSSO/steps/ConfirmationStep.js +18 -3
  25. package/dist/components/ConfigureSSO/steps/ConfirmationStep.js.map +1 -1
  26. package/dist/components/ConfigureSSO/steps/SelectProviderStep.js +36 -0
  27. package/dist/components/ConfigureSSO/steps/SelectProviderStep.js.map +1 -0
  28. package/dist/components/ConfigureSSO/steps/TestConfigurationStep.js +29 -6
  29. package/dist/components/ConfigureSSO/steps/TestConfigurationStep.js.map +1 -1
  30. package/dist/components/ConfigureSSO/steps/VerifyDomainStep.js +59 -12
  31. package/dist/components/ConfigureSSO/steps/VerifyDomainStep.js.map +1 -1
  32. package/dist/components/OrganizationProfile/index.js +1 -1
  33. package/dist/components/UserProfile/index.js +1 -1
  34. package/dist/configureSSO_ui_278f40_1.9.2-canary.v20260511154043.js +1 -0
  35. package/dist/configureSSO_ui_6d7818_1.9.2-canary.v20260511154043.js +1 -0
  36. package/dist/configureSSO_ui_eae4d1_1.9.2-canary.v20260511154043.js +1 -0
  37. package/dist/customizables/elementDescriptors.js +11 -9
  38. package/dist/customizables/elementDescriptors.js.map +1 -1
  39. package/dist/elements/contexts/index.js.map +1 -1
  40. package/dist/foundations/defaultFoundations.d.ts +153 -153
  41. package/dist/index.js +1 -1
  42. package/dist/internal/appearance.d.ts +11 -9
  43. package/dist/internal/appearance.d.ts.map +1 -1
  44. package/dist/lazyModules/components.d.ts +21 -21
  45. package/dist/no-rhc/ClerkUI.js +2 -2
  46. package/dist/no-rhc/components/ConfigureSSO/ConfigureSSO.js +43 -121
  47. package/dist/no-rhc/components/ConfigureSSO/ConfigureSSO.js.map +1 -1
  48. package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOContext.js +3 -11
  49. package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOContext.js.map +1 -1
  50. package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOHeader.js +31 -0
  51. package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOHeader.js.map +1 -0
  52. package/dist/no-rhc/components/ConfigureSSO/ConfigureSSONavbar.js +80 -0
  53. package/dist/no-rhc/components/ConfigureSSO/ConfigureSSONavbar.js.map +1 -0
  54. package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOSkeleton.js +31 -0
  55. package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOSkeleton.js.map +1 -0
  56. package/dist/no-rhc/components/ConfigureSSO/elements/ProfileCard.js +38 -0
  57. package/dist/no-rhc/components/ConfigureSSO/elements/ProfileCard.js.map +1 -0
  58. package/dist/no-rhc/components/ConfigureSSO/elements/Step.js +143 -0
  59. package/dist/no-rhc/components/ConfigureSSO/elements/Step.js.map +1 -0
  60. package/dist/no-rhc/components/ConfigureSSO/elements/Stepper/Stepper.js +133 -0
  61. package/dist/no-rhc/components/ConfigureSSO/elements/Stepper/Stepper.js.map +1 -0
  62. package/dist/no-rhc/components/ConfigureSSO/elements/Wizard/Wizard.js +145 -0
  63. package/dist/no-rhc/components/ConfigureSSO/elements/Wizard/Wizard.js.map +1 -0
  64. package/dist/no-rhc/components/ConfigureSSO/elements/Wizard/WizardContext.js +14 -0
  65. package/dist/no-rhc/components/ConfigureSSO/elements/Wizard/WizardContext.js.map +1 -0
  66. package/dist/no-rhc/components/ConfigureSSO/steps/ConfigureStep.js +36 -0
  67. package/dist/no-rhc/components/ConfigureSSO/steps/ConfigureStep.js.map +1 -0
  68. package/dist/no-rhc/components/ConfigureSSO/steps/ConfirmationStep.js +18 -3
  69. package/dist/no-rhc/components/ConfigureSSO/steps/ConfirmationStep.js.map +1 -1
  70. package/dist/no-rhc/components/ConfigureSSO/steps/SelectProviderStep.js +36 -0
  71. package/dist/no-rhc/components/ConfigureSSO/steps/SelectProviderStep.js.map +1 -0
  72. package/dist/no-rhc/components/ConfigureSSO/steps/TestConfigurationStep.js +29 -6
  73. package/dist/no-rhc/components/ConfigureSSO/steps/TestConfigurationStep.js.map +1 -1
  74. package/dist/no-rhc/components/ConfigureSSO/steps/VerifyDomainStep.js +59 -12
  75. package/dist/no-rhc/components/ConfigureSSO/steps/VerifyDomainStep.js.map +1 -1
  76. package/dist/no-rhc/components/OrganizationProfile/index.js +1 -1
  77. package/dist/no-rhc/components/UserProfile/index.js +1 -1
  78. package/dist/no-rhc/customizables/elementDescriptors.js +11 -9
  79. package/dist/no-rhc/customizables/elementDescriptors.js.map +1 -1
  80. package/dist/no-rhc/elements/contexts/index.js.map +1 -1
  81. package/dist/no-rhc/index.js +1 -1
  82. package/dist/server.js +1 -1
  83. package/dist/ui-common_ui_278f40_1.9.2-canary.v20260511154043.js +1 -0
  84. package/dist/{ui-common_ui_927cdf_1.9.1.js → ui-common_ui_6d7818_1.9.2-canary.v20260511154043.js} +4 -4
  85. package/dist/{ui-common_ui_d04ba4_1.9.1.js → ui-common_ui_eae4d1_1.9.2-canary.v20260511154043.js} +4 -4
  86. package/dist/ui.browser.js +2 -2
  87. package/dist/ui.legacy.browser.js +1 -1
  88. package/dist/ui.shared.browser.js +3 -3
  89. package/package.json +3 -3
  90. package/dist/components/ConfigureSSO/steps/ConfigureCreateAppStep.js +0 -23
  91. package/dist/components/ConfigureSSO/steps/ConfigureCreateAppStep.js.map +0 -1
  92. package/dist/components/ConfigureSSO/steps/ProvideEmailStep.js +0 -28
  93. package/dist/components/ConfigureSSO/steps/ProvideEmailStep.js.map +0 -1
  94. package/dist/components/ConfigureSSO/steps/StepLayout.js +0 -59
  95. package/dist/components/ConfigureSSO/steps/StepLayout.js.map +0 -1
  96. package/dist/components/ConfigureSSO/wizard/ConfigureSSOWizard.js +0 -363
  97. package/dist/components/ConfigureSSO/wizard/ConfigureSSOWizard.js.map +0 -1
  98. package/dist/components/ConfigureSSO/wizard/ConfigureSSOWizardContext.js +0 -111
  99. package/dist/components/ConfigureSSO/wizard/ConfigureSSOWizardContext.js.map +0 -1
  100. package/dist/configureSSO_ui_7a9369_1.9.1.js +0 -1
  101. package/dist/configureSSO_ui_927cdf_1.9.1.js +0 -1
  102. package/dist/configureSSO_ui_d04ba4_1.9.1.js +0 -1
  103. package/dist/no-rhc/components/ConfigureSSO/steps/ConfigureCreateAppStep.js +0 -23
  104. package/dist/no-rhc/components/ConfigureSSO/steps/ConfigureCreateAppStep.js.map +0 -1
  105. package/dist/no-rhc/components/ConfigureSSO/steps/ProvideEmailStep.js +0 -28
  106. package/dist/no-rhc/components/ConfigureSSO/steps/ProvideEmailStep.js.map +0 -1
  107. package/dist/no-rhc/components/ConfigureSSO/steps/StepLayout.js +0 -59
  108. package/dist/no-rhc/components/ConfigureSSO/steps/StepLayout.js.map +0 -1
  109. package/dist/no-rhc/components/ConfigureSSO/wizard/ConfigureSSOWizard.js +0 -363
  110. package/dist/no-rhc/components/ConfigureSSO/wizard/ConfigureSSOWizard.js.map +0 -1
  111. package/dist/no-rhc/components/ConfigureSSO/wizard/ConfigureSSOWizardContext.js +0 -111
  112. package/dist/no-rhc/components/ConfigureSSO/wizard/ConfigureSSOWizardContext.js.map +0 -1
  113. package/dist/ui-common_ui_7a9369_1.9.1.js +0 -1
  114. /package/dist/{295_ui_7a9369_1.9.1.js → 295_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  115. /package/dist/{295_ui_927cdf_1.9.1.js → 295_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  116. /package/dist/{295_ui_d04ba4_1.9.1.js → 295_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  117. /package/dist/{37_ui_7a9369_1.9.1.js → 37_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  118. /package/dist/{37_ui_927cdf_1.9.1.js → 37_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  119. /package/dist/{37_ui_d04ba4_1.9.1.js → 37_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  120. /package/dist/{606_ui_7a9369_1.9.1.js → 606_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  121. /package/dist/{606_ui_927cdf_1.9.1.js → 606_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  122. /package/dist/{606_ui_d04ba4_1.9.1.js → 606_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  123. /package/dist/{718_ui_7a9369_1.9.1.js → 718_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  124. /package/dist/{718_ui_927cdf_1.9.1.js → 718_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  125. /package/dist/{718_ui_d04ba4_1.9.1.js → 718_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  126. /package/dist/{746_ui_7a9369_1.9.1.js → 746_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  127. /package/dist/{746_ui_927cdf_1.9.1.js → 746_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  128. /package/dist/{746_ui_d04ba4_1.9.1.js → 746_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  129. /package/dist/{76_ui_7a9369_1.9.1.js → 76_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  130. /package/dist/{76_ui_927cdf_1.9.1.js → 76_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  131. /package/dist/{76_ui_d04ba4_1.9.1.js → 76_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  132. /package/dist/{829_ui_7a9369_1.9.1.js → 829_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  133. /package/dist/{829_ui_927cdf_1.9.1.js → 829_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  134. /package/dist/{829_ui_d04ba4_1.9.1.js → 829_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  135. /package/dist/{apiKeys_ui_7a9369_1.9.1.js → apiKeys_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  136. /package/dist/{apiKeys_ui_927cdf_1.9.1.js → apiKeys_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  137. /package/dist/{apiKeys_ui_d04ba4_1.9.1.js → apiKeys_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  138. /package/dist/{blankcaptcha_ui_7a9369_1.9.1.js → blankcaptcha_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  139. /package/dist/{blankcaptcha_ui_927cdf_1.9.1.js → blankcaptcha_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  140. /package/dist/{blankcaptcha_ui_d04ba4_1.9.1.js → blankcaptcha_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  141. /package/dist/{checkout_ui_7a9369_1.9.1.js → checkout_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  142. /package/dist/{checkout_ui_927cdf_1.9.1.js → checkout_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  143. /package/dist/{checkout_ui_d04ba4_1.9.1.js → checkout_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  144. /package/dist/{copy-api-key-modal_ui_7a9369_1.9.1.js → copy-api-key-modal_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  145. /package/dist/{copy-api-key-modal_ui_927cdf_1.9.1.js → copy-api-key-modal_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  146. /package/dist/{copy-api-key-modal_ui_d04ba4_1.9.1.js → copy-api-key-modal_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  147. /package/dist/{createorganization_ui_7a9369_1.9.1.js → createorganization_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  148. /package/dist/{createorganization_ui_927cdf_1.9.1.js → createorganization_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  149. /package/dist/{createorganization_ui_d04ba4_1.9.1.js → createorganization_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  150. /package/dist/{enableOrganizationsPrompt_ui_7a9369_1.9.1.js → enableOrganizationsPrompt_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  151. /package/dist/{enableOrganizationsPrompt_ui_927cdf_1.9.1.js → enableOrganizationsPrompt_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  152. /package/dist/{enableOrganizationsPrompt_ui_d04ba4_1.9.1.js → enableOrganizationsPrompt_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  153. /package/dist/{framework_ui_7a9369_1.9.1.js → framework_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  154. /package/dist/{framework_ui_d04ba4_1.9.1.js → framework_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  155. /package/dist/{impersonationfab_ui_7a9369_1.9.1.js → impersonationfab_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  156. /package/dist/{impersonationfab_ui_927cdf_1.9.1.js → impersonationfab_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  157. /package/dist/{impersonationfab_ui_d04ba4_1.9.1.js → impersonationfab_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  158. /package/dist/{keylessPrompt_ui_7a9369_1.9.1.js → keylessPrompt_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  159. /package/dist/{keylessPrompt_ui_927cdf_1.9.1.js → keylessPrompt_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  160. /package/dist/{keylessPrompt_ui_d04ba4_1.9.1.js → keylessPrompt_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  161. /package/dist/{oauthConsent_ui_7a9369_1.9.1.js → oauthConsent_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  162. /package/dist/{oauthConsent_ui_927cdf_1.9.1.js → oauthConsent_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  163. /package/dist/{oauthConsent_ui_d04ba4_1.9.1.js → oauthConsent_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  164. /package/dist/{onetap_ui_7a9369_1.9.1.js → onetap_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  165. /package/dist/{onetap_ui_927cdf_1.9.1.js → onetap_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  166. /package/dist/{onetap_ui_d04ba4_1.9.1.js → onetap_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  167. /package/dist/{op-api-keys-page_ui_7a9369_1.9.1.js → op-api-keys-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  168. /package/dist/{op-api-keys-page_ui_927cdf_1.9.1.js → op-api-keys-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  169. /package/dist/{op-api-keys-page_ui_d04ba4_1.9.1.js → op-api-keys-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  170. /package/dist/{op-billing-page_ui_7a9369_1.9.1.js → op-billing-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  171. /package/dist/{op-billing-page_ui_927cdf_1.9.1.js → op-billing-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  172. /package/dist/{op-billing-page_ui_d04ba4_1.9.1.js → op-billing-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  173. /package/dist/{op-plans-page_ui_7a9369_1.9.1.js → op-plans-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  174. /package/dist/{op-plans-page_ui_927cdf_1.9.1.js → op-plans-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  175. /package/dist/{op-plans-page_ui_d04ba4_1.9.1.js → op-plans-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  176. /package/dist/{organizationlist_ui_7a9369_1.9.1.js → organizationlist_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  177. /package/dist/{organizationlist_ui_927cdf_1.9.1.js → organizationlist_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  178. /package/dist/{organizationlist_ui_d04ba4_1.9.1.js → organizationlist_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  179. /package/dist/{organizationprofile_ui_7a9369_1.9.1.js → organizationprofile_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  180. /package/dist/{organizationprofile_ui_927cdf_1.9.1.js → organizationprofile_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  181. /package/dist/{organizationprofile_ui_d04ba4_1.9.1.js → organizationprofile_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  182. /package/dist/{organizationswitcher_ui_7a9369_1.9.1.js → organizationswitcher_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  183. /package/dist/{organizationswitcher_ui_927cdf_1.9.1.js → organizationswitcher_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  184. /package/dist/{organizationswitcher_ui_d04ba4_1.9.1.js → organizationswitcher_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  185. /package/dist/{payment-attempt-page_ui_7a9369_1.9.1.js → payment-attempt-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  186. /package/dist/{payment-attempt-page_ui_927cdf_1.9.1.js → payment-attempt-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  187. /package/dist/{payment-attempt-page_ui_d04ba4_1.9.1.js → payment-attempt-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  188. /package/dist/{planDetails_ui_7a9369_1.9.1.js → planDetails_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  189. /package/dist/{planDetails_ui_927cdf_1.9.1.js → planDetails_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  190. /package/dist/{planDetails_ui_d04ba4_1.9.1.js → planDetails_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  191. /package/dist/{prefetchorganizationlist_ui_7a9369_1.9.1.js → prefetchorganizationlist_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  192. /package/dist/{prefetchorganizationlist_ui_927cdf_1.9.1.js → prefetchorganizationlist_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  193. /package/dist/{prefetchorganizationlist_ui_d04ba4_1.9.1.js → prefetchorganizationlist_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  194. /package/dist/{pricingTable_ui_7a9369_1.9.1.js → pricingTable_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  195. /package/dist/{pricingTable_ui_927cdf_1.9.1.js → pricingTable_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  196. /package/dist/{pricingTable_ui_d04ba4_1.9.1.js → pricingTable_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  197. /package/dist/{revoke-api-key-modal_ui_7a9369_1.9.1.js → revoke-api-key-modal_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  198. /package/dist/{revoke-api-key-modal_ui_927cdf_1.9.1.js → revoke-api-key-modal_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  199. /package/dist/{revoke-api-key-modal_ui_d04ba4_1.9.1.js → revoke-api-key-modal_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  200. /package/dist/{sessionTasks_ui_7a9369_1.9.1.js → sessionTasks_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  201. /package/dist/{sessionTasks_ui_927cdf_1.9.1.js → sessionTasks_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  202. /package/dist/{sessionTasks_ui_d04ba4_1.9.1.js → sessionTasks_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  203. /package/dist/{signin_ui_7a9369_1.9.1.js → signin_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  204. /package/dist/{signin_ui_927cdf_1.9.1.js → signin_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  205. /package/dist/{signin_ui_d04ba4_1.9.1.js → signin_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  206. /package/dist/{signup_ui_7a9369_1.9.1.js → signup_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  207. /package/dist/{signup_ui_927cdf_1.9.1.js → signup_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  208. /package/dist/{signup_ui_d04ba4_1.9.1.js → signup_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  209. /package/dist/{statement-page_ui_7a9369_1.9.1.js → statement-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  210. /package/dist/{statement-page_ui_927cdf_1.9.1.js → statement-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  211. /package/dist/{statement-page_ui_d04ba4_1.9.1.js → statement-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  212. /package/dist/{subscriptionDetails_ui_7a9369_1.9.1.js → subscriptionDetails_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  213. /package/dist/{subscriptionDetails_ui_927cdf_1.9.1.js → subscriptionDetails_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  214. /package/dist/{subscriptionDetails_ui_d04ba4_1.9.1.js → subscriptionDetails_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  215. /package/dist/{taskChooseOrganization_ui_7a9369_1.9.1.js → taskChooseOrganization_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  216. /package/dist/{taskChooseOrganization_ui_927cdf_1.9.1.js → taskChooseOrganization_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  217. /package/dist/{taskChooseOrganization_ui_d04ba4_1.9.1.js → taskChooseOrganization_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  218. /package/dist/{taskResetPassword_ui_7a9369_1.9.1.js → taskResetPassword_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  219. /package/dist/{taskResetPassword_ui_927cdf_1.9.1.js → taskResetPassword_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  220. /package/dist/{taskResetPassword_ui_d04ba4_1.9.1.js → taskResetPassword_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  221. /package/dist/{taskSetupMFA_ui_7a9369_1.9.1.js → taskSetupMFA_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  222. /package/dist/{taskSetupMFA_ui_927cdf_1.9.1.js → taskSetupMFA_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  223. /package/dist/{taskSetupMFA_ui_d04ba4_1.9.1.js → taskSetupMFA_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  224. /package/dist/{up-api-keys-page_ui_7a9369_1.9.1.js → up-api-keys-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  225. /package/dist/{up-api-keys-page_ui_927cdf_1.9.1.js → up-api-keys-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  226. /package/dist/{up-api-keys-page_ui_d04ba4_1.9.1.js → up-api-keys-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  227. /package/dist/{up-billing-page_ui_7a9369_1.9.1.js → up-billing-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  228. /package/dist/{up-billing-page_ui_927cdf_1.9.1.js → up-billing-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  229. /package/dist/{up-billing-page_ui_d04ba4_1.9.1.js → up-billing-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  230. /package/dist/{up-plans-page_ui_7a9369_1.9.1.js → up-plans-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  231. /package/dist/{up-plans-page_ui_927cdf_1.9.1.js → up-plans-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  232. /package/dist/{up-plans-page_ui_d04ba4_1.9.1.js → up-plans-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  233. /package/dist/{useravatar_ui_7a9369_1.9.1.js → useravatar_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  234. /package/dist/{useravatar_ui_927cdf_1.9.1.js → useravatar_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  235. /package/dist/{useravatar_ui_d04ba4_1.9.1.js → useravatar_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  236. /package/dist/{userbutton_ui_7a9369_1.9.1.js → userbutton_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  237. /package/dist/{userbutton_ui_927cdf_1.9.1.js → userbutton_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  238. /package/dist/{userbutton_ui_d04ba4_1.9.1.js → userbutton_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  239. /package/dist/{userprofile_ui_7a9369_1.9.1.js → userprofile_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  240. /package/dist/{userprofile_ui_927cdf_1.9.1.js → userprofile_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  241. /package/dist/{userprofile_ui_d04ba4_1.9.1.js → userprofile_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  242. /package/dist/{userverification_ui_7a9369_1.9.1.js → userverification_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  243. /package/dist/{userverification_ui_927cdf_1.9.1.js → userverification_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  244. /package/dist/{userverification_ui_d04ba4_1.9.1.js → userverification_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  245. /package/dist/{vendors_ui_7a9369_1.9.1.js → vendors_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  246. /package/dist/{vendors_ui_927cdf_1.9.1.js → vendors_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  247. /package/dist/{vendors_ui_d04ba4_1.9.1.js → vendors_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  248. /package/dist/{waitlist_ui_7a9369_1.9.1.js → waitlist_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  249. /package/dist/{waitlist_ui_927cdf_1.9.1.js → waitlist_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  250. /package/dist/{waitlist_ui_d04ba4_1.9.1.js → waitlist_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
  251. /package/dist/{web3-solana-wallet-buttons_ui_7a9369_1.9.1.js → web3-solana-wallet-buttons_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
  252. /package/dist/{web3-solana-wallet-buttons_ui_927cdf_1.9.1.js → web3-solana-wallet-buttons_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
  253. /package/dist/{web3-solana-wallet-buttons_ui_d04ba4_1.9.1.js → web3-solana-wallet-buttons_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
package/dist/ClerkUI.js CHANGED
@@ -23,8 +23,8 @@ import { isVersionAtLeast, parseVersion } from "@clerk/shared/versionCheck";
23
23
  * @public
24
24
  */
25
25
  var ClerkUI = class ClerkUI {
26
- static version = "1.9.1";
27
- version = "1.9.1";
26
+ static version = "1.9.2-canary.v20260511154043";
27
+ version = "1.9.2-canary.v20260511154043";
28
28
  #componentRenderer;
29
29
  /**
30
30
  * Creates a new `ClerkUI` instance and mounts the internal component renderer.
@@ -1,26 +1,23 @@
1
1
  import { withCoreUserGuard } from "../../contexts/CoreUserContext.js";
2
- import { useEnvironment } from "../../contexts/EnvironmentContext.js";
3
- import { localizationKeys } from "../../localization/localizationKeys.js";
4
2
  import { Route } from "../../router/Route.js";
5
3
  import { Switch } from "../../router/Switch.js";
6
- import box_default from "../../icons/box.js";
7
4
  import { descriptors } from "../../customizables/elementDescriptors.js";
8
- import { useAppearance } from "../../customizables/AppearanceContext.js";
9
5
  import { withCardStateProvider } from "../../elements/contexts/index.js";
10
6
  import { Flow } from "../../customizables/Flow.js";
11
- import { Box, Col, Flex, Icon, Text } from "../../customizables/index.js";
12
- import { ApplicationLogo } from "../../elements/ApplicationLogo.js";
13
- import { NavBar, NavbarContextProvider } from "../../elements/Navbar.js";
7
+ import { Col } from "../../customizables/index.js";
14
8
  import { ProfileCard } from "../../elements/ProfileCard/index.js";
15
9
  import { ConfigureSSOFlowProvider } from "./ConfigureSSOContext.js";
16
- import { ConfigureSSOWizard } from "./wizard/ConfigureSSOWizard.js";
17
- import { ConfigureCreateApp } from "./steps/ConfigureCreateAppStep.js";
10
+ import { Wizard } from "./elements/Wizard/Wizard.js";
11
+ import { ConfigureSSOHeader } from "./ConfigureSSOHeader.js";
12
+ import { ConfigureSSONavbar } from "./ConfigureSSONavbar.js";
13
+ import { ConfigureSSOSkeleton } from "./ConfigureSSOSkeleton.js";
14
+ import { ConfigureStep } from "./steps/ConfigureStep.js";
18
15
  import { ConfirmationStep } from "./steps/ConfirmationStep.js";
19
- import { ProvideEmail } from "./steps/ProvideEmailStep.js";
16
+ import { SelectProviderStep } from "./steps/SelectProviderStep.js";
20
17
  import { TestConfigurationStep } from "./steps/TestConfigurationStep.js";
21
18
  import { VerifyDomainStep } from "./steps/VerifyDomainStep.js";
22
19
  import React from "react";
23
- import { __internal_useUserEnterpriseConnections, useOrganization, useUser } from "@clerk/shared/react";
20
+ import { __internal_useUserEnterpriseConnections } from "@clerk/shared/react";
24
21
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
25
22
 
26
23
  //#region src/components/ConfigureSSO/ConfigureSSO.tsx
@@ -32,12 +29,6 @@ const ConfigureSSOInternal = () => {
32
29
  };
33
30
  const AuthenticatedContent = withCoreUserGuard(() => {
34
31
  const contentRef = React.useRef(null);
35
- const { applicationName, logoImageUrl } = useEnvironment().displayConfig;
36
- const { organizationSettings } = useEnvironment();
37
- const { parsedOptions } = useAppearance();
38
- const hasLogo = Boolean(parsedOptions.logoImageUrl || logoImageUrl);
39
- const { data: enterpriseConnections, isLoading: isLoadingEnterpriseConnections } = __internal_useUserEnterpriseConnections({ enabled: true });
40
- const enterpriseConnection = enterpriseConnections?.[0];
41
32
  return /* @__PURE__ */ jsx(ProfileCard.Root, {
42
33
  sx: (t) => ({
43
34
  display: "grid",
@@ -45,55 +36,9 @@ const AuthenticatedContent = withCoreUserGuard(() => {
45
36
  height: t.sizes.$176,
46
37
  overflow: "hidden"
47
38
  }),
48
- children: /* @__PURE__ */ jsxs(NavbarContextProvider, {
39
+ children: /* @__PURE__ */ jsx(ConfigureSSONavbar, {
49
40
  contentRef,
50
- children: [/* @__PURE__ */ jsx(NavBar, {
51
- header: /* @__PURE__ */ jsxs(Flex, {
52
- align: "center",
53
- sx: (t) => ({
54
- gap: t.space.$2,
55
- padding: `${t.space.$none} ${t.space.$3}`,
56
- maxWidth: "100%"
57
- }),
58
- children: [hasLogo ? /* @__PURE__ */ jsx(ApplicationLogo, { sx: (t) => ({
59
- width: t.space.$9,
60
- height: t.space.$9,
61
- borderRadius: t.radii.$md,
62
- overflow: "hidden"
63
- }) }) : /* @__PURE__ */ jsx(Box, {
64
- sx: (t) => ({
65
- width: t.space.$9,
66
- height: t.space.$9,
67
- flexShrink: 0,
68
- borderRadius: t.radii.$md,
69
- backgroundColor: t.colors.$primary500,
70
- color: t.colors.$colorPrimaryForeground,
71
- display: "flex",
72
- alignItems: "center",
73
- justifyContent: "center"
74
- }),
75
- "aria-hidden": true,
76
- children: /* @__PURE__ */ jsx(Icon, {
77
- icon: box_default,
78
- sx: (t) => ({
79
- width: t.sizes.$4,
80
- height: t.sizes.$4
81
- })
82
- })
83
- }), /* @__PURE__ */ jsxs(Col, {
84
- sx: { minWidth: 0 },
85
- children: [/* @__PURE__ */ jsx(Text, {
86
- as: "p",
87
- truncate: true,
88
- children: applicationName
89
- }), organizationSettings.enabled && /* @__PURE__ */ jsx(OrganizationSidebarSubtitle, {})]
90
- })]
91
- }),
92
- titleSx: (t) => ({ fontSize: t.fontSizes.$lg }),
93
- title: localizationKeys("configureSSO.navbar.title"),
94
- routes: [],
95
- contentRef
96
- }), /* @__PURE__ */ jsx(Col, {
41
+ children: /* @__PURE__ */ jsx(Col, {
97
42
  ref: contentRef,
98
43
  elementDescriptor: descriptors.scrollBox,
99
44
  sx: (t) => ({
@@ -105,69 +50,46 @@ const AuthenticatedContent = withCoreUserGuard(() => {
105
50
  borderWidth: t.borderWidths.$normal,
106
51
  borderStyle: t.borderStyles.$solid,
107
52
  borderColor: t.colors.$borderAlpha150,
108
- marginBlock: "-1px",
109
- marginInlineEnd: "-1px",
110
53
  flex: 1
111
54
  }),
112
- children: /* @__PURE__ */ jsx(ConfigureSSOFlowProvider, {
113
- enterpriseConnection,
114
- isLoading: isLoadingEnterpriseConnections,
115
- children: /* @__PURE__ */ jsx(ConfigureSSOSteps, {})
116
- })
117
- })]
55
+ children: /* @__PURE__ */ jsx(ConfigureSSOCardContent, {})
56
+ })
118
57
  })
119
58
  });
120
59
  });
121
- const ConfigureSSOSteps = () => {
122
- const { user } = useUser();
123
- const primaryEmailAddress = user?.primaryEmailAddress;
124
- return /* @__PURE__ */ jsxs(ConfigureSSOWizard, { children: [
125
- /* @__PURE__ */ jsx(ConfigureSSOWizard.Step, {
126
- id: "verify-email-domain",
127
- path: "verify-email-domain",
128
- label: "Verify domain",
129
- children: /* @__PURE__ */ jsxs(ConfigureSSOWizard, { children: [!primaryEmailAddress && /* @__PURE__ */ jsx(ConfigureSSOWizard.Step, {
130
- id: "provide-email",
131
- path: "provide-email",
132
- children: /* @__PURE__ */ jsx(ProvideEmail, {})
133
- }), /* @__PURE__ */ jsx(ConfigureSSOWizard.Step, {
60
+ const ConfigureSSOCardContent = () => {
61
+ const { data: enterpriseConnections, isLoading } = __internal_useUserEnterpriseConnections({ enabled: true });
62
+ const enterpriseConnection = enterpriseConnections?.[0];
63
+ if (isLoading && !enterpriseConnection) return /* @__PURE__ */ jsx(ConfigureSSOSkeleton, {});
64
+ return /* @__PURE__ */ jsx(ConfigureSSOFlowProvider, {
65
+ enterpriseConnection,
66
+ children: /* @__PURE__ */ jsxs(Wizard, { children: [
67
+ /* @__PURE__ */ jsx(ConfigureSSOHeader, {}),
68
+ /* @__PURE__ */ jsx(Wizard.Step, {
69
+ id: "select-provider",
70
+ children: /* @__PURE__ */ jsx(SelectProviderStep, {})
71
+ }),
72
+ /* @__PURE__ */ jsx(Wizard.Step, {
134
73
  id: "verify-domain",
135
- path: "verify-domain",
74
+ label: "Verify domain",
136
75
  children: /* @__PURE__ */ jsx(VerifyDomainStep, {})
137
- })] })
138
- }),
139
- /* @__PURE__ */ jsx(ConfigureSSOWizard.Step, {
140
- id: "configure",
141
- path: "configure",
142
- label: "Configure",
143
- children: /* @__PURE__ */ jsx(ConfigureSSOWizard, { children: /* @__PURE__ */ jsx(ConfigureSSOWizard.Step, {
144
- id: "create-app",
145
- path: "create-app",
146
- children: /* @__PURE__ */ jsx(ConfigureCreateApp, {})
147
- }) })
148
- }),
149
- /* @__PURE__ */ jsx(ConfigureSSOWizard.Step, {
150
- id: "test",
151
- path: "test",
152
- label: "Test",
153
- children: /* @__PURE__ */ jsx(TestConfigurationStep, {})
154
- }),
155
- /* @__PURE__ */ jsx(ConfigureSSOWizard.Step, {
156
- id: "confirmation",
157
- path: "confirmation",
158
- label: "Confirmation",
159
- children: /* @__PURE__ */ jsx(ConfirmationStep, {})
160
- })
161
- ] });
162
- };
163
- const OrganizationSidebarSubtitle = () => {
164
- const { organization } = useOrganization();
165
- if (!organization) return null;
166
- return /* @__PURE__ */ jsx(Text, {
167
- as: "span",
168
- truncate: true,
169
- sx: (t) => ({ color: t.colors.$colorMutedForeground }),
170
- children: organization?.name
76
+ }),
77
+ /* @__PURE__ */ jsx(Wizard.Step, {
78
+ id: "configure",
79
+ label: "Configure",
80
+ children: /* @__PURE__ */ jsx(ConfigureStep, {})
81
+ }),
82
+ /* @__PURE__ */ jsx(Wizard.Step, {
83
+ id: "test",
84
+ label: "Test",
85
+ children: /* @__PURE__ */ jsx(TestConfigurationStep, {})
86
+ }),
87
+ /* @__PURE__ */ jsx(Wizard.Step, {
88
+ id: "confirmation",
89
+ label: "Confirmation",
90
+ children: /* @__PURE__ */ jsx(ConfirmationStep, {})
91
+ })
92
+ ] })
171
93
  });
172
94
  };
173
95
  const ConfigureSSO = withCardStateProvider(ConfigureSSOInternal);
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigureSSO.js","names":["BoxIcon","ConfigureSSO: React.ComponentType<__experimental_ConfigureSSOProps>"],"sources":["../../../src/components/ConfigureSSO/ConfigureSSO.tsx"],"sourcesContent":["import { __internal_useUserEnterpriseConnections, useOrganization, useUser } from '@clerk/shared/react';\nimport type { __experimental_ConfigureSSOProps } from '@clerk/shared/types';\nimport React from 'react';\n\nimport { useEnvironment, withCoreUserGuard } from '@/contexts';\nimport { Box, Col, descriptors, Flex, Flow, Icon, localizationKeys, Text, useAppearance } from '@/customizables';\nimport { ApplicationLogo } from '@/elements/ApplicationLogo';\nimport { withCardStateProvider } from '@/elements/contexts';\nimport { NavBar, NavbarContextProvider } from '@/elements/Navbar';\nimport { ProfileCard } from '@/elements/ProfileCard';\nimport { BoxIcon } from '@/icons';\nimport { Route, Switch } from '@/router';\n\nimport { ConfigureSSOFlowProvider } from './ConfigureSSOContext';\nimport { ConfigureCreateApp, ConfirmationStep, ProvideEmail, TestConfigurationStep, VerifyDomainStep } from './steps';\nimport { ConfigureSSOWizard } from './wizard';\n\nconst ConfigureSSOInternal = () => {\n return (\n <Flow.Root flow='configureSSO'>\n <Switch>\n <Route>\n <AuthenticatedContent />\n </Route>\n </Switch>\n </Flow.Root>\n );\n};\n\nconst AuthenticatedContent = withCoreUserGuard(() => {\n const contentRef = React.useRef<HTMLDivElement>(null);\n const { applicationName, logoImageUrl } = useEnvironment().displayConfig;\n const { organizationSettings } = useEnvironment();\n const { parsedOptions } = useAppearance();\n const hasLogo = Boolean(parsedOptions.logoImageUrl || logoImageUrl);\n\n const { data: enterpriseConnections, isLoading: isLoadingEnterpriseConnections } =\n __internal_useUserEnterpriseConnections({ enabled: true });\n // Currently FAPI only supports one enterprise connection per user\n const enterpriseConnection = enterpriseConnections?.[0];\n\n return (\n <ProfileCard.Root\n sx={t => ({ display: 'grid', gridTemplateColumns: '1fr 3fr', height: t.sizes.$176, overflow: 'hidden' })}\n >\n <NavbarContextProvider contentRef={contentRef}>\n <NavBar\n header={\n <Flex\n align='center'\n sx={t => ({\n gap: t.space.$2,\n padding: `${t.space.$none} ${t.space.$3}`,\n maxWidth: '100%',\n })}\n >\n {hasLogo ? (\n <ApplicationLogo\n sx={t => ({ width: t.space.$9, height: t.space.$9, borderRadius: t.radii.$md, overflow: 'hidden' })}\n />\n ) : (\n <Box\n sx={t => ({\n width: t.space.$9,\n height: t.space.$9,\n flexShrink: 0,\n borderRadius: t.radii.$md,\n backgroundColor: t.colors.$primary500,\n color: t.colors.$colorPrimaryForeground,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n })}\n aria-hidden\n >\n <Icon\n icon={BoxIcon}\n sx={t => ({ width: t.sizes.$4, height: t.sizes.$4 })}\n />\n </Box>\n )}\n\n <Col sx={{ minWidth: 0 }}>\n <Text\n as='p'\n truncate\n >\n {applicationName}\n </Text>\n {organizationSettings.enabled && <OrganizationSidebarSubtitle />}\n </Col>\n </Flex>\n }\n titleSx={t => ({ fontSize: t.fontSizes.$lg })}\n title={localizationKeys('configureSSO.navbar.title')}\n routes={[]}\n contentRef={contentRef}\n />\n <Col\n ref={contentRef}\n elementDescriptor={descriptors.scrollBox}\n sx={t => ({\n backgroundColor: t.colors.$colorBackground,\n position: 'relative',\n borderRadius: t.radii.$lg,\n width: '100%',\n overflow: 'hidden',\n borderWidth: t.borderWidths.$normal,\n borderStyle: t.borderStyles.$solid,\n borderColor: t.colors.$borderAlpha150,\n marginBlock: '-1px',\n marginInlineEnd: '-1px',\n flex: 1,\n })}\n >\n <ConfigureSSOFlowProvider\n enterpriseConnection={enterpriseConnection}\n isLoading={isLoadingEnterpriseConnections}\n >\n <ConfigureSSOSteps />\n </ConfigureSSOFlowProvider>\n </Col>\n </NavbarContextProvider>\n </ProfileCard.Root>\n );\n});\n\nconst ConfigureSSOSteps = () => {\n const { user } = useUser();\n\n const primaryEmailAddress = user?.primaryEmailAddress;\n\n return (\n <ConfigureSSOWizard>\n <ConfigureSSOWizard.Step\n id='verify-email-domain'\n path='verify-email-domain'\n label='Verify domain'\n >\n <ConfigureSSOWizard>\n {!primaryEmailAddress && (\n <ConfigureSSOWizard.Step\n id='provide-email'\n path='provide-email'\n >\n <ProvideEmail />\n </ConfigureSSOWizard.Step>\n )}\n <ConfigureSSOWizard.Step\n id='verify-domain'\n path='verify-domain'\n >\n <VerifyDomainStep />\n </ConfigureSSOWizard.Step>\n </ConfigureSSOWizard>\n </ConfigureSSOWizard.Step>\n <ConfigureSSOWizard.Step\n id='configure'\n path='configure'\n label='Configure'\n >\n <ConfigureSSOWizard>\n {/* TODO: Implement configure steps */}\n <ConfigureSSOWizard.Step\n id='create-app'\n path='create-app'\n >\n <ConfigureCreateApp />\n </ConfigureSSOWizard.Step>\n </ConfigureSSOWizard>\n </ConfigureSSOWizard.Step>\n <ConfigureSSOWizard.Step\n id='test'\n path='test'\n label='Test'\n >\n <TestConfigurationStep />\n </ConfigureSSOWizard.Step>\n <ConfigureSSOWizard.Step\n id='confirmation'\n path='confirmation'\n label='Confirmation'\n >\n <ConfirmationStep />\n </ConfigureSSOWizard.Step>\n </ConfigureSSOWizard>\n );\n};\n\nconst OrganizationSidebarSubtitle = () => {\n const { organization } = useOrganization();\n\n if (!organization) {\n return null;\n }\n\n return (\n <Text\n as='span'\n truncate\n sx={t => ({ color: t.colors.$colorMutedForeground })}\n >\n {organization?.name}\n </Text>\n );\n};\n\nexport const ConfigureSSO: React.ComponentType<__experimental_ConfigureSSOProps> =\n withCardStateProvider(ConfigureSSOInternal);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAM,6BAA6B;AACjC,QACE,oBAAC,KAAK;EAAK,MAAK;YACd,oBAAC,oBACC,oBAAC,mBACC,oBAAC,yBAAuB,GAClB,GACD;GACC;;AAIhB,MAAM,uBAAuB,wBAAwB;CACnD,MAAM,aAAa,MAAM,OAAuB,KAAK;CACrD,MAAM,EAAE,iBAAiB,iBAAiB,gBAAgB,CAAC;CAC3D,MAAM,EAAE,yBAAyB,gBAAgB;CACjD,MAAM,EAAE,kBAAkB,eAAe;CACzC,MAAM,UAAU,QAAQ,cAAc,gBAAgB,aAAa;CAEnE,MAAM,EAAE,MAAM,uBAAuB,WAAW,mCAC9C,wCAAwC,EAAE,SAAS,MAAM,CAAC;CAE5D,MAAM,uBAAuB,wBAAwB;AAErD,QACE,oBAAC,YAAY;EACX,KAAI,OAAM;GAAE,SAAS;GAAQ,qBAAqB;GAAW,QAAQ,EAAE,MAAM;GAAM,UAAU;GAAU;YAEvG,qBAAC;GAAkC;cACjC,oBAAC;IACC,QACE,qBAAC;KACC,OAAM;KACN,KAAI,OAAM;MACR,KAAK,EAAE,MAAM;MACb,SAAS,GAAG,EAAE,MAAM,MAAM,GAAG,EAAE,MAAM;MACrC,UAAU;MACX;gBAEA,UACC,oBAAC,mBACC,KAAI,OAAM;MAAE,OAAO,EAAE,MAAM;MAAI,QAAQ,EAAE,MAAM;MAAI,cAAc,EAAE,MAAM;MAAK,UAAU;MAAU,IAClG,GAEF,oBAAC;MACC,KAAI,OAAM;OACR,OAAO,EAAE,MAAM;OACf,QAAQ,EAAE,MAAM;OAChB,YAAY;OACZ,cAAc,EAAE,MAAM;OACtB,iBAAiB,EAAE,OAAO;OAC1B,OAAO,EAAE,OAAO;OAChB,SAAS;OACT,YAAY;OACZ,gBAAgB;OACjB;MACD;gBAEA,oBAAC;OACC,MAAMA;OACN,KAAI,OAAM;QAAE,OAAO,EAAE,MAAM;QAAI,QAAQ,EAAE,MAAM;QAAI;QACnD;OACE,EAGR,qBAAC;MAAI,IAAI,EAAE,UAAU,GAAG;iBACtB,oBAAC;OACC,IAAG;OACH;iBAEC;QACI,EACN,qBAAqB,WAAW,oBAAC,gCAA8B;OAC5D;MACD;IAET,UAAS,OAAM,EAAE,UAAU,EAAE,UAAU,KAAK;IAC5C,OAAO,iBAAiB,4BAA4B;IACpD,QAAQ,EAAE;IACE;KACZ,EACF,oBAAC;IACC,KAAK;IACL,mBAAmB,YAAY;IAC/B,KAAI,OAAM;KACR,iBAAiB,EAAE,OAAO;KAC1B,UAAU;KACV,cAAc,EAAE,MAAM;KACtB,OAAO;KACP,UAAU;KACV,aAAa,EAAE,aAAa;KAC5B,aAAa,EAAE,aAAa;KAC5B,aAAa,EAAE,OAAO;KACtB,aAAa;KACb,iBAAiB;KACjB,MAAM;KACP;cAED,oBAAC;KACuB;KACtB,WAAW;eAEX,oBAAC,sBAAoB;MACI;KACvB;IACgB;GACP;EAErB;AAEF,MAAM,0BAA0B;CAC9B,MAAM,EAAE,SAAS,SAAS;CAE1B,MAAM,sBAAsB,MAAM;AAElC,QACE,qBAAC;EACC,oBAAC,mBAAmB;GAClB,IAAG;GACH,MAAK;GACL,OAAM;aAEN,qBAAC,iCACE,CAAC,uBACA,oBAAC,mBAAmB;IAClB,IAAG;IACH,MAAK;cAEL,oBAAC,iBAAe;KACQ,EAE5B,oBAAC,mBAAmB;IAClB,IAAG;IACH,MAAK;cAEL,oBAAC,qBAAmB;KACI,IACP;IACG;EAC1B,oBAAC,mBAAmB;GAClB,IAAG;GACH,MAAK;GACL,OAAM;aAEN,oBAAC,gCAEC,oBAAC,mBAAmB;IAClB,IAAG;IACH,MAAK;cAEL,oBAAC,uBAAqB;KACE,GACP;IACG;EAC1B,oBAAC,mBAAmB;GAClB,IAAG;GACH,MAAK;GACL,OAAM;aAEN,oBAAC,0BAAwB;IACD;EAC1B,oBAAC,mBAAmB;GAClB,IAAG;GACH,MAAK;GACL,OAAM;aAEN,oBAAC,qBAAmB;IACI;KACP;;AAIzB,MAAM,oCAAoC;CACxC,MAAM,EAAE,iBAAiB,iBAAiB;AAE1C,KAAI,CAAC,aACH,QAAO;AAGT,QACE,oBAAC;EACC,IAAG;EACH;EACA,KAAI,OAAM,EAAE,OAAO,EAAE,OAAO,uBAAuB;YAElD,cAAc;GACV;;AAIX,MAAaC,eACX,sBAAsB,qBAAqB"}
1
+ {"version":3,"file":"ConfigureSSO.js","names":["ConfigureSSO: React.ComponentType<__experimental_ConfigureSSOProps>"],"sources":["../../../src/components/ConfigureSSO/ConfigureSSO.tsx"],"sourcesContent":["import { __internal_useUserEnterpriseConnections } from '@clerk/shared/react';\nimport type { __experimental_ConfigureSSOProps } from '@clerk/shared/types';\nimport React from 'react';\n\nimport { withCoreUserGuard } from '@/contexts';\nimport { Col, descriptors, Flow } from '@/customizables';\nimport { withCardStateProvider } from '@/elements/contexts';\nimport { ProfileCard } from '@/elements/ProfileCard';\nimport { Route, Switch } from '@/router';\n\nimport { ConfigureSSOFlowProvider } from './ConfigureSSOContext';\nimport { ConfigureSSOHeader } from './ConfigureSSOHeader';\nimport { ConfigureSSONavbar } from './ConfigureSSONavbar';\nimport { ConfigureSSOSkeleton } from './ConfigureSSOSkeleton';\nimport { Wizard } from './elements/Wizard';\nimport { ConfigureStep, ConfirmationStep, SelectProviderStep, TestConfigurationStep, VerifyDomainStep } from './steps';\n\nconst ConfigureSSOInternal = () => {\n return (\n <Flow.Root flow='configureSSO'>\n <Switch>\n <Route>\n <AuthenticatedContent />\n </Route>\n </Switch>\n </Flow.Root>\n );\n};\n\nconst AuthenticatedContent = withCoreUserGuard(() => {\n const contentRef = React.useRef<HTMLDivElement>(null);\n\n return (\n <ProfileCard.Root\n sx={t => ({ display: 'grid', gridTemplateColumns: '1fr 3fr', height: t.sizes.$176, overflow: 'hidden' })}\n >\n <ConfigureSSONavbar contentRef={contentRef}>\n <Col\n ref={contentRef}\n elementDescriptor={descriptors.scrollBox}\n sx={t => ({\n backgroundColor: t.colors.$colorBackground,\n position: 'relative',\n borderRadius: t.radii.$lg,\n width: '100%',\n overflow: 'hidden',\n borderWidth: t.borderWidths.$normal,\n borderStyle: t.borderStyles.$solid,\n borderColor: t.colors.$borderAlpha150,\n flex: 1,\n })}\n >\n <ConfigureSSOCardContent />\n </Col>\n </ConfigureSSONavbar>\n </ProfileCard.Root>\n );\n});\n\nconst ConfigureSSOCardContent = () => {\n const { data: enterpriseConnections, isLoading } = __internal_useUserEnterpriseConnections({ enabled: true });\n // Currently FAPI only supports one enterprise connection per user\n const enterpriseConnection = enterpriseConnections?.[0];\n\n // Initial-load gate at root — wizard never sees isLoading\n if (isLoading && !enterpriseConnection) {\n return <ConfigureSSOSkeleton />;\n }\n\n return (\n <ConfigureSSOFlowProvider enterpriseConnection={enterpriseConnection}>\n <Wizard>\n <ConfigureSSOHeader />\n\n <Wizard.Step id='select-provider'>\n <SelectProviderStep />\n </Wizard.Step>\n\n <Wizard.Step\n id='verify-domain'\n label='Verify domain'\n >\n <VerifyDomainStep />\n </Wizard.Step>\n\n <Wizard.Step\n id='configure'\n label='Configure'\n >\n <ConfigureStep />\n </Wizard.Step>\n\n <Wizard.Step\n id='test'\n label='Test'\n >\n <TestConfigurationStep />\n </Wizard.Step>\n\n <Wizard.Step\n id='confirmation'\n label='Confirmation'\n >\n <ConfirmationStep />\n </Wizard.Step>\n </Wizard>\n </ConfigureSSOFlowProvider>\n );\n};\n\nexport const ConfigureSSO: React.ComponentType<__experimental_ConfigureSSOProps> =\n withCardStateProvider(ConfigureSSOInternal);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAM,6BAA6B;AACjC,QACE,oBAAC,KAAK;EAAK,MAAK;YACd,oBAAC,oBACC,oBAAC,mBACC,oBAAC,yBAAuB,GAClB,GACD;GACC;;AAIhB,MAAM,uBAAuB,wBAAwB;CACnD,MAAM,aAAa,MAAM,OAAuB,KAAK;AAErD,QACE,oBAAC,YAAY;EACX,KAAI,OAAM;GAAE,SAAS;GAAQ,qBAAqB;GAAW,QAAQ,EAAE,MAAM;GAAM,UAAU;GAAU;YAEvG,oBAAC;GAA+B;aAC9B,oBAAC;IACC,KAAK;IACL,mBAAmB,YAAY;IAC/B,KAAI,OAAM;KACR,iBAAiB,EAAE,OAAO;KAC1B,UAAU;KACV,cAAc,EAAE,MAAM;KACtB,OAAO;KACP,UAAU;KACV,aAAa,EAAE,aAAa;KAC5B,aAAa,EAAE,aAAa;KAC5B,aAAa,EAAE,OAAO;KACtB,MAAM;KACP;cAED,oBAAC,4BAA0B;KACvB;IACa;GACJ;EAErB;AAEF,MAAM,gCAAgC;CACpC,MAAM,EAAE,MAAM,uBAAuB,cAAc,wCAAwC,EAAE,SAAS,MAAM,CAAC;CAE7G,MAAM,uBAAuB,wBAAwB;AAGrD,KAAI,aAAa,CAAC,qBAChB,QAAO,oBAAC,yBAAuB;AAGjC,QACE,oBAAC;EAA+C;YAC9C,qBAAC;GACC,oBAAC,uBAAqB;GAEtB,oBAAC,OAAO;IAAK,IAAG;cACd,oBAAC,uBAAqB;KACV;GAEd,oBAAC,OAAO;IACN,IAAG;IACH,OAAM;cAEN,oBAAC,qBAAmB;KACR;GAEd,oBAAC,OAAO;IACN,IAAG;IACH,OAAM;cAEN,oBAAC,kBAAgB;KACL;GAEd,oBAAC,OAAO;IACN,IAAG;IACH,OAAM;cAEN,oBAAC,0BAAwB;KACb;GAEd,oBAAC,OAAO;IACN,IAAG;IACH,OAAM;cAEN,oBAAC,qBAAmB;KACR;MACP;GACgB;;AAI/B,MAAaA,eACX,sBAAsB,qBAAqB"}
@@ -4,22 +4,14 @@ import { jsx } from "@emotion/react/jsx-runtime";
4
4
  //#region src/components/ConfigureSSO/ConfigureSSOContext.tsx
5
5
  const ConfigureSSOFlowContext = React.createContext(null);
6
6
  ConfigureSSOFlowContext.displayName = "ConfigureSSOFlowContext";
7
- const ConfigureSSOFlowProvider = ({ enterpriseConnection, isLoading, children }) => {
8
- const value = React.useMemo(() => ({
9
- enterpriseConnection,
10
- isLoading
11
- }), [enterpriseConnection, isLoading]);
7
+ const ConfigureSSOFlowProvider = ({ enterpriseConnection, children }) => {
8
+ const value = React.useMemo(() => ({ enterpriseConnection }), [enterpriseConnection]);
12
9
  return /* @__PURE__ */ jsx(ConfigureSSOFlowContext.Provider, {
13
10
  value,
14
11
  children
15
12
  });
16
13
  };
17
- const useConfigureSSOFlow = () => {
18
- const ctx = React.useContext(ConfigureSSOFlowContext);
19
- if (!ctx) throw new Error("useConfigureSSOFlow called outside <ConfigureSSOFlowProvider>.");
20
- return ctx;
21
- };
22
14
 
23
15
  //#endregion
24
- export { ConfigureSSOFlowProvider, useConfigureSSOFlow };
16
+ export { ConfigureSSOFlowProvider };
25
17
  //# sourceMappingURL=ConfigureSSOContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigureSSOContext.js","names":[],"sources":["../../../src/components/ConfigureSSO/ConfigureSSOContext.tsx"],"sourcesContent":["import type { EnterpriseConnectionResource } from '@clerk/shared/types';\nimport React, { type PropsWithChildren } from 'react';\n\n/**\n * Shared form state for the ConfigureSSO wizard, persisted across steps\n */\nexport interface ConfigureSSOData {\n /**\n * The enterprise connection from the user's primary email address domain\n */\n enterpriseConnection: EnterpriseConnectionResource | undefined;\n}\n\nexport interface ConfigureSSOContextValue extends ConfigureSSOData {\n /**\n * `true` while the parent is still fetching the user's enterprise\n * connection\n */\n isLoading: boolean;\n}\n\ninterface ConfigureSSOFlowProviderProps {\n enterpriseConnection: EnterpriseConnectionResource | undefined;\n isLoading: boolean;\n}\n\nconst ConfigureSSOFlowContext = React.createContext<ConfigureSSOContextValue | null>(null);\nConfigureSSOFlowContext.displayName = 'ConfigureSSOFlowContext';\n\nexport const ConfigureSSOFlowProvider = ({\n enterpriseConnection,\n isLoading,\n children,\n}: PropsWithChildren<ConfigureSSOFlowProviderProps>): JSX.Element => {\n const value = React.useMemo<ConfigureSSOContextValue>(\n () => ({\n enterpriseConnection,\n isLoading,\n }),\n [enterpriseConnection, isLoading],\n );\n\n return <ConfigureSSOFlowContext.Provider value={value}>{children}</ConfigureSSOFlowContext.Provider>;\n};\n\nexport const useConfigureSSOFlow = (): ConfigureSSOContextValue => {\n const ctx = React.useContext(ConfigureSSOFlowContext);\n if (!ctx) {\n throw new Error('useConfigureSSOFlow called outside <ConfigureSSOFlowProvider>.');\n }\n return ctx;\n};\n"],"mappings":";;;;AA0BA,MAAM,0BAA0B,MAAM,cAA+C,KAAK;AAC1F,wBAAwB,cAAc;AAEtC,MAAa,4BAA4B,EACvC,sBACA,WACA,eACmE;CACnE,MAAM,QAAQ,MAAM,eACX;EACL;EACA;EACD,GACD,CAAC,sBAAsB,UAAU,CAClC;AAED,QAAO,oBAAC,wBAAwB;EAAgB;EAAQ;GAA4C;;AAGtG,MAAa,4BAAsD;CACjE,MAAM,MAAM,MAAM,WAAW,wBAAwB;AACrD,KAAI,CAAC,IACH,OAAM,IAAI,MAAM,iEAAiE;AAEnF,QAAO"}
1
+ {"version":3,"file":"ConfigureSSOContext.js","names":[],"sources":["../../../src/components/ConfigureSSO/ConfigureSSOContext.tsx"],"sourcesContent":["import type { EnterpriseConnectionResource } from '@clerk/shared/types';\nimport React, { type PropsWithChildren } from 'react';\n\n/**\n * Shared form state for the ConfigureSSO wizard, persisted across steps\n */\nexport interface ConfigureSSOData {\n /**\n * The enterprise connection from the user's primary email address domain\n */\n enterpriseConnection: EnterpriseConnectionResource | undefined;\n}\n\ninterface ConfigureSSOFlowProviderProps {\n enterpriseConnection: EnterpriseConnectionResource | undefined;\n}\n\nconst ConfigureSSOFlowContext = React.createContext<ConfigureSSOData | null>(null);\nConfigureSSOFlowContext.displayName = 'ConfigureSSOFlowContext';\n\nexport const ConfigureSSOFlowProvider = ({\n enterpriseConnection,\n children,\n}: PropsWithChildren<ConfigureSSOFlowProviderProps>): JSX.Element => {\n const value = React.useMemo<ConfigureSSOData>(\n () => ({\n enterpriseConnection,\n }),\n [enterpriseConnection],\n );\n\n return <ConfigureSSOFlowContext.Provider value={value}>{children}</ConfigureSSOFlowContext.Provider>;\n};\n\nexport const useConfigureSSOFlow = (): ConfigureSSOData => {\n const ctx = React.useContext(ConfigureSSOFlowContext);\n if (!ctx) {\n throw new Error('useConfigureSSOFlow called outside <ConfigureSSOFlowProvider>.');\n }\n return ctx;\n};\n"],"mappings":";;;;AAiBA,MAAM,0BAA0B,MAAM,cAAuC,KAAK;AAClF,wBAAwB,cAAc;AAEtC,MAAa,4BAA4B,EACvC,sBACA,eACmE;CACnE,MAAM,QAAQ,MAAM,eACX,EACL,sBACD,GACD,CAAC,qBAAqB,CACvB;AAED,QAAO,oBAAC,wBAAwB;EAAgB;EAAQ;GAA4C"}
@@ -0,0 +1,31 @@
1
+ import { useLocalizations } from "../../localization/makeLocalizable.js";
2
+ import { ProfileCardHeader } from "./elements/ProfileCard.js";
3
+ import { Stepper } from "./elements/Stepper/Stepper.js";
4
+ import { useWizard } from "./elements/Wizard/WizardContext.js";
5
+ import { jsx } from "@emotion/react/jsx-runtime";
6
+
7
+ //#region src/components/ConfigureSSO/ConfigureSSOHeader.tsx
8
+ const ConfigureSSOHeader = () => {
9
+ const { activeSteps, currentStep, goToStep } = useWizard();
10
+ const { t } = useLocalizations();
11
+ const visibleSteps = activeSteps.filter((step) => step.id !== "select-provider");
12
+ const currentIndex = visibleSteps.findIndex((step) => step.id === currentStep?.id);
13
+ return /* @__PURE__ */ jsx(ProfileCardHeader, { children: /* @__PURE__ */ jsx(Stepper, { children: visibleSteps.map((step, index) => {
14
+ const isCurrent = index === currentIndex;
15
+ const isCompleted = step.isCompleted ?? index < currentIndex;
16
+ const isReachable = isCompleted || index <= currentIndex;
17
+ const labelText = step.label ? typeof step.label === "string" ? step.label : t(step.label) : "";
18
+ return /* @__PURE__ */ jsx(Stepper.Item, {
19
+ bullet: index + 1,
20
+ isCurrent,
21
+ isCompleted,
22
+ isReachable,
23
+ onClick: () => void goToStep(step.id),
24
+ children: labelText
25
+ }, step.id);
26
+ }) }) });
27
+ };
28
+
29
+ //#endregion
30
+ export { ConfigureSSOHeader };
31
+ //# sourceMappingURL=ConfigureSSOHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigureSSOHeader.js","names":[],"sources":["../../../src/components/ConfigureSSO/ConfigureSSOHeader.tsx"],"sourcesContent":["import { useLocalizations } from '@/customizables';\n\nimport { ProfileCardHeader } from './elements/ProfileCard';\nimport { Stepper } from './elements/Stepper';\nimport { useWizard } from './elements/Wizard';\n\nexport const ConfigureSSOHeader = (): JSX.Element => {\n const { activeSteps, currentStep, goToStep } = useWizard();\n const { t } = useLocalizations();\n // Select Provider isn't part of the visual breadcrumb per the design —\n // filter it out here. The wizard still tracks it as the first step\n // for navigation (goNext from it advances to verify-domain, Previous\n // is naturally disabled because isFirstStep is true).\n const visibleSteps = activeSteps.filter(step => step.id !== 'select-provider');\n const currentIndex = visibleSteps.findIndex(step => step.id === currentStep?.id);\n\n return (\n <ProfileCardHeader>\n <Stepper>\n {visibleSteps.map((step, index) => {\n const isCurrent = index === currentIndex;\n const isCompleted = step.isCompleted ?? index < currentIndex;\n const isReachable = isCompleted || index <= currentIndex;\n const labelText = step.label ? (typeof step.label === 'string' ? step.label : t(step.label)) : '';\n\n return (\n <Stepper.Item\n key={step.id}\n bullet={index + 1}\n isCurrent={isCurrent}\n isCompleted={isCompleted}\n isReachable={isReachable}\n onClick={() => void goToStep(step.id)}\n >\n {labelText}\n </Stepper.Item>\n );\n })}\n </Stepper>\n </ProfileCardHeader>\n );\n};\n"],"mappings":";;;;;;;AAMA,MAAa,2BAAwC;CACnD,MAAM,EAAE,aAAa,aAAa,aAAa,WAAW;CAC1D,MAAM,EAAE,MAAM,kBAAkB;CAKhC,MAAM,eAAe,YAAY,QAAO,SAAQ,KAAK,OAAO,kBAAkB;CAC9E,MAAM,eAAe,aAAa,WAAU,SAAQ,KAAK,OAAO,aAAa,GAAG;AAEhF,QACE,oBAAC,+BACC,oBAAC,qBACE,aAAa,KAAK,MAAM,UAAU;EACjC,MAAM,YAAY,UAAU;EAC5B,MAAM,cAAc,KAAK,eAAe,QAAQ;EAChD,MAAM,cAAc,eAAe,SAAS;EAC5C,MAAM,YAAY,KAAK,QAAS,OAAO,KAAK,UAAU,WAAW,KAAK,QAAQ,EAAE,KAAK,MAAM,GAAI;AAE/F,SACE,oBAAC,QAAQ;GAEP,QAAQ,QAAQ;GACL;GACE;GACA;GACb,eAAe,KAAK,SAAS,KAAK,GAAG;aAEpC;KAPI,KAAK,GAQG;GAEjB,GACM,GACQ"}
@@ -0,0 +1,80 @@
1
+ import { useEnvironment } from "../../contexts/EnvironmentContext.js";
2
+ import { localizationKeys } from "../../localization/localizationKeys.js";
3
+ import box_default from "../../icons/box.js";
4
+ import { useAppearance } from "../../customizables/AppearanceContext.js";
5
+ import { Box, Col, Flex, Icon, Text } from "../../customizables/index.js";
6
+ import { ApplicationLogo } from "../../elements/ApplicationLogo.js";
7
+ import { NavBar, NavbarContextProvider } from "../../elements/Navbar.js";
8
+ import React from "react";
9
+ import { jsx, jsxs } from "@emotion/react/jsx-runtime";
10
+ import { useOrganization } from "@clerk/shared/react/index";
11
+
12
+ //#region src/components/ConfigureSSO/ConfigureSSONavbar.tsx
13
+ const ConfigureSSONavbar = ({ children, contentRef }) => {
14
+ const { parsedOptions } = useAppearance();
15
+ const { organizationSettings, displayConfig: { applicationName, logoImageUrl } } = useEnvironment();
16
+ return /* @__PURE__ */ jsxs(NavbarContextProvider, {
17
+ contentRef,
18
+ children: [/* @__PURE__ */ jsx(NavBar, {
19
+ header: /* @__PURE__ */ jsxs(Flex, {
20
+ align: "center",
21
+ sx: (t) => ({
22
+ gap: t.space.$2,
23
+ padding: `${t.space.$none} ${t.space.$3}`,
24
+ maxWidth: "100%"
25
+ }),
26
+ children: [Boolean(parsedOptions.logoImageUrl || logoImageUrl) ? /* @__PURE__ */ jsx(ApplicationLogo, { sx: (t) => ({
27
+ width: t.space.$9,
28
+ height: t.space.$9,
29
+ borderRadius: t.radii.$md,
30
+ overflow: "hidden"
31
+ }) }) : /* @__PURE__ */ jsx(Box, {
32
+ sx: (t) => ({
33
+ width: t.space.$9,
34
+ height: t.space.$9,
35
+ flexShrink: 0,
36
+ borderRadius: t.radii.$md,
37
+ backgroundColor: t.colors.$primary500,
38
+ color: t.colors.$colorPrimaryForeground,
39
+ display: "flex",
40
+ alignItems: "center",
41
+ justifyContent: "center"
42
+ }),
43
+ "aria-hidden": true,
44
+ children: /* @__PURE__ */ jsx(Icon, {
45
+ icon: box_default,
46
+ sx: (t) => ({
47
+ width: t.sizes.$4,
48
+ height: t.sizes.$4
49
+ })
50
+ })
51
+ }), /* @__PURE__ */ jsxs(Col, {
52
+ sx: { minWidth: 0 },
53
+ children: [/* @__PURE__ */ jsx(Text, {
54
+ as: "p",
55
+ truncate: true,
56
+ children: applicationName
57
+ }), organizationSettings.enabled && /* @__PURE__ */ jsx(OrganizationSidebarSubtitle, {})]
58
+ })]
59
+ }),
60
+ titleSx: (t) => ({ fontSize: t.fontSizes.$lg }),
61
+ title: localizationKeys("configureSSO.navbar.title"),
62
+ routes: [],
63
+ contentRef
64
+ }), children]
65
+ });
66
+ };
67
+ const OrganizationSidebarSubtitle = () => {
68
+ const { organization } = useOrganization();
69
+ if (!organization) return null;
70
+ return /* @__PURE__ */ jsx(Text, {
71
+ as: "span",
72
+ truncate: true,
73
+ sx: (t) => ({ color: t.colors.$colorMutedForeground }),
74
+ children: organization?.name
75
+ });
76
+ };
77
+
78
+ //#endregion
79
+ export { ConfigureSSONavbar };
80
+ //# sourceMappingURL=ConfigureSSONavbar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigureSSONavbar.js","names":["BoxIcon"],"sources":["../../../src/components/ConfigureSSO/ConfigureSSONavbar.tsx"],"sourcesContent":["import { useOrganization } from '@clerk/shared/react/index';\nimport React from 'react';\n\nimport { useEnvironment } from '@/contexts';\nimport { Box, Col, Flex, Icon, localizationKeys, Text, useAppearance } from '@/customizables';\nimport { ApplicationLogo } from '@/elements/ApplicationLogo';\nimport { NavBar, NavbarContextProvider } from '@/elements/Navbar';\nimport { BoxIcon } from '@/icons';\n\ntype ConfigureSSONavbarProps = React.PropsWithChildren<{\n contentRef: React.RefObject<HTMLDivElement>;\n}>;\n\nexport const ConfigureSSONavbar = ({ children, contentRef }: ConfigureSSONavbarProps) => {\n const { parsedOptions } = useAppearance();\n const {\n organizationSettings,\n displayConfig: { applicationName, logoImageUrl },\n } = useEnvironment();\n\n const hasLogo = Boolean(parsedOptions.logoImageUrl || logoImageUrl);\n\n return (\n <NavbarContextProvider contentRef={contentRef}>\n <NavBar\n header={\n <Flex\n align='center'\n sx={t => ({\n gap: t.space.$2,\n padding: `${t.space.$none} ${t.space.$3}`,\n maxWidth: '100%',\n })}\n >\n {hasLogo ? (\n <ApplicationLogo\n sx={t => ({ width: t.space.$9, height: t.space.$9, borderRadius: t.radii.$md, overflow: 'hidden' })}\n />\n ) : (\n <Box\n sx={t => ({\n width: t.space.$9,\n height: t.space.$9,\n flexShrink: 0,\n borderRadius: t.radii.$md,\n backgroundColor: t.colors.$primary500,\n color: t.colors.$colorPrimaryForeground,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n })}\n aria-hidden\n >\n <Icon\n icon={BoxIcon}\n sx={t => ({ width: t.sizes.$4, height: t.sizes.$4 })}\n />\n </Box>\n )}\n\n <Col sx={{ minWidth: 0 }}>\n <Text\n as='p'\n truncate\n >\n {applicationName}\n </Text>\n {organizationSettings.enabled && <OrganizationSidebarSubtitle />}\n </Col>\n </Flex>\n }\n titleSx={t => ({ fontSize: t.fontSizes.$lg })}\n title={localizationKeys('configureSSO.navbar.title')}\n routes={[]}\n contentRef={contentRef}\n />\n {children}\n </NavbarContextProvider>\n );\n};\n\nconst OrganizationSidebarSubtitle = (): JSX.Element | null => {\n const { organization } = useOrganization();\n\n if (!organization) {\n return null;\n }\n\n return (\n <Text\n as='span'\n truncate\n sx={t => ({ color: t.colors.$colorMutedForeground })}\n >\n {organization?.name}\n </Text>\n );\n};\n"],"mappings":";;;;;;;;;;;;AAaA,MAAa,sBAAsB,EAAE,UAAU,iBAA0C;CACvF,MAAM,EAAE,kBAAkB,eAAe;CACzC,MAAM,EACJ,sBACA,eAAe,EAAE,iBAAiB,mBAChC,gBAAgB;AAIpB,QACE,qBAAC;EAAkC;aACjC,oBAAC;GACC,QACE,qBAAC;IACC,OAAM;IACN,KAAI,OAAM;KACR,KAAK,EAAE,MAAM;KACb,SAAS,GAAG,EAAE,MAAM,MAAM,GAAG,EAAE,MAAM;KACrC,UAAU;KACX;eAZK,QAAQ,cAAc,gBAAgB,aAAa,GAevD,oBAAC,mBACC,KAAI,OAAM;KAAE,OAAO,EAAE,MAAM;KAAI,QAAQ,EAAE,MAAM;KAAI,cAAc,EAAE,MAAM;KAAK,UAAU;KAAU,IAClG,GAEF,oBAAC;KACC,KAAI,OAAM;MACR,OAAO,EAAE,MAAM;MACf,QAAQ,EAAE,MAAM;MAChB,YAAY;MACZ,cAAc,EAAE,MAAM;MACtB,iBAAiB,EAAE,OAAO;MAC1B,OAAO,EAAE,OAAO;MAChB,SAAS;MACT,YAAY;MACZ,gBAAgB;MACjB;KACD;eAEA,oBAAC;MACC,MAAMA;MACN,KAAI,OAAM;OAAE,OAAO,EAAE,MAAM;OAAI,QAAQ,EAAE,MAAM;OAAI;OACnD;MACE,EAGR,qBAAC;KAAI,IAAI,EAAE,UAAU,GAAG;gBACtB,oBAAC;MACC,IAAG;MACH;gBAEC;OACI,EACN,qBAAqB,WAAW,oBAAC,gCAA8B;MAC5D;KACD;GAET,UAAS,OAAM,EAAE,UAAU,EAAE,UAAU,KAAK;GAC5C,OAAO,iBAAiB,4BAA4B;GACpD,QAAQ,EAAE;GACE;IACZ,EACD;GACqB;;AAI5B,MAAM,oCAAwD;CAC5D,MAAM,EAAE,iBAAiB,iBAAiB;AAE1C,KAAI,CAAC,aACH,QAAO;AAGT,QACE,oBAAC;EACC,IAAG;EACH;EACA,KAAI,OAAM,EAAE,OAAO,EAAE,OAAO,uBAAuB;YAElD,cAAc;GACV"}
@@ -0,0 +1,31 @@
1
+ import { descriptors } from "../../customizables/elementDescriptors.js";
2
+ import { Flex, Spinner } from "../../customizables/index.js";
3
+ import { ProfileCardHeader } from "./elements/ProfileCard.js";
4
+ import { Stepper } from "./elements/Stepper/Stepper.js";
5
+ import { Step } from "./elements/Step.js";
6
+ import { Fragment, jsx, jsxs } from "@emotion/react/jsx-runtime";
7
+
8
+ //#region src/components/ConfigureSSO/ConfigureSSOSkeleton.tsx
9
+ const ConfigureSSOSkeleton = () => {
10
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
11
+ /* @__PURE__ */ jsx(ProfileCardHeader, { children: /* @__PURE__ */ jsx(Stepper.Skeleton, {}) }),
12
+ /* @__PURE__ */ jsx(Flex, {
13
+ align: "center",
14
+ justify: "center",
15
+ sx: (theme) => ({
16
+ flex: 1,
17
+ padding: theme.space.$5
18
+ }),
19
+ children: /* @__PURE__ */ jsx(Spinner, {
20
+ size: "xs",
21
+ colorScheme: "neutral",
22
+ elementDescriptor: descriptors.spinner
23
+ })
24
+ }),
25
+ /* @__PURE__ */ jsxs(Step.Footer, { children: [/* @__PURE__ */ jsx(Step.Footer.Previous, { isDisabled: true }), /* @__PURE__ */ jsx(Step.Footer.Continue, { isDisabled: true })] })
26
+ ] });
27
+ };
28
+
29
+ //#endregion
30
+ export { ConfigureSSOSkeleton };
31
+ //# sourceMappingURL=ConfigureSSOSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigureSSOSkeleton.js","names":[],"sources":["../../../src/components/ConfigureSSO/ConfigureSSOSkeleton.tsx"],"sourcesContent":["import { descriptors, Flex, Spinner } from '@/customizables';\n\nimport { ProfileCardHeader } from './elements/ProfileCard';\nimport { Step } from './elements/Step';\nimport { Stepper } from './elements/Stepper';\n\nexport const ConfigureSSOSkeleton = () => {\n return (\n <>\n <ProfileCardHeader>\n <Stepper.Skeleton />\n </ProfileCardHeader>\n\n <Flex\n align='center'\n justify='center'\n sx={theme => ({\n flex: 1,\n padding: theme.space.$5,\n })}\n >\n <Spinner\n size='xs'\n colorScheme='neutral'\n elementDescriptor={descriptors.spinner}\n />\n </Flex>\n\n <Step.Footer>\n <Step.Footer.Previous isDisabled />\n <Step.Footer.Continue isDisabled />\n </Step.Footer>\n </>\n );\n};\n"],"mappings":";;;;;;;;AAMA,MAAa,6BAA6B;AACxC,QACE;EACE,oBAAC,+BACC,oBAAC,QAAQ,aAAW,GACF;EAEpB,oBAAC;GACC,OAAM;GACN,SAAQ;GACR,KAAI,WAAU;IACZ,MAAM;IACN,SAAS,MAAM,MAAM;IACtB;aAED,oBAAC;IACC,MAAK;IACL,aAAY;IACZ,mBAAmB,YAAY;KAC/B;IACG;EAEP,qBAAC,KAAK,qBACJ,oBAAC,KAAK,OAAO,YAAS,mBAAa,EACnC,oBAAC,KAAK,OAAO,YAAS,mBAAa,IACvB;KACb"}
@@ -0,0 +1,38 @@
1
+ import { common } from "../../../styledSystem/common.js";
2
+ import { descriptors } from "../../../customizables/elementDescriptors.js";
3
+ import { Flex } from "../../../customizables/index.js";
4
+ import { jsx } from "@emotion/react/jsx-runtime";
5
+
6
+ //#region src/components/ConfigureSSO/elements/ProfileCard.tsx
7
+ const ProfileCardHeader = (props) => /* @__PURE__ */ jsx(Flex, {
8
+ as: "header",
9
+ elementDescriptor: descriptors.configureSSOHeader,
10
+ ...props,
11
+ sx: (theme) => ({
12
+ gap: theme.space.$2,
13
+ padding: `${theme.space.$5}`,
14
+ borderBottomWidth: theme.borderWidths.$normal,
15
+ borderBottomStyle: theme.borderStyles.$solid,
16
+ borderBottomColor: theme.colors.$borderAlpha100
17
+ })
18
+ });
19
+ const ProfileCardFooter = (props) => /* @__PURE__ */ jsx(Flex, {
20
+ as: "footer",
21
+ elementDescriptor: descriptors.configureSSOFooter,
22
+ align: "center",
23
+ justify: "end",
24
+ ...props,
25
+ sx: (theme) => ({
26
+ gap: theme.space.$2,
27
+ padding: theme.space.$4,
28
+ minHeight: theme.sizes.$16,
29
+ background: common.mutedBackground(theme),
30
+ borderTopWidth: theme.borderWidths.$normal,
31
+ borderTopStyle: theme.borderStyles.$solid,
32
+ borderTopColor: theme.colors.$borderAlpha100
33
+ })
34
+ });
35
+
36
+ //#endregion
37
+ export { ProfileCardFooter, ProfileCardHeader };
38
+ //# sourceMappingURL=ProfileCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileCard.js","names":[],"sources":["../../../../src/components/ConfigureSSO/elements/ProfileCard.tsx"],"sourcesContent":["import { descriptors, Flex } from '@/customizables';\nimport { common } from '@/styledSystem';\n\ntype ProfileCardHeaderProps = React.PropsWithChildren;\n\nexport const ProfileCardHeader = (props: ProfileCardHeaderProps): JSX.Element => (\n <Flex\n as='header'\n elementDescriptor={descriptors.configureSSOHeader}\n {...props}\n sx={theme => ({\n gap: theme.space.$2,\n padding: `${theme.space.$5}`,\n borderBottomWidth: theme.borderWidths.$normal,\n borderBottomStyle: theme.borderStyles.$solid,\n borderBottomColor: theme.colors.$borderAlpha100,\n })}\n />\n);\n\ntype ProfileCardFooterProps = React.PropsWithChildren;\n\nexport const ProfileCardFooter = (props: ProfileCardFooterProps): JSX.Element => (\n <Flex\n as='footer'\n elementDescriptor={descriptors.configureSSOFooter}\n align='center'\n justify='end'\n {...props}\n sx={theme => ({\n gap: theme.space.$2,\n padding: theme.space.$4,\n minHeight: theme.sizes.$16,\n background: common.mutedBackground(theme),\n borderTopWidth: theme.borderWidths.$normal,\n borderTopStyle: theme.borderStyles.$solid,\n borderTopColor: theme.colors.$borderAlpha100,\n })}\n />\n);\n"],"mappings":";;;;;;AAKA,MAAa,qBAAqB,UAChC,oBAAC;CACC,IAAG;CACH,mBAAmB,YAAY;CAC/B,GAAI;CACJ,KAAI,WAAU;EACZ,KAAK,MAAM,MAAM;EACjB,SAAS,GAAG,MAAM,MAAM;EACxB,mBAAmB,MAAM,aAAa;EACtC,mBAAmB,MAAM,aAAa;EACtC,mBAAmB,MAAM,OAAO;EACjC;EACD;AAKJ,MAAa,qBAAqB,UAChC,oBAAC;CACC,IAAG;CACH,mBAAmB,YAAY;CAC/B,OAAM;CACN,SAAQ;CACR,GAAI;CACJ,KAAI,WAAU;EACZ,KAAK,MAAM,MAAM;EACjB,SAAS,MAAM,MAAM;EACrB,WAAW,MAAM,MAAM;EACvB,YAAY,OAAO,gBAAgB,MAAM;EACzC,gBAAgB,MAAM,aAAa;EACnC,gBAAgB,MAAM,aAAa;EACnC,gBAAgB,MAAM,OAAO;EAC9B;EACD"}