@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.
- package/dist/ClerkUI.js +2 -2
- package/dist/components/ConfigureSSO/ConfigureSSO.js +43 -121
- package/dist/components/ConfigureSSO/ConfigureSSO.js.map +1 -1
- package/dist/components/ConfigureSSO/ConfigureSSOContext.js +3 -11
- package/dist/components/ConfigureSSO/ConfigureSSOContext.js.map +1 -1
- package/dist/components/ConfigureSSO/ConfigureSSOHeader.js +31 -0
- package/dist/components/ConfigureSSO/ConfigureSSOHeader.js.map +1 -0
- package/dist/components/ConfigureSSO/ConfigureSSONavbar.js +80 -0
- package/dist/components/ConfigureSSO/ConfigureSSONavbar.js.map +1 -0
- package/dist/components/ConfigureSSO/ConfigureSSOSkeleton.js +31 -0
- package/dist/components/ConfigureSSO/ConfigureSSOSkeleton.js.map +1 -0
- package/dist/components/ConfigureSSO/elements/ProfileCard.js +38 -0
- package/dist/components/ConfigureSSO/elements/ProfileCard.js.map +1 -0
- package/dist/components/ConfigureSSO/elements/Step.js +143 -0
- package/dist/components/ConfigureSSO/elements/Step.js.map +1 -0
- package/dist/components/ConfigureSSO/elements/Stepper/Stepper.js +133 -0
- package/dist/components/ConfigureSSO/elements/Stepper/Stepper.js.map +1 -0
- package/dist/components/ConfigureSSO/elements/Wizard/Wizard.js +145 -0
- package/dist/components/ConfigureSSO/elements/Wizard/Wizard.js.map +1 -0
- package/dist/components/ConfigureSSO/elements/Wizard/WizardContext.js +14 -0
- package/dist/components/ConfigureSSO/elements/Wizard/WizardContext.js.map +1 -0
- package/dist/components/ConfigureSSO/steps/ConfigureStep.js +36 -0
- package/dist/components/ConfigureSSO/steps/ConfigureStep.js.map +1 -0
- package/dist/components/ConfigureSSO/steps/ConfirmationStep.js +18 -3
- package/dist/components/ConfigureSSO/steps/ConfirmationStep.js.map +1 -1
- package/dist/components/ConfigureSSO/steps/SelectProviderStep.js +36 -0
- package/dist/components/ConfigureSSO/steps/SelectProviderStep.js.map +1 -0
- package/dist/components/ConfigureSSO/steps/TestConfigurationStep.js +29 -6
- package/dist/components/ConfigureSSO/steps/TestConfigurationStep.js.map +1 -1
- package/dist/components/ConfigureSSO/steps/VerifyDomainStep.js +59 -12
- package/dist/components/ConfigureSSO/steps/VerifyDomainStep.js.map +1 -1
- package/dist/components/OrganizationProfile/index.js +1 -1
- package/dist/components/UserProfile/index.js +1 -1
- package/dist/configureSSO_ui_278f40_1.9.2-canary.v20260511154043.js +1 -0
- package/dist/configureSSO_ui_6d7818_1.9.2-canary.v20260511154043.js +1 -0
- package/dist/configureSSO_ui_eae4d1_1.9.2-canary.v20260511154043.js +1 -0
- package/dist/customizables/elementDescriptors.js +11 -9
- package/dist/customizables/elementDescriptors.js.map +1 -1
- package/dist/elements/contexts/index.js.map +1 -1
- package/dist/foundations/defaultFoundations.d.ts +153 -153
- package/dist/index.js +1 -1
- package/dist/internal/appearance.d.ts +11 -9
- package/dist/internal/appearance.d.ts.map +1 -1
- package/dist/lazyModules/components.d.ts +21 -21
- package/dist/no-rhc/ClerkUI.js +2 -2
- package/dist/no-rhc/components/ConfigureSSO/ConfigureSSO.js +43 -121
- package/dist/no-rhc/components/ConfigureSSO/ConfigureSSO.js.map +1 -1
- package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOContext.js +3 -11
- package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOContext.js.map +1 -1
- package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOHeader.js +31 -0
- package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOHeader.js.map +1 -0
- package/dist/no-rhc/components/ConfigureSSO/ConfigureSSONavbar.js +80 -0
- package/dist/no-rhc/components/ConfigureSSO/ConfigureSSONavbar.js.map +1 -0
- package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOSkeleton.js +31 -0
- package/dist/no-rhc/components/ConfigureSSO/ConfigureSSOSkeleton.js.map +1 -0
- package/dist/no-rhc/components/ConfigureSSO/elements/ProfileCard.js +38 -0
- package/dist/no-rhc/components/ConfigureSSO/elements/ProfileCard.js.map +1 -0
- package/dist/no-rhc/components/ConfigureSSO/elements/Step.js +143 -0
- package/dist/no-rhc/components/ConfigureSSO/elements/Step.js.map +1 -0
- package/dist/no-rhc/components/ConfigureSSO/elements/Stepper/Stepper.js +133 -0
- package/dist/no-rhc/components/ConfigureSSO/elements/Stepper/Stepper.js.map +1 -0
- package/dist/no-rhc/components/ConfigureSSO/elements/Wizard/Wizard.js +145 -0
- package/dist/no-rhc/components/ConfigureSSO/elements/Wizard/Wizard.js.map +1 -0
- package/dist/no-rhc/components/ConfigureSSO/elements/Wizard/WizardContext.js +14 -0
- package/dist/no-rhc/components/ConfigureSSO/elements/Wizard/WizardContext.js.map +1 -0
- package/dist/no-rhc/components/ConfigureSSO/steps/ConfigureStep.js +36 -0
- package/dist/no-rhc/components/ConfigureSSO/steps/ConfigureStep.js.map +1 -0
- package/dist/no-rhc/components/ConfigureSSO/steps/ConfirmationStep.js +18 -3
- package/dist/no-rhc/components/ConfigureSSO/steps/ConfirmationStep.js.map +1 -1
- package/dist/no-rhc/components/ConfigureSSO/steps/SelectProviderStep.js +36 -0
- package/dist/no-rhc/components/ConfigureSSO/steps/SelectProviderStep.js.map +1 -0
- package/dist/no-rhc/components/ConfigureSSO/steps/TestConfigurationStep.js +29 -6
- package/dist/no-rhc/components/ConfigureSSO/steps/TestConfigurationStep.js.map +1 -1
- package/dist/no-rhc/components/ConfigureSSO/steps/VerifyDomainStep.js +59 -12
- package/dist/no-rhc/components/ConfigureSSO/steps/VerifyDomainStep.js.map +1 -1
- package/dist/no-rhc/components/OrganizationProfile/index.js +1 -1
- package/dist/no-rhc/components/UserProfile/index.js +1 -1
- package/dist/no-rhc/customizables/elementDescriptors.js +11 -9
- package/dist/no-rhc/customizables/elementDescriptors.js.map +1 -1
- package/dist/no-rhc/elements/contexts/index.js.map +1 -1
- package/dist/no-rhc/index.js +1 -1
- package/dist/server.js +1 -1
- package/dist/ui-common_ui_278f40_1.9.2-canary.v20260511154043.js +1 -0
- package/dist/{ui-common_ui_927cdf_1.9.1.js → ui-common_ui_6d7818_1.9.2-canary.v20260511154043.js} +4 -4
- package/dist/{ui-common_ui_d04ba4_1.9.1.js → ui-common_ui_eae4d1_1.9.2-canary.v20260511154043.js} +4 -4
- package/dist/ui.browser.js +2 -2
- package/dist/ui.legacy.browser.js +1 -1
- package/dist/ui.shared.browser.js +3 -3
- package/package.json +3 -3
- package/dist/components/ConfigureSSO/steps/ConfigureCreateAppStep.js +0 -23
- package/dist/components/ConfigureSSO/steps/ConfigureCreateAppStep.js.map +0 -1
- package/dist/components/ConfigureSSO/steps/ProvideEmailStep.js +0 -28
- package/dist/components/ConfigureSSO/steps/ProvideEmailStep.js.map +0 -1
- package/dist/components/ConfigureSSO/steps/StepLayout.js +0 -59
- package/dist/components/ConfigureSSO/steps/StepLayout.js.map +0 -1
- package/dist/components/ConfigureSSO/wizard/ConfigureSSOWizard.js +0 -363
- package/dist/components/ConfigureSSO/wizard/ConfigureSSOWizard.js.map +0 -1
- package/dist/components/ConfigureSSO/wizard/ConfigureSSOWizardContext.js +0 -111
- package/dist/components/ConfigureSSO/wizard/ConfigureSSOWizardContext.js.map +0 -1
- package/dist/configureSSO_ui_7a9369_1.9.1.js +0 -1
- package/dist/configureSSO_ui_927cdf_1.9.1.js +0 -1
- package/dist/configureSSO_ui_d04ba4_1.9.1.js +0 -1
- package/dist/no-rhc/components/ConfigureSSO/steps/ConfigureCreateAppStep.js +0 -23
- package/dist/no-rhc/components/ConfigureSSO/steps/ConfigureCreateAppStep.js.map +0 -1
- package/dist/no-rhc/components/ConfigureSSO/steps/ProvideEmailStep.js +0 -28
- package/dist/no-rhc/components/ConfigureSSO/steps/ProvideEmailStep.js.map +0 -1
- package/dist/no-rhc/components/ConfigureSSO/steps/StepLayout.js +0 -59
- package/dist/no-rhc/components/ConfigureSSO/steps/StepLayout.js.map +0 -1
- package/dist/no-rhc/components/ConfigureSSO/wizard/ConfigureSSOWizard.js +0 -363
- package/dist/no-rhc/components/ConfigureSSO/wizard/ConfigureSSOWizard.js.map +0 -1
- package/dist/no-rhc/components/ConfigureSSO/wizard/ConfigureSSOWizardContext.js +0 -111
- package/dist/no-rhc/components/ConfigureSSO/wizard/ConfigureSSOWizardContext.js.map +0 -1
- package/dist/ui-common_ui_7a9369_1.9.1.js +0 -1
- /package/dist/{295_ui_7a9369_1.9.1.js → 295_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{295_ui_927cdf_1.9.1.js → 295_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{295_ui_d04ba4_1.9.1.js → 295_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{37_ui_7a9369_1.9.1.js → 37_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{37_ui_927cdf_1.9.1.js → 37_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{37_ui_d04ba4_1.9.1.js → 37_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{606_ui_7a9369_1.9.1.js → 606_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{606_ui_927cdf_1.9.1.js → 606_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{606_ui_d04ba4_1.9.1.js → 606_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{718_ui_7a9369_1.9.1.js → 718_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{718_ui_927cdf_1.9.1.js → 718_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{718_ui_d04ba4_1.9.1.js → 718_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{746_ui_7a9369_1.9.1.js → 746_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{746_ui_927cdf_1.9.1.js → 746_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{746_ui_d04ba4_1.9.1.js → 746_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{76_ui_7a9369_1.9.1.js → 76_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{76_ui_927cdf_1.9.1.js → 76_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{76_ui_d04ba4_1.9.1.js → 76_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{829_ui_7a9369_1.9.1.js → 829_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{829_ui_927cdf_1.9.1.js → 829_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{829_ui_d04ba4_1.9.1.js → 829_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{apiKeys_ui_7a9369_1.9.1.js → apiKeys_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{apiKeys_ui_927cdf_1.9.1.js → apiKeys_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{apiKeys_ui_d04ba4_1.9.1.js → apiKeys_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{blankcaptcha_ui_7a9369_1.9.1.js → blankcaptcha_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{blankcaptcha_ui_927cdf_1.9.1.js → blankcaptcha_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{blankcaptcha_ui_d04ba4_1.9.1.js → blankcaptcha_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{checkout_ui_7a9369_1.9.1.js → checkout_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{checkout_ui_927cdf_1.9.1.js → checkout_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{checkout_ui_d04ba4_1.9.1.js → checkout_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /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
- /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
- /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
- /package/dist/{createorganization_ui_7a9369_1.9.1.js → createorganization_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{createorganization_ui_927cdf_1.9.1.js → createorganization_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{createorganization_ui_d04ba4_1.9.1.js → createorganization_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_7a9369_1.9.1.js → enableOrganizationsPrompt_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_927cdf_1.9.1.js → enableOrganizationsPrompt_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_d04ba4_1.9.1.js → enableOrganizationsPrompt_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{framework_ui_7a9369_1.9.1.js → framework_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{framework_ui_d04ba4_1.9.1.js → framework_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{impersonationfab_ui_7a9369_1.9.1.js → impersonationfab_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{impersonationfab_ui_927cdf_1.9.1.js → impersonationfab_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{impersonationfab_ui_d04ba4_1.9.1.js → impersonationfab_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{keylessPrompt_ui_7a9369_1.9.1.js → keylessPrompt_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{keylessPrompt_ui_927cdf_1.9.1.js → keylessPrompt_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{keylessPrompt_ui_d04ba4_1.9.1.js → keylessPrompt_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{oauthConsent_ui_7a9369_1.9.1.js → oauthConsent_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{oauthConsent_ui_927cdf_1.9.1.js → oauthConsent_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{oauthConsent_ui_d04ba4_1.9.1.js → oauthConsent_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{onetap_ui_7a9369_1.9.1.js → onetap_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{onetap_ui_927cdf_1.9.1.js → onetap_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{onetap_ui_d04ba4_1.9.1.js → onetap_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /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
- /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
- /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
- /package/dist/{op-billing-page_ui_7a9369_1.9.1.js → op-billing-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{op-billing-page_ui_927cdf_1.9.1.js → op-billing-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{op-billing-page_ui_d04ba4_1.9.1.js → op-billing-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{op-plans-page_ui_7a9369_1.9.1.js → op-plans-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{op-plans-page_ui_927cdf_1.9.1.js → op-plans-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{op-plans-page_ui_d04ba4_1.9.1.js → op-plans-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{organizationlist_ui_7a9369_1.9.1.js → organizationlist_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{organizationlist_ui_927cdf_1.9.1.js → organizationlist_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{organizationlist_ui_d04ba4_1.9.1.js → organizationlist_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{organizationprofile_ui_7a9369_1.9.1.js → organizationprofile_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{organizationprofile_ui_927cdf_1.9.1.js → organizationprofile_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{organizationprofile_ui_d04ba4_1.9.1.js → organizationprofile_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{organizationswitcher_ui_7a9369_1.9.1.js → organizationswitcher_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{organizationswitcher_ui_927cdf_1.9.1.js → organizationswitcher_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{organizationswitcher_ui_d04ba4_1.9.1.js → organizationswitcher_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{payment-attempt-page_ui_7a9369_1.9.1.js → payment-attempt-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{payment-attempt-page_ui_927cdf_1.9.1.js → payment-attempt-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{payment-attempt-page_ui_d04ba4_1.9.1.js → payment-attempt-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{planDetails_ui_7a9369_1.9.1.js → planDetails_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{planDetails_ui_927cdf_1.9.1.js → planDetails_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{planDetails_ui_d04ba4_1.9.1.js → planDetails_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_7a9369_1.9.1.js → prefetchorganizationlist_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_927cdf_1.9.1.js → prefetchorganizationlist_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_d04ba4_1.9.1.js → prefetchorganizationlist_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{pricingTable_ui_7a9369_1.9.1.js → pricingTable_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{pricingTable_ui_927cdf_1.9.1.js → pricingTable_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{pricingTable_ui_d04ba4_1.9.1.js → pricingTable_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /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
- /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
- /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
- /package/dist/{sessionTasks_ui_7a9369_1.9.1.js → sessionTasks_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{sessionTasks_ui_927cdf_1.9.1.js → sessionTasks_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{sessionTasks_ui_d04ba4_1.9.1.js → sessionTasks_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{signin_ui_7a9369_1.9.1.js → signin_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{signin_ui_927cdf_1.9.1.js → signin_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{signin_ui_d04ba4_1.9.1.js → signin_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{signup_ui_7a9369_1.9.1.js → signup_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{signup_ui_927cdf_1.9.1.js → signup_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{signup_ui_d04ba4_1.9.1.js → signup_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{statement-page_ui_7a9369_1.9.1.js → statement-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{statement-page_ui_927cdf_1.9.1.js → statement-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{statement-page_ui_d04ba4_1.9.1.js → statement-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{subscriptionDetails_ui_7a9369_1.9.1.js → subscriptionDetails_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{subscriptionDetails_ui_927cdf_1.9.1.js → subscriptionDetails_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{subscriptionDetails_ui_d04ba4_1.9.1.js → subscriptionDetails_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_7a9369_1.9.1.js → taskChooseOrganization_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_927cdf_1.9.1.js → taskChooseOrganization_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_d04ba4_1.9.1.js → taskChooseOrganization_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{taskResetPassword_ui_7a9369_1.9.1.js → taskResetPassword_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{taskResetPassword_ui_927cdf_1.9.1.js → taskResetPassword_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{taskResetPassword_ui_d04ba4_1.9.1.js → taskResetPassword_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{taskSetupMFA_ui_7a9369_1.9.1.js → taskSetupMFA_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{taskSetupMFA_ui_927cdf_1.9.1.js → taskSetupMFA_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{taskSetupMFA_ui_d04ba4_1.9.1.js → taskSetupMFA_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /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
- /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
- /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
- /package/dist/{up-billing-page_ui_7a9369_1.9.1.js → up-billing-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{up-billing-page_ui_927cdf_1.9.1.js → up-billing-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{up-billing-page_ui_d04ba4_1.9.1.js → up-billing-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{up-plans-page_ui_7a9369_1.9.1.js → up-plans-page_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{up-plans-page_ui_927cdf_1.9.1.js → up-plans-page_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{up-plans-page_ui_d04ba4_1.9.1.js → up-plans-page_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{useravatar_ui_7a9369_1.9.1.js → useravatar_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{useravatar_ui_927cdf_1.9.1.js → useravatar_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{useravatar_ui_d04ba4_1.9.1.js → useravatar_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{userbutton_ui_7a9369_1.9.1.js → userbutton_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{userbutton_ui_927cdf_1.9.1.js → userbutton_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{userbutton_ui_d04ba4_1.9.1.js → userbutton_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{userprofile_ui_7a9369_1.9.1.js → userprofile_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{userprofile_ui_927cdf_1.9.1.js → userprofile_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{userprofile_ui_d04ba4_1.9.1.js → userprofile_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{userverification_ui_7a9369_1.9.1.js → userverification_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{userverification_ui_927cdf_1.9.1.js → userverification_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{userverification_ui_d04ba4_1.9.1.js → userverification_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{vendors_ui_7a9369_1.9.1.js → vendors_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{vendors_ui_927cdf_1.9.1.js → vendors_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{vendors_ui_d04ba4_1.9.1.js → vendors_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{waitlist_ui_7a9369_1.9.1.js → waitlist_ui_278f40_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{waitlist_ui_927cdf_1.9.1.js → waitlist_ui_6d7818_1.9.2-canary.v20260511154043.js} +0 -0
- /package/dist/{waitlist_ui_d04ba4_1.9.1.js → waitlist_ui_eae4d1_1.9.2-canary.v20260511154043.js} +0 -0
- /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
- /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
- /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.
|
|
27
|
-
version = "1.9.
|
|
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 {
|
|
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 {
|
|
17
|
-
import {
|
|
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 {
|
|
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
|
|
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__ */
|
|
39
|
+
children: /* @__PURE__ */ jsx(ConfigureSSONavbar, {
|
|
49
40
|
contentRef,
|
|
50
|
-
children:
|
|
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(
|
|
113
|
-
|
|
114
|
-
isLoading: isLoadingEnterpriseConnections,
|
|
115
|
-
children: /* @__PURE__ */ jsx(ConfigureSSOSteps, {})
|
|
116
|
-
})
|
|
117
|
-
})]
|
|
55
|
+
children: /* @__PURE__ */ jsx(ConfigureSSOCardContent, {})
|
|
56
|
+
})
|
|
118
57
|
})
|
|
119
58
|
});
|
|
120
59
|
});
|
|
121
|
-
const
|
|
122
|
-
const {
|
|
123
|
-
const
|
|
124
|
-
return /* @__PURE__ */
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
id: "
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
-
|
|
74
|
+
label: "Verify domain",
|
|
136
75
|
children: /* @__PURE__ */ jsx(VerifyDomainStep, {})
|
|
137
|
-
})
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
id: "
|
|
145
|
-
|
|
146
|
-
children: /* @__PURE__ */ jsx(
|
|
147
|
-
})
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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":["
|
|
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,
|
|
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
|
|
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\
|
|
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"}
|