@thunderid/vue 0.0.1
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/LICENSE +201 -0
- package/dist/ThunderIDVueClient.d.ts +65 -0
- package/dist/ThunderIDVueClient.d.ts.map +1 -0
- package/dist/__temp__/api.d.ts +64 -0
- package/dist/__temp__/api.d.ts.map +1 -0
- package/dist/__temp__/models.d.ts +44 -0
- package/dist/__temp__/models.d.ts.map +1 -0
- package/dist/api/getAllOrganizations.d.ts +25 -0
- package/dist/api/getAllOrganizations.d.ts.map +1 -0
- package/dist/api/getMeOrganizations.d.ts +25 -0
- package/dist/api/getMeOrganizations.d.ts.map +1 -0
- package/dist/api/getSchemas.d.ts +25 -0
- package/dist/api/getSchemas.d.ts.map +1 -0
- package/dist/api/getScim2Me.d.ts +25 -0
- package/dist/api/getScim2Me.d.ts.map +1 -0
- package/dist/api/updateMeProfile.d.ts +25 -0
- package/dist/api/updateMeProfile.d.ts.map +1 -0
- package/dist/cjs/index.cjs +13392 -0
- package/dist/components/actions/BaseSignInButton.d.ts +35 -0
- package/dist/components/actions/BaseSignInButton.d.ts.map +1 -0
- package/dist/components/actions/BaseSignOutButton.d.ts +35 -0
- package/dist/components/actions/BaseSignOutButton.d.ts.map +1 -0
- package/dist/components/actions/BaseSignUpButton.d.ts +35 -0
- package/dist/components/actions/BaseSignUpButton.d.ts.map +1 -0
- package/dist/components/actions/SignInButton.d.ts +27 -0
- package/dist/components/actions/SignInButton.d.ts.map +1 -0
- package/dist/components/actions/SignOutButton.d.ts +24 -0
- package/dist/components/actions/SignOutButton.d.ts.map +1 -0
- package/dist/components/actions/SignUpButton.d.ts +27 -0
- package/dist/components/actions/SignUpButton.d.ts.map +1 -0
- package/dist/components/adapters/FacebookButton.d.ts +25 -0
- package/dist/components/adapters/FacebookButton.d.ts.map +1 -0
- package/dist/components/adapters/GitHubButton.d.ts +25 -0
- package/dist/components/adapters/GitHubButton.d.ts.map +1 -0
- package/dist/components/adapters/GoogleButton.d.ts +25 -0
- package/dist/components/adapters/GoogleButton.d.ts.map +1 -0
- package/dist/components/adapters/MicrosoftButton.d.ts +25 -0
- package/dist/components/adapters/MicrosoftButton.d.ts.map +1 -0
- package/dist/components/auth/Callback.d.ts +32 -0
- package/dist/components/auth/Callback.d.ts.map +1 -0
- package/dist/components/auth/sign-in/AuthOptionFactory.d.ts +19 -0
- package/dist/components/auth/sign-in/AuthOptionFactory.d.ts.map +1 -0
- package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts +69 -0
- package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts.map +1 -0
- package/dist/components/auth/sign-in/BaseSignIn.d.ts +28 -0
- package/dist/components/auth/sign-in/BaseSignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-in/SignIn.d.ts +28 -0
- package/dist/components/auth/sign-in/SignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v1/BaseSignIn.d.ts +27 -0
- package/dist/components/auth/sign-in/v1/BaseSignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v1/SignIn.d.ts +27 -0
- package/dist/components/auth/sign-in/v1/SignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v1/options/SignInOptionFactory.d.ts +47 -0
- package/dist/components/auth/sign-in/v1/options/SignInOptionFactory.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v2/AuthOptionFactory.d.ts +19 -0
- package/dist/components/auth/sign-in/v2/AuthOptionFactory.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v2/BaseSignIn.d.ts +83 -0
- package/dist/components/auth/sign-in/v2/BaseSignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v2/SignIn.d.ts +56 -0
- package/dist/components/auth/sign-in/v2/SignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-up/BaseSignUp.d.ts +33 -0
- package/dist/components/auth/sign-up/BaseSignUp.d.ts.map +1 -0
- package/dist/components/auth/sign-up/SignUp.d.ts +29 -0
- package/dist/components/auth/sign-up/SignUp.d.ts.map +1 -0
- package/dist/components/auth/sign-up/v1/BaseSignUp.d.ts +49 -0
- package/dist/components/auth/sign-up/v1/BaseSignUp.d.ts.map +1 -0
- package/dist/components/auth/sign-up/v1/SignUp.d.ts +31 -0
- package/dist/components/auth/sign-up/v1/SignUp.d.ts.map +1 -0
- package/dist/components/auth/sign-up/v1/options/SignUpOptionFactory.d.ts +50 -0
- package/dist/components/auth/sign-up/v1/options/SignUpOptionFactory.d.ts.map +1 -0
- package/dist/components/auth/sign-up/v2/BaseSignUp.d.ts +73 -0
- package/dist/components/auth/sign-up/v2/BaseSignUp.d.ts.map +1 -0
- package/dist/components/auth/sign-up/v2/SignUp.d.ts +26 -0
- package/dist/components/auth/sign-up/v2/SignUp.d.ts.map +1 -0
- package/dist/components/control/Loading.d.ts +34 -0
- package/dist/components/control/Loading.d.ts.map +1 -0
- package/dist/components/control/SignedIn.d.ts +34 -0
- package/dist/components/control/SignedIn.d.ts.map +1 -0
- package/dist/components/control/SignedOut.d.ts +34 -0
- package/dist/components/control/SignedOut.d.ts.map +1 -0
- package/dist/components/factories/FieldFactory.d.ts +52 -0
- package/dist/components/factories/FieldFactory.d.ts.map +1 -0
- package/dist/components/presentation/accept-invite/AcceptInvite.d.ts +29 -0
- package/dist/components/presentation/accept-invite/AcceptInvite.d.ts.map +1 -0
- package/dist/components/presentation/accept-invite/BaseAcceptInvite.d.ts +83 -0
- package/dist/components/presentation/accept-invite/BaseAcceptInvite.d.ts.map +1 -0
- package/dist/components/presentation/create-organization/BaseCreateOrganization.d.ts +26 -0
- package/dist/components/presentation/create-organization/BaseCreateOrganization.d.ts.map +1 -0
- package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts +35 -0
- package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts.map +1 -0
- package/dist/components/presentation/create-organization/CreateOrganization.d.ts +26 -0
- package/dist/components/presentation/create-organization/CreateOrganization.d.ts.map +1 -0
- package/dist/components/presentation/invite-user/BaseInviteUser.d.ts +81 -0
- package/dist/components/presentation/invite-user/BaseInviteUser.d.ts.map +1 -0
- package/dist/components/presentation/invite-user/InviteUser.d.ts +26 -0
- package/dist/components/presentation/invite-user/InviteUser.d.ts.map +1 -0
- package/dist/components/presentation/language-switcher/BaseLanguageSwitcher.d.ts +26 -0
- package/dist/components/presentation/language-switcher/BaseLanguageSwitcher.d.ts.map +1 -0
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts +37 -0
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts.map +1 -0
- package/dist/components/presentation/language-switcher/LanguageSwitcher.d.ts +26 -0
- package/dist/components/presentation/language-switcher/LanguageSwitcher.d.ts.map +1 -0
- package/dist/components/presentation/organization/Organization.d.ts +39 -0
- package/dist/components/presentation/organization/Organization.d.ts.map +1 -0
- package/dist/components/presentation/organization-list/BaseOrganizationList.d.ts +24 -0
- package/dist/components/presentation/organization-list/BaseOrganizationList.d.ts.map +1 -0
- package/dist/components/presentation/organization-list/OrganizationList.css.d.ts +33 -0
- package/dist/components/presentation/organization-list/OrganizationList.css.d.ts.map +1 -0
- package/dist/components/presentation/organization-list/OrganizationList.d.ts +26 -0
- package/dist/components/presentation/organization-list/OrganizationList.d.ts.map +1 -0
- package/dist/components/presentation/organization-profile/BaseOrganizationProfile.d.ts +27 -0
- package/dist/components/presentation/organization-profile/BaseOrganizationProfile.d.ts.map +1 -0
- package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts +25 -0
- package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts.map +1 -0
- package/dist/components/presentation/organization-profile/OrganizationProfile.d.ts +26 -0
- package/dist/components/presentation/organization-profile/OrganizationProfile.d.ts.map +1 -0
- package/dist/components/presentation/organization-switcher/BaseOrganizationSwitcher.d.ts +26 -0
- package/dist/components/presentation/organization-switcher/BaseOrganizationSwitcher.d.ts.map +1 -0
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts +40 -0
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts.map +1 -0
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.d.ts +26 -0
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.d.ts.map +1 -0
- package/dist/components/presentation/user/User.d.ts +39 -0
- package/dist/components/presentation/user/User.d.ts.map +1 -0
- package/dist/components/presentation/user-dropdown/BaseUserDropdown.d.ts +59 -0
- package/dist/components/presentation/user-dropdown/BaseUserDropdown.d.ts.map +1 -0
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts +46 -0
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts.map +1 -0
- package/dist/components/presentation/user-dropdown/UserDropdown.d.ts +44 -0
- package/dist/components/presentation/user-dropdown/UserDropdown.d.ts.map +1 -0
- package/dist/components/presentation/user-profile/BaseUserProfile.d.ts +40 -0
- package/dist/components/presentation/user-profile/BaseUserProfile.d.ts.map +1 -0
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts +34 -0
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts.map +1 -0
- package/dist/components/presentation/user-profile/UserProfile.d.ts +21 -0
- package/dist/components/presentation/user-profile/UserProfile.d.ts.map +1 -0
- package/dist/components/primitives/Alert/Alert.css.d.ts +31 -0
- package/dist/components/primitives/Alert/Alert.css.d.ts.map +1 -0
- package/dist/components/primitives/Alert/Alert.d.ts +21 -0
- package/dist/components/primitives/Alert/Alert.d.ts.map +1 -0
- package/dist/components/primitives/Alert/index.d.ts +19 -0
- package/dist/components/primitives/Alert/index.d.ts.map +1 -0
- package/dist/components/primitives/Button/Button.css.d.ts +37 -0
- package/dist/components/primitives/Button/Button.css.d.ts.map +1 -0
- package/dist/components/primitives/Button/Button.d.ts +21 -0
- package/dist/components/primitives/Button/Button.d.ts.map +1 -0
- package/dist/components/primitives/Button/index.d.ts +19 -0
- package/dist/components/primitives/Button/index.d.ts.map +1 -0
- package/dist/components/primitives/Card/Card.css.d.ts +30 -0
- package/dist/components/primitives/Card/Card.css.d.ts.map +1 -0
- package/dist/components/primitives/Card/Card.d.ts +21 -0
- package/dist/components/primitives/Card/Card.d.ts.map +1 -0
- package/dist/components/primitives/Card/index.d.ts +19 -0
- package/dist/components/primitives/Card/index.d.ts.map +1 -0
- package/dist/components/primitives/Checkbox/Checkbox.css.d.ts +31 -0
- package/dist/components/primitives/Checkbox/Checkbox.css.d.ts.map +1 -0
- package/dist/components/primitives/Checkbox/Checkbox.d.ts +21 -0
- package/dist/components/primitives/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/primitives/Checkbox/index.d.ts +19 -0
- package/dist/components/primitives/Checkbox/index.d.ts.map +1 -0
- package/dist/components/primitives/DatePicker/DatePicker.css.d.ts +31 -0
- package/dist/components/primitives/DatePicker/DatePicker.css.d.ts.map +1 -0
- package/dist/components/primitives/DatePicker/DatePicker.d.ts +21 -0
- package/dist/components/primitives/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/primitives/DatePicker/index.d.ts +19 -0
- package/dist/components/primitives/DatePicker/index.d.ts.map +1 -0
- package/dist/components/primitives/Divider/Divider.css.d.ts +33 -0
- package/dist/components/primitives/Divider/Divider.css.d.ts.map +1 -0
- package/dist/components/primitives/Divider/Divider.d.ts +21 -0
- package/dist/components/primitives/Divider/Divider.d.ts.map +1 -0
- package/dist/components/primitives/Divider/index.d.ts +19 -0
- package/dist/components/primitives/Divider/index.d.ts.map +1 -0
- package/dist/components/primitives/Icons.d.ts +35 -0
- package/dist/components/primitives/Icons.d.ts.map +1 -0
- package/dist/components/primitives/Logo/Logo.css.d.ts +28 -0
- package/dist/components/primitives/Logo/Logo.css.d.ts.map +1 -0
- package/dist/components/primitives/Logo/Logo.d.ts +21 -0
- package/dist/components/primitives/Logo/Logo.d.ts.map +1 -0
- package/dist/components/primitives/Logo/index.d.ts +19 -0
- package/dist/components/primitives/Logo/index.d.ts.map +1 -0
- package/dist/components/primitives/OtpField/OtpField.css.d.ts +28 -0
- package/dist/components/primitives/OtpField/OtpField.css.d.ts.map +1 -0
- package/dist/components/primitives/OtpField/OtpField.d.ts +21 -0
- package/dist/components/primitives/OtpField/OtpField.d.ts.map +1 -0
- package/dist/components/primitives/OtpField/index.d.ts +19 -0
- package/dist/components/primitives/OtpField/index.d.ts.map +1 -0
- package/dist/components/primitives/PasswordField/PasswordField.css.d.ts +31 -0
- package/dist/components/primitives/PasswordField/PasswordField.css.d.ts.map +1 -0
- package/dist/components/primitives/PasswordField/PasswordField.d.ts +21 -0
- package/dist/components/primitives/PasswordField/PasswordField.d.ts.map +1 -0
- package/dist/components/primitives/PasswordField/index.d.ts +19 -0
- package/dist/components/primitives/PasswordField/index.d.ts.map +1 -0
- package/dist/components/primitives/Select/Select.css.d.ts +31 -0
- package/dist/components/primitives/Select/Select.css.d.ts.map +1 -0
- package/dist/components/primitives/Select/Select.d.ts +26 -0
- package/dist/components/primitives/Select/Select.d.ts.map +1 -0
- package/dist/components/primitives/Select/index.d.ts +19 -0
- package/dist/components/primitives/Select/index.d.ts.map +1 -0
- package/dist/components/primitives/Spinner/Spinner.css.d.ts +34 -0
- package/dist/components/primitives/Spinner/Spinner.css.d.ts.map +1 -0
- package/dist/components/primitives/Spinner/Spinner.d.ts +21 -0
- package/dist/components/primitives/Spinner/Spinner.d.ts.map +1 -0
- package/dist/components/primitives/Spinner/index.d.ts +19 -0
- package/dist/components/primitives/Spinner/index.d.ts.map +1 -0
- package/dist/components/primitives/TextField/TextField.css.d.ts +31 -0
- package/dist/components/primitives/TextField/TextField.css.d.ts.map +1 -0
- package/dist/components/primitives/TextField/TextField.d.ts +21 -0
- package/dist/components/primitives/TextField/TextField.d.ts.map +1 -0
- package/dist/components/primitives/TextField/index.d.ts +19 -0
- package/dist/components/primitives/TextField/index.d.ts.map +1 -0
- package/dist/components/primitives/Typography/Typography.css.d.ts +31 -0
- package/dist/components/primitives/Typography/Typography.css.d.ts.map +1 -0
- package/dist/components/primitives/Typography/Typography.d.ts +21 -0
- package/dist/components/primitives/Typography/Typography.d.ts.map +1 -0
- package/dist/components/primitives/Typography/index.d.ts +19 -0
- package/dist/components/primitives/Typography/index.d.ts.map +1 -0
- package/dist/composables/useBranding.d.ts +44 -0
- package/dist/composables/useBranding.d.ts.map +1 -0
- package/dist/composables/useFlow.d.ts +46 -0
- package/dist/composables/useFlow.d.ts.map +1 -0
- package/dist/composables/useFlowMeta.d.ts +42 -0
- package/dist/composables/useFlowMeta.d.ts.map +1 -0
- package/dist/composables/useI18n.d.ts +46 -0
- package/dist/composables/useI18n.d.ts.map +1 -0
- package/dist/composables/useOAuthCallback.d.ts +66 -0
- package/dist/composables/useOAuthCallback.d.ts.map +1 -0
- package/dist/composables/useOrganization.d.ts +42 -0
- package/dist/composables/useOrganization.d.ts.map +1 -0
- package/dist/composables/useTheme.d.ts +44 -0
- package/dist/composables/useTheme.d.ts.map +1 -0
- package/dist/composables/useThunderID.d.ts +49 -0
- package/dist/composables/useThunderID.d.ts.map +1 -0
- package/dist/composables/useUser.d.ts +45 -0
- package/dist/composables/useUser.d.ts.map +1 -0
- package/dist/composables/v2/useOAuthCallback.d.ts +70 -0
- package/dist/composables/v2/useOAuthCallback.d.ts.map +1 -0
- package/dist/index.d.ts +124 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13168 -0
- package/dist/keys.d.ts +52 -0
- package/dist/keys.d.ts.map +1 -0
- package/dist/models/config.d.ts +20 -0
- package/dist/models/config.d.ts.map +1 -0
- package/dist/models/contexts.d.ts +246 -0
- package/dist/models/contexts.d.ts.map +1 -0
- package/dist/plugins/ThunderIDPlugin.d.ts +72 -0
- package/dist/plugins/ThunderIDPlugin.d.ts.map +1 -0
- package/dist/providers/BrandingProvider.d.ts +30 -0
- package/dist/providers/BrandingProvider.d.ts.map +1 -0
- package/dist/providers/FlowMetaProvider.d.ts +21 -0
- package/dist/providers/FlowMetaProvider.d.ts.map +1 -0
- package/dist/providers/FlowProvider.d.ts +21 -0
- package/dist/providers/FlowProvider.d.ts.map +1 -0
- package/dist/providers/I18nProvider.d.ts +21 -0
- package/dist/providers/I18nProvider.d.ts.map +1 -0
- package/dist/providers/OrganizationProvider.d.ts +21 -0
- package/dist/providers/OrganizationProvider.d.ts.map +1 -0
- package/dist/providers/ThemeProvider.d.ts +21 -0
- package/dist/providers/ThemeProvider.d.ts.map +1 -0
- package/dist/providers/ThunderIDProvider.d.ts +36 -0
- package/dist/providers/ThunderIDProvider.d.ts.map +1 -0
- package/dist/providers/UserProvider.d.ts +21 -0
- package/dist/providers/UserProvider.d.ts.map +1 -0
- package/dist/router/callbackRoute.d.ts +88 -0
- package/dist/router/callbackRoute.d.ts.map +1 -0
- package/dist/router/guard.d.ts +97 -0
- package/dist/router/guard.d.ts.map +1 -0
- package/dist/styles/animations.css.d.ts +29 -0
- package/dist/styles/animations.css.d.ts.map +1 -0
- package/dist/styles/defaults.css.d.ts +32 -0
- package/dist/styles/defaults.css.d.ts.map +1 -0
- package/dist/styles/injectStyles.d.ts +24 -0
- package/dist/styles/injectStyles.d.ts.map +1 -0
- package/dist/theme/getActiveTheme.d.ts +29 -0
- package/dist/theme/getActiveTheme.d.ts.map +1 -0
- package/dist/theme/themeDetection.d.ts +31 -0
- package/dist/theme/themeDetection.d.ts.map +1 -0
- package/dist/utils/getDisplayName.d.ts +21 -0
- package/dist/utils/getDisplayName.d.ts.map +1 -0
- package/dist/utils/getMappedUserProfileValue.d.ts +21 -0
- package/dist/utils/getMappedUserProfileValue.d.ts.map +1 -0
- package/dist/utils/handleWebAuthnAuthentication.d.ts +28 -0
- package/dist/utils/handleWebAuthnAuthentication.d.ts.map +1 -0
- package/dist/utils/hasAuthParamsInUrl.d.ts +27 -0
- package/dist/utils/hasAuthParamsInUrl.d.ts.map +1 -0
- package/dist/utils/http.d.ts +27 -0
- package/dist/utils/http.d.ts.map +1 -0
- package/dist/utils/logger.d.ts +31 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/navigate.d.ts +28 -0
- package/dist/utils/navigate.d.ts.map +1 -0
- package/dist/utils/oauth.d.ts +25 -0
- package/dist/utils/oauth.d.ts.map +1 -0
- package/dist/utils/v2/buildThemeConfigFromFlowMeta.d.ts +29 -0
- package/dist/utils/v2/buildThemeConfigFromFlowMeta.d.ts.map +1 -0
- package/dist/utils/v2/flowTransformer.d.ts +97 -0
- package/dist/utils/v2/flowTransformer.d.ts.map +1 -0
- package/dist/utils/v2/getAuthComponentHeadings.d.ts +41 -0
- package/dist/utils/v2/getAuthComponentHeadings.d.ts.map +1 -0
- package/dist/utils/v2/passkey.d.ts +32 -0
- package/dist/utils/v2/passkey.d.ts.map +1 -0
- package/dist/utils/v2/resolveTranslationsInArray.d.ts +30 -0
- package/dist/utils/v2/resolveTranslationsInArray.d.ts.map +1 -0
- package/dist/utils/v2/resolveTranslationsInObject.d.ts +30 -0
- package/dist/utils/v2/resolveTranslationsInObject.d.ts.map +1 -0
- package/package.json +76 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Styles for the OrganizationList presentation component.
|
|
20
|
+
*
|
|
21
|
+
* BEM block: `.thunder-organization-list`
|
|
22
|
+
*
|
|
23
|
+
* The root element is a plain `div`. There is no Card wrapper here,
|
|
24
|
+
* so this file provides the full layout including border and spacing.
|
|
25
|
+
*
|
|
26
|
+
* Elements:
|
|
27
|
+
* __loading – loading state container (centred Spinner)
|
|
28
|
+
* __empty – empty state message (Typography body2)
|
|
29
|
+
* __item – each selectable organization row button
|
|
30
|
+
*/
|
|
31
|
+
declare const ORGANIZATION_LIST_CSS = "\n/* ============================================================\n OrganizationList\n ============================================================ */\n\n.thunder-organization-list {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n font-family: var(--thunder-typography-fontFamily);\n}\n\n/* Loading / Empty ------------------------------------------- */\n\n.thunder-organization-list__loading,\n.thunder-organization-list__empty {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: calc(var(--thunder-spacing-unit) * 3);\n color: var(--thunder-color-text-secondary);\n}\n\n/* Items ----------------------------------------------------- */\n\n.thunder-organization-list__item {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 1.25);\n width: 100%;\n padding: calc(var(--thunder-spacing-unit) * 1.25) calc(var(--thunder-spacing-unit) * 1.5);\n background: var(--thunder-color-background-surface);\n border: 1px solid var(--thunder-color-border);\n border-radius: var(--thunder-border-radius-small);\n cursor: pointer;\n text-align: left;\n font-family: var(--thunder-typography-fontFamily);\n font-size: var(--thunder-typography-fontSize-md);\n color: var(--thunder-color-text-primary);\n transition:\n background-color var(--thunder-transition-fast),\n border-color var(--thunder-transition-fast),\n box-shadow var(--thunder-transition-fast);\n box-sizing: border-box;\n}\n\n.thunder-organization-list__item:hover {\n background-color: var(--thunder-color-primary-light);\n border-color: var(--thunder-color-primary-main);\n}\n\n.thunder-organization-list__item:focus-visible {\n outline: none;\n box-shadow: 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n}\n";
|
|
32
|
+
export default ORGANIZATION_LIST_CSS;
|
|
33
|
+
//# sourceMappingURL=OrganizationList.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationList.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-list/OrganizationList.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,qBAAqB,2yDAuD1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* OrganizationList — styled organization list component.
|
|
21
|
+
*
|
|
22
|
+
* Retrieves organization list from context and delegates to BaseOrganizationList.
|
|
23
|
+
*/
|
|
24
|
+
declare const OrganizationList: Component;
|
|
25
|
+
export default OrganizationList;
|
|
26
|
+
//# sourceMappingURL=OrganizationList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationList.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-list/OrganizationList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAiC,MAAM,KAAK,CAAC;AAInE;;;;GAIG;AACH,QAAA,MAAM,gBAAgB,EAAE,SA8BtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* BaseOrganizationProfile — unstyled organization details view/edit component.
|
|
21
|
+
*
|
|
22
|
+
* Renders a profile card with avatar, org name, handle, and two-column field rows
|
|
23
|
+
* for Organization ID, Name, Description, Created Date, and Last Modified Date.
|
|
24
|
+
*/
|
|
25
|
+
declare const BaseOrganizationProfile: Component;
|
|
26
|
+
export default BaseOrganizationProfile;
|
|
27
|
+
//# sourceMappingURL=BaseOrganizationProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseOrganizationProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-profile/BaseOrganizationProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,EAAC,KAAK,SAAS,EAA+D,MAAM,KAAK,CAAC;AA2CjG;;;;;GAKG;AACH,QAAA,MAAM,uBAAuB,EAAE,SAoV7B,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Styles for the OrganizationProfile presentation component.
|
|
20
|
+
*
|
|
21
|
+
* BEM block: `.thunder-organization-profile`
|
|
22
|
+
*/
|
|
23
|
+
declare const ORGANIZATION_PROFILE_CSS = "\n/* ============================================================\n OrganizationProfile\n ============================================================ */\n\n.thunder-organization-profile {\n display: flex;\n flex-direction: column;\n min-width: 320px;\n padding: 0;\n overflow: hidden;\n}\n\n/* Header: title + divider ------------------------------------ */\n\n.thunder-organization-profile__header {\n padding: calc(var(--thunder-spacing-unit) * 2) calc(var(--thunder-spacing-unit) * 2.5);\n padding-bottom: calc(var(--thunder-spacing-unit) * 1.5);\n}\n\n.thunder-organization-profile__title {\n margin: 0;\n}\n\n.thunder-organization-profile__header-divider {\n margin: 0;\n}\n\n/* Identity: avatar + org name + handle ----------------------- */\n\n.thunder-organization-profile__identity {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: calc(var(--thunder-spacing-unit) * 2) 0 calc(var(--thunder-spacing-unit) * 1.5);\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n}\n\n.thunder-organization-profile__avatar {\n width: var(--thunder-avatar-size);\n height: var(--thunder-avatar-size);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n margin-bottom: calc(var(--thunder-spacing-unit) * 0.375);\n}\n\n.thunder-organization-profile__avatar-initials {\n color: #ffffff;\n font-size: var(--thunder-avatar-fontSize);\n font-weight: 600;\n line-height: 1;\n letter-spacing: 0.02em;\n pointer-events: none;\n user-select: none;\n}\n\n.thunder-organization-profile__org-name {\n margin: 0;\n text-align: center;\n}\n\n.thunder-organization-profile__org-handle {\n color: var(--thunder-color-text-secondary);\n text-align: center;\n}\n\n.thunder-organization-profile__identity-divider {\n margin: 0;\n}\n\n/* Fields ---------------------------------------------------- */\n\n.thunder-organization-profile__fields {\n display: flex;\n flex-direction: column;\n}\n\n.thunder-organization-profile__field {\n display: grid;\n grid-template-columns: 36% 64%;\n align-items: center;\n padding: calc(var(--thunder-spacing-unit) * 1.25) calc(var(--thunder-spacing-unit) * 2.5);\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n box-sizing: border-box;\n transition: background-color var(--thunder-transition-fast);\n}\n\n.thunder-organization-profile__field:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunder-organization-profile__field + .thunder-organization-profile__field {\n border-top: 1px solid var(--thunder-color-border);\n}\n\n.thunder-organization-profile__field-label-col {\n /* label column */\n}\n\n.thunder-organization-profile__field-label {\n color: var(--thunder-color-text-secondary);\n font-size: var(--thunder-typography-fontSize-sm);\n}\n\n.thunder-organization-profile__field-value-col {\n /* value column */\n}\n\n.thunder-organization-profile__field-display {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n min-height: 1.5rem;\n}\n\n.thunder-organization-profile__field-value {\n color: var(--thunder-color-text-primary);\n word-break: break-word;\n flex: 1;\n font-size: var(--thunder-typography-fontSize-sm);\n}\n\n.thunder-organization-profile__field-value--id {\n font-size: calc(var(--thunder-typography-fontSize-sm) * 0.9);\n color: var(--thunder-color-text-secondary);\n font-family: monospace;\n word-break: break-all;\n}\n\n.thunder-organization-profile__field-placeholder {\n color: var(--thunder-color-primary-main);\n font-style: italic;\n font-size: var(--thunder-typography-fontSize-sm);\n flex: 1;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-style: dotted;\n text-underline-offset: 2px;\n}\n\n/* Edit button (pencil icon) --------------------------------- */\n\n.thunder-organization-profile__field-edit-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background: none;\n border: none;\n cursor: pointer;\n color: var(--thunder-color-text-secondary);\n flex-shrink: 0;\n padding: calc(var(--thunder-spacing-unit) * 0.375);\n border-radius: var(--thunder-border-radius-small);\n transition:\n color var(--thunder-transition-fast),\n background-color var(--thunder-transition-fast),\n opacity var(--thunder-transition-fast);\n opacity: 0;\n line-height: 0;\n}\n\n.thunder-organization-profile__field:hover .thunder-organization-profile__field-edit-btn {\n opacity: 1;\n}\n\n.thunder-organization-profile__field-edit-btn:hover {\n color: var(--thunder-color-primary-main);\n background-color: var(--thunder-color-primary-light);\n}\n\n.thunder-organization-profile__field-edit-btn:focus-visible {\n opacity: 1;\n outline: none;\n box-shadow: 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n}\n\n/* Edit mode ------------------------------------------------- */\n\n.thunder-organization-profile__field-edit {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n}\n\n.thunder-organization-profile__field-edit-actions {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n}\n";
|
|
24
|
+
export default ORGANIZATION_PROFILE_CSS;
|
|
25
|
+
//# sourceMappingURL=OrganizationProfile.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationProfile.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-profile/OrganizationProfile.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;GAIG;AACH,QAAA,MAAM,wBAAwB,gpKAiM7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* OrganizationProfile — styled organisation details component.
|
|
21
|
+
*
|
|
22
|
+
* Retrieves current organization from context and delegates to BaseOrganizationProfile.
|
|
23
|
+
*/
|
|
24
|
+
declare const OrganizationProfile: Component;
|
|
25
|
+
export default OrganizationProfile;
|
|
26
|
+
//# sourceMappingURL=OrganizationProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-profile/OrganizationProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAgD,MAAM,KAAK,CAAC;AAIlF;;;;GAIG;AACH,QAAA,MAAM,mBAAmB,EAAE,SAoCzB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* BaseOrganizationSwitcher — unstyled organisation dropdown switcher.
|
|
21
|
+
*
|
|
22
|
+
* Shows the current organization name and a dropdown list to switch.
|
|
23
|
+
*/
|
|
24
|
+
declare const BaseOrganizationSwitcher: Component;
|
|
25
|
+
export default BaseOrganizationSwitcher;
|
|
26
|
+
//# sourceMappingURL=BaseOrganizationSwitcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseOrganizationSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-switcher/BaseOrganizationSwitcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,EAAC,KAAK,SAAS,EAA+D,MAAM,KAAK,CAAC;AAQjG;;;;GAIG;AACH,QAAA,MAAM,wBAAwB,EAAE,SA+F9B,CAAC;AAEH,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Styles for the OrganizationSwitcher presentation component.
|
|
20
|
+
*
|
|
21
|
+
* BEM block: `.thunder-organization-switcher`
|
|
22
|
+
*
|
|
23
|
+
* The root element is a Card (`.thunder-card`), so we override its
|
|
24
|
+
* default padding to let the trigger button fill the surface edge-to-edge,
|
|
25
|
+
* and apply `position: relative` to anchor the absolute dropdown.
|
|
26
|
+
*
|
|
27
|
+
* Modifiers: (none — state is controlled via isOpen in component logic)
|
|
28
|
+
*
|
|
29
|
+
* Elements:
|
|
30
|
+
* __trigger – the clickable trigger button showing current org
|
|
31
|
+
* __trigger-label – the org name Typography inside the trigger
|
|
32
|
+
* __dropdown – the absolute-positioned dropdown listbox
|
|
33
|
+
* __loading – loading state container (Spinner)
|
|
34
|
+
* __empty – empty state message (Typography)
|
|
35
|
+
* __item – each selectable organization row
|
|
36
|
+
* __item--active – currently selected organization
|
|
37
|
+
*/
|
|
38
|
+
declare const ORGANIZATION_SWITCHER_CSS = "\n/* ============================================================\n OrganizationSwitcher\n ============================================================ */\n\n/* Override Card's default padding so the trigger button fills the surface */\n.thunder-organization-switcher.thunder-card {\n padding: 0;\n position: relative;\n display: inline-block;\n min-width: 180px;\n}\n\n/* Trigger ---------------------------------------------------- */\n\n.thunder-organization-switcher__trigger {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n width: 100%;\n padding: var(--thunder-dropdown-itemPaddingY) var(--thunder-dropdown-itemPaddingX);\n background: none;\n border: none;\n cursor: pointer;\n border-radius: var(--thunder-dropdown-borderRadius);\n color: var(--thunder-color-text-primary);\n font-family: var(--thunder-typography-fontFamily);\n font-size: var(--thunder-typography-fontSize-md);\n transition: background-color var(--thunder-transition-fast);\n text-align: left;\n box-sizing: border-box;\n}\n\n.thunder-organization-switcher__trigger:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunder-organization-switcher__trigger:focus-visible {\n outline: none;\n box-shadow: inset 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n border-radius: var(--thunder-dropdown-borderRadius);\n}\n\n.thunder-organization-switcher__trigger-label {\n flex: 1;\n text-align: left;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n/* Dropdown --------------------------------------------------- */\n\n.thunder-organization-switcher__dropdown {\n position: absolute;\n top: calc(100% + calc(var(--thunder-spacing-unit) * 0.5));\n left: 0;\n right: 0;\n z-index: 1000;\n background-color: var(--thunder-color-background-surface);\n border: 1px solid var(--thunder-color-border);\n border-radius: var(--thunder-dropdown-borderRadius);\n box-shadow: var(--thunder-dropdown-shadow);\n overflow: hidden;\n min-width: 160px;\n display: flex;\n flex-direction: column;\n padding: calc(var(--thunder-spacing-unit) * 0.5) 0;\n}\n\n/* Loading / Empty states ------------------------------------ */\n\n.thunder-organization-switcher__loading,\n.thunder-organization-switcher__empty {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: calc(var(--thunder-spacing-unit) * 2);\n color: var(--thunder-color-text-secondary);\n}\n\n/* Items ----------------------------------------------------- */\n\n.thunder-organization-switcher__item {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n width: 100%;\n padding: var(--thunder-dropdown-itemPaddingY) var(--thunder-dropdown-itemPaddingX);\n background: none;\n border: none;\n cursor: pointer;\n text-align: left;\n font-family: var(--thunder-typography-fontFamily);\n font-size: var(--thunder-typography-fontSize-md);\n color: var(--thunder-color-text-primary);\n transition: background-color var(--thunder-transition-fast);\n box-sizing: border-box;\n}\n\n.thunder-organization-switcher__item:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunder-organization-switcher__item--active {\n background-color: var(--thunder-color-action-selected);\n color: var(--thunder-color-primary-main);\n font-weight: var(--thunder-typography-fontWeight-medium);\n}\n\n.thunder-organization-switcher__item--active:hover {\n background-color: var(--thunder-color-action-focus);\n}\n";
|
|
39
|
+
export default ORGANIZATION_SWITCHER_CSS;
|
|
40
|
+
//# sourceMappingURL=OrganizationSwitcher.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationSwitcher.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-switcher/OrganizationSwitcher.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,yBAAyB,k/GAiH9B,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* OrganizationSwitcher — styled organisation switcher component.
|
|
21
|
+
*
|
|
22
|
+
* Retrieves organisations from context and delegates to BaseOrganizationSwitcher.
|
|
23
|
+
*/
|
|
24
|
+
declare const OrganizationSwitcher: Component;
|
|
25
|
+
export default OrganizationSwitcher;
|
|
26
|
+
//# sourceMappingURL=OrganizationSwitcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-switcher/OrganizationSwitcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAiC,MAAM,KAAK,CAAC;AAInE;;;;GAIG;AACH,QAAA,MAAM,oBAAoB,EAAE,SAsB1B,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* User — presentation component that exposes the current user via a scoped slot.
|
|
21
|
+
*
|
|
22
|
+
* Renders the `default` slot with `{ user }` when a user is signed in,
|
|
23
|
+
* or the `fallback` slot when no user is available.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```vue
|
|
27
|
+
* <User>
|
|
28
|
+
* <template #default="{ user }">
|
|
29
|
+
* <p>Welcome, {{ user.given_name }}!</p>
|
|
30
|
+
* </template>
|
|
31
|
+
* <template #fallback>
|
|
32
|
+
* <p>No user signed in.</p>
|
|
33
|
+
* </template>
|
|
34
|
+
* </User>
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
declare const User: Component;
|
|
38
|
+
export default User;
|
|
39
|
+
//# sourceMappingURL=User.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/user/User.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,SAAS,EAA2C,MAAM,KAAK,CAAC;AAG7E;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,IAAI,EAAE,SAeV,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { type User } from '@thunderid/browser';
|
|
19
|
+
import { type Component, type VNode } from 'vue';
|
|
20
|
+
/**
|
|
21
|
+
* A single item in the dropdown menu.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const items: DropdownMenuItem[] = [
|
|
26
|
+
* { label: 'Settings', icon: h(SettingsIcon, { size: 15 }), onClick: () => router.push('/settings') },
|
|
27
|
+
* { label: 'Help', onClick: openHelp, separatorBefore: true },
|
|
28
|
+
* { label: 'Delete account', onClick: deleteAccount, danger: true, separatorBefore: true },
|
|
29
|
+
* ];
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export interface DropdownMenuItem {
|
|
33
|
+
/** Renders with red text and red hover background. Use for destructive actions. */
|
|
34
|
+
danger?: boolean;
|
|
35
|
+
/** Optional icon VNode rendered to the left of the label. */
|
|
36
|
+
icon?: VNode | null;
|
|
37
|
+
/** The visible text label. */
|
|
38
|
+
label: string;
|
|
39
|
+
/** Called when the item is clicked (menu closes first). */
|
|
40
|
+
onClick: () => void;
|
|
41
|
+
/** When `true`, a thin divider is rendered immediately before this item. */
|
|
42
|
+
separatorBefore?: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface BaseUserDropdownProps {
|
|
45
|
+
className?: string;
|
|
46
|
+
isProfileModalOpen?: boolean;
|
|
47
|
+
menuAlign?: 'auto' | 'left' | 'right';
|
|
48
|
+
menuItems?: DropdownMenuItem[];
|
|
49
|
+
onProfileClick?: () => void;
|
|
50
|
+
onProfileModalClose?: () => void;
|
|
51
|
+
onSignOut?: () => void;
|
|
52
|
+
profileContent?: VNode | null;
|
|
53
|
+
showChevron?: boolean;
|
|
54
|
+
size?: 'sm' | 'md' | 'lg';
|
|
55
|
+
user?: User | null;
|
|
56
|
+
}
|
|
57
|
+
declare const BaseUserDropdown: Component;
|
|
58
|
+
export default BaseUserDropdown;
|
|
59
|
+
//# sourceMappingURL=BaseUserDropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseUserDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/user-dropdown/BaseUserDropdown.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,IAAI,EAA2B,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,KAAK,SAAS,EAGd,KAAK,KAAK,EAMX,MAAM,KAAK,CAAC;AAOb;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,gBAAgB;IAC/B,mFAAmF;IACnF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACtC,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB;AAwED,QAAA,MAAM,gBAAgB,EAAE,SAmQtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Styles for the UserDropdown presentation component.
|
|
20
|
+
*
|
|
21
|
+
* BEM block: `.thunder-user-dropdown`
|
|
22
|
+
*
|
|
23
|
+
* Trigger modifiers:
|
|
24
|
+
* __trigger--open – ring + border while menu is visible
|
|
25
|
+
* __avatar--sm / --lg – trigger avatar size variants (default is 32 px)
|
|
26
|
+
*
|
|
27
|
+
* Menu modifiers:
|
|
28
|
+
* __menu--align-left – panel opens to the left of the trigger
|
|
29
|
+
* __menu--size-sm – compact menu (180 px min-width, tighter padding)
|
|
30
|
+
* __menu--size-lg – spacious menu (280 px min-width, more padding)
|
|
31
|
+
*
|
|
32
|
+
* Item modifiers:
|
|
33
|
+
* __item--danger – destructive action (red text/hover)
|
|
34
|
+
*
|
|
35
|
+
* Elements:
|
|
36
|
+
* __chevron – rotates 180° when menu is open
|
|
37
|
+
* __menu-header – user identity section at top of menu
|
|
38
|
+
* __menu-header-avatar – gradient avatar circle in header
|
|
39
|
+
* __menu-header-info – name + subtitle column
|
|
40
|
+
* __menu-header-name – bold display name
|
|
41
|
+
* __menu-header-subtitle – muted email / username
|
|
42
|
+
* __menu-divider – thin horizontal separator
|
|
43
|
+
*/
|
|
44
|
+
declare const USER_DROPDOWN_CSS = "\n/* ============================================================\n UserDropdown\n ============================================================ */\n\n.thunder-user-dropdown {\n position: relative;\n display: inline-block;\n font-family: var(--thunder-typography-fontFamily);\n}\n\n/* \u2500\u2500 Trigger \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-dropdown__trigger {\n display: inline-flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n padding: 3px;\n background: none;\n border: 2px solid transparent;\n border-radius: var(--thunder-border-radius-full);\n cursor: pointer;\n color: var(--thunder-color-text-primary);\n transition:\n border-color var(--thunder-transition-fast),\n box-shadow var(--thunder-transition-fast);\n box-sizing: border-box;\n outline: none;\n}\n\n.thunder-user-dropdown__trigger:hover {\n border-color: var(--thunder-color-primary-main);\n}\n\n.thunder-user-dropdown__trigger--open {\n border-color: var(--thunder-color-primary-main);\n box-shadow: 0 0 0 3px var(--thunder-focus-ring-color);\n}\n\n.thunder-user-dropdown__trigger:focus-visible {\n border-color: var(--thunder-color-primary-main);\n box-shadow: 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n}\n\n/* \u2500\u2500 Trigger avatar \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-dropdown__avatar {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n color: #ffffff;\n flex-shrink: 0;\n font-size: var(--thunder-typography-fontSize-sm);\n font-weight: var(--thunder-typography-fontWeight-semibold);\n line-height: 1;\n user-select: none;\n pointer-events: none;\n}\n\n/* sm \u2014 28 px */\n.thunder-user-dropdown__avatar--sm {\n width: 28px;\n height: 28px;\n font-size: var(--thunder-typography-fontSize-xs);\n}\n\n/* lg \u2014 38 px */\n.thunder-user-dropdown__avatar--lg {\n width: 38px;\n height: 38px;\n font-size: var(--thunder-typography-fontSize-md);\n}\n\n/* \u2500\u2500 Chevron \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-dropdown__chevron {\n display: inline-flex;\n align-items: center;\n color: var(--thunder-color-text-secondary);\n transition: transform var(--thunder-transition-normal);\n padding-right: calc(var(--thunder-spacing-unit) * 0.25);\n}\n\n.thunder-user-dropdown__trigger--open .thunder-user-dropdown__chevron {\n transform: rotate(180deg);\n}\n\n/* \u2500\u2500 Dropdown menu \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-dropdown__menu {\n position: absolute;\n top: calc(100% + calc(var(--thunder-spacing-unit) * 0.75));\n right: 0;\n z-index: 1000;\n background-color: var(--thunder-color-background-surface);\n border: 1px solid var(--thunder-color-border);\n border-radius: var(--thunder-dropdown-borderRadius);\n box-shadow: var(--thunder-dropdown-shadow);\n overflow: hidden;\n min-width: 220px;\n display: flex;\n flex-direction: column;\n animation: thunderid-dropdown-enter var(--thunder-transition-fast) ease;\n}\n\n/* Alignment */\n\n.thunder-user-dropdown__menu--align-left {\n right: auto;\n left: 0;\n}\n\n/* Size: sm */\n\n.thunder-user-dropdown__menu--size-sm {\n min-width: 180px;\n}\n\n.thunder-user-dropdown__menu--size-sm .thunder-user-dropdown__menu-header {\n padding: calc(var(--thunder-spacing-unit) * 1.25) calc(var(--thunder-spacing-unit) * 1.5);\n gap: calc(var(--thunder-spacing-unit) * 1);\n}\n\n.thunder-user-dropdown__menu--size-sm .thunder-user-dropdown__menu-header-avatar {\n width: 30px;\n height: 30px;\n font-size: var(--thunder-typography-fontSize-sm);\n}\n\n.thunder-user-dropdown__menu--size-sm .thunder-user-dropdown__item {\n padding: calc(var(--thunder-spacing-unit) * 0.75) calc(var(--thunder-spacing-unit) * 1.5);\n font-size: var(--thunder-typography-fontSize-xs);\n}\n\n/* Size: lg */\n\n.thunder-user-dropdown__menu--size-lg {\n min-width: 280px;\n}\n\n.thunder-user-dropdown__menu--size-lg .thunder-user-dropdown__menu-header {\n padding: calc(var(--thunder-spacing-unit) * 2) calc(var(--thunder-spacing-unit) * 2);\n gap: calc(var(--thunder-spacing-unit) * 1.5);\n}\n\n.thunder-user-dropdown__menu--size-lg .thunder-user-dropdown__menu-header-avatar {\n width: 42px;\n height: 42px;\n font-size: var(--thunder-typography-fontSize-lg);\n}\n\n.thunder-user-dropdown__menu--size-lg .thunder-user-dropdown__item {\n padding: calc(var(--thunder-spacing-unit) * 1.25) calc(var(--thunder-spacing-unit) * 2);\n font-size: var(--thunder-typography-fontSize-md);\n}\n\n@keyframes thunderid-dropdown-enter {\n from {\n opacity: 0;\n transform: translateY(-6px) scale(0.97);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n}\n\n/* \u2500\u2500 Menu header (user identity) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-dropdown__menu-header {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 1.25);\n padding: calc(var(--thunder-spacing-unit) * 1.5) calc(var(--thunder-spacing-unit) * 1.75);\n}\n\n.thunder-user-dropdown__menu-header-avatar {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 36px;\n height: 36px;\n border-radius: 50%;\n color: #ffffff;\n flex-shrink: 0;\n font-size: var(--thunder-typography-fontSize-md);\n font-weight: var(--thunder-typography-fontWeight-semibold);\n line-height: 1;\n user-select: none;\n}\n\n.thunder-user-dropdown__menu-header-info {\n display: flex;\n flex-direction: column;\n gap: 2px;\n min-width: 0;\n}\n\n.thunder-user-dropdown__menu-header-name {\n font-size: var(--thunder-typography-fontSize-sm);\n font-weight: var(--thunder-typography-fontWeight-semibold);\n color: var(--thunder-color-text-primary);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n line-height: var(--thunder-typography-lineHeight-tight);\n}\n\n.thunder-user-dropdown__menu-header-subtitle {\n font-size: var(--thunder-typography-fontSize-xs);\n color: var(--thunder-color-text-secondary);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n line-height: var(--thunder-typography-lineHeight-normal);\n}\n\n/* \u2500\u2500 Menu divider \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-dropdown__menu-divider {\n height: 1px;\n background-color: var(--thunder-color-border);\n margin: calc(var(--thunder-spacing-unit) * 0.5) 0;\n flex-shrink: 0;\n}\n\n/* \u2500\u2500 Menu items \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-dropdown__item {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 1);\n width: 100%;\n padding: calc(var(--thunder-spacing-unit) * 1) calc(var(--thunder-spacing-unit) * 1.75);\n background: none;\n border: none;\n cursor: pointer;\n text-align: left;\n font-family: var(--thunder-typography-fontFamily);\n font-size: var(--thunder-typography-fontSize-sm);\n color: var(--thunder-color-text-primary);\n transition: background-color var(--thunder-transition-fast);\n box-sizing: border-box;\n}\n\n.thunder-user-dropdown__item:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunder-user-dropdown__item:focus-visible {\n outline: none;\n background-color: var(--thunder-color-action-focus);\n}\n\n/* Danger variant (sign-out) */\n\n.thunder-user-dropdown__item--danger {\n color: var(--thunder-color-error-main);\n}\n\n.thunder-user-dropdown__item--danger:hover {\n background-color: var(--thunder-color-error-light);\n}\n\n/* \u2500\u2500 Modal overlay \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-dropdown__modal-overlay {\n position: fixed;\n inset: 0;\n background-color: rgba(0, 0, 0, 0.45);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 9999;\n backdrop-filter: blur(3px);\n animation: thunderid-overlay-enter var(--thunder-transition-fast) ease;\n}\n\n@keyframes thunderid-overlay-enter {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n\n/* \u2500\u2500 Modal content \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-dropdown__modal-content {\n background: var(--thunder-color-background-surface);\n border-radius: var(--thunder-border-radius-large);\n box-shadow: var(--thunder-shadow-large);\n max-width: 480px;\n width: 92%;\n max-height: 90vh;\n overflow-y: auto;\n position: relative;\n animation: thunderid-modal-enter var(--thunder-transition-normal) ease;\n}\n\n@keyframes thunderid-modal-enter {\n from {\n opacity: 0;\n transform: translateY(12px) scale(0.97);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n}\n\n/* \u2500\u2500 Modal close button \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-dropdown__modal-close {\n position: absolute;\n top: calc(var(--thunder-spacing-unit) * 1.25);\n right: calc(var(--thunder-spacing-unit) * 1.25);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--thunder-color-text-secondary);\n display: flex;\n align-items: center;\n justify-content: center;\n padding: calc(var(--thunder-spacing-unit) * 0.625);\n border-radius: var(--thunder-border-radius-small);\n z-index: 10001;\n transition:\n color var(--thunder-transition-fast),\n background-color var(--thunder-transition-fast);\n line-height: 0;\n}\n\n.thunder-user-dropdown__modal-close:hover {\n color: var(--thunder-color-text-primary);\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunder-user-dropdown__modal-close:focus-visible {\n outline: none;\n box-shadow: 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n}\n";
|
|
45
|
+
export default USER_DROPDOWN_CSS;
|
|
46
|
+
//# sourceMappingURL=UserDropdown.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserDropdown.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/user-dropdown/UserDropdown.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,QAAA,MAAM,iBAAiB,ktXAsVtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* UserDropdown — avatar button that opens a user identity menu.
|
|
21
|
+
*
|
|
22
|
+
* @example Default usage
|
|
23
|
+
* ```vue
|
|
24
|
+
* <UserDropdown />
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @example With custom menu items and a separator
|
|
28
|
+
* ```vue
|
|
29
|
+
* <UserDropdown
|
|
30
|
+
* :menu-items="[
|
|
31
|
+
* { label: 'Settings', icon: h(SettingsIcon, { size: 15 }), onClick: goToSettings },
|
|
32
|
+
* { label: 'Help', onClick: openHelp, separatorBefore: true },
|
|
33
|
+
* ]"
|
|
34
|
+
* />
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @example Small, left-aligned, no chevron
|
|
38
|
+
* ```vue
|
|
39
|
+
* <UserDropdown size="sm" menu-align="left" />
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
declare const UserDropdown: Component;
|
|
43
|
+
export default UserDropdown;
|
|
44
|
+
//# sourceMappingURL=UserDropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/user-dropdown/UserDropdown.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAA+D,MAAM,KAAK,CAAC;AAKjG;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,YAAY,EAAE,SAqFlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { type User, type Schema } from '@thunderid/browser';
|
|
19
|
+
import { type Component } from 'vue';
|
|
20
|
+
export interface BaseUserProfileProps {
|
|
21
|
+
avatarSize?: 'sm' | 'md' | 'lg';
|
|
22
|
+
cardLayout?: boolean;
|
|
23
|
+
cardVariant?: 'elevated' | 'outlined' | 'flat';
|
|
24
|
+
className?: string;
|
|
25
|
+
compact?: boolean;
|
|
26
|
+
editable?: boolean;
|
|
27
|
+
error?: string | null;
|
|
28
|
+
flattenedProfile?: User | null;
|
|
29
|
+
hideFields?: string[];
|
|
30
|
+
isLoading?: boolean;
|
|
31
|
+
onUpdate?: (payload: any) => Promise<void>;
|
|
32
|
+
profile?: User | null;
|
|
33
|
+
schemas?: Schema[] | null;
|
|
34
|
+
showAvatar?: boolean;
|
|
35
|
+
showFields?: string[];
|
|
36
|
+
title?: string;
|
|
37
|
+
}
|
|
38
|
+
declare const BaseUserProfile: Component;
|
|
39
|
+
export default BaseUserProfile;
|
|
40
|
+
//# sourceMappingURL=BaseUserProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseUserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/user-profile/BaseUserProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,IAAI,EAAE,KAAK,MAAM,EAA+C,MAAM,oBAAoB,CAAC;AACxG,OAAO,EAAC,KAAK,SAAS,EAAkF,MAAM,KAAK,CAAC;AA8BpH,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAmHD,QAAA,MAAM,eAAe,EAAE,SA+TrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Styles for the UserProfile presentation component.
|
|
20
|
+
*
|
|
21
|
+
* BEM block: `.thunder-user-profile`
|
|
22
|
+
*
|
|
23
|
+
* Modifiers:
|
|
24
|
+
* --compact – reduced field padding for modal / dropdown embedding
|
|
25
|
+
*
|
|
26
|
+
* New elements in this version:
|
|
27
|
+
* __hero – avatar + name + subtitle banner
|
|
28
|
+
* __avatar--sm/md/lg – avatar size variants
|
|
29
|
+
* __hero-name – prominent display name
|
|
30
|
+
* __hero-subtitle – secondary line (email / username)
|
|
31
|
+
*/
|
|
32
|
+
declare const USER_PROFILE_CSS = "\n/* ============================================================\n UserProfile (modern redesign)\n ============================================================ */\n\n.thunder-user-profile {\n display: flex;\n flex-direction: column;\n min-width: 320px;\n overflow: hidden;\n font-family: var(--thunder-typography-fontFamily);\n}\n\n/* \u2500\u2500 Header \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-profile__header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: calc(var(--thunder-spacing-unit) * 2) calc(var(--thunder-spacing-unit) * 2.5)\n calc(var(--thunder-spacing-unit) * 1.75);\n}\n\n.thunder-user-profile__title {\n margin: 0;\n font-size: var(--thunder-typography-fontSize-md);\n font-weight: var(--thunder-typography-fontWeight-semibold);\n color: var(--thunder-color-text-primary);\n letter-spacing: var(--thunder-typography-letterSpacing-tight);\n}\n\n.thunder-user-profile__header-divider {\n margin: 0;\n}\n\n/* \u2500\u2500 Hero (avatar + name + subtitle) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-profile__hero {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: calc(var(--thunder-spacing-unit) * 3) calc(var(--thunder-spacing-unit) * 2.5)\n calc(var(--thunder-spacing-unit) * 2);\n gap: calc(var(--thunder-spacing-unit) * 1.25);\n background: linear-gradient(\n 180deg,\n var(--thunder-color-primary-light) 0%,\n var(--thunder-color-background-surface) 100%\n );\n border-bottom: 1px solid var(--thunder-color-border);\n}\n\n.thunder-user-profile__avatar-wrapper {\n position: relative;\n border-radius: 50%;\n padding: 3px;\n background: linear-gradient(\n 135deg,\n var(--thunder-color-primary-main),\n var(--thunder-color-primary-dark)\n );\n box-shadow: 0 4px 14px rgba(75, 110, 245, 0.28);\n}\n\n.thunder-user-profile__avatar {\n width: var(--thunder-avatar-size, 72px);\n height: var(--thunder-avatar-size, 72px);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n border: 2px solid var(--thunder-color-background-surface);\n}\n\n/* Avatar size variants */\n\n.thunder-user-profile__avatar--sm {\n width: 48px;\n height: 48px;\n}\n\n.thunder-user-profile__avatar--sm .thunder-user-profile__avatar-initials {\n font-size: 1rem;\n}\n\n.thunder-user-profile__avatar--md {\n width: 64px;\n height: 64px;\n}\n\n.thunder-user-profile__avatar--md .thunder-user-profile__avatar-initials {\n font-size: 1.25rem;\n}\n\n.thunder-user-profile__avatar--lg {\n width: 80px;\n height: 80px;\n}\n\n.thunder-user-profile__avatar--lg .thunder-user-profile__avatar-initials {\n font-size: 1.625rem;\n}\n\n.thunder-user-profile__avatar-initials {\n color: #ffffff;\n font-weight: var(--thunder-typography-fontWeight-semibold);\n line-height: 1;\n letter-spacing: 0.02em;\n pointer-events: none;\n user-select: none;\n}\n\n.thunder-user-profile__hero-info {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.375);\n text-align: center;\n}\n\n.thunder-user-profile__hero-name {\n font-size: var(--thunder-typography-fontSize-lg);\n font-weight: var(--thunder-typography-fontWeight-semibold);\n color: var(--thunder-color-text-primary);\n line-height: var(--thunder-typography-lineHeight-tight);\n letter-spacing: var(--thunder-typography-letterSpacing-tight);\n}\n\n.thunder-user-profile__hero-subtitle {\n font-size: var(--thunder-typography-fontSize-sm);\n color: var(--thunder-color-text-secondary);\n line-height: var(--thunder-typography-lineHeight-normal);\n}\n\n/* \u2500\u2500 Alerts & loading \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-profile__error {\n margin: calc(var(--thunder-spacing-unit) * 1.5) calc(var(--thunder-spacing-unit) * 2.5)\n calc(var(--thunder-spacing-unit) * 0.5);\n}\n\n.thunder-user-profile__loading {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: calc(var(--thunder-spacing-unit) * 3.5) 0;\n}\n\n/* \u2500\u2500 Fields \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-profile__fields {\n display: flex;\n flex-direction: column;\n}\n\n.thunder-user-profile__field {\n display: grid;\n grid-template-columns: 38% 62%;\n align-items: start;\n padding: calc(var(--thunder-spacing-unit) * 1.5) calc(var(--thunder-spacing-unit) * 2.5);\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n box-sizing: border-box;\n transition: background-color var(--thunder-transition-fast);\n}\n\n.thunder-user-profile__field:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunder-user-profile__field + .thunder-user-profile__field {\n border-top: 1px solid var(--thunder-color-border);\n}\n\n.thunder-user-profile__field-label {\n color: var(--thunder-color-text-secondary);\n font-size: var(--thunder-typography-fontSize-sm);\n font-weight: var(--thunder-typography-fontWeight-medium);\n padding-top: 2px;\n}\n\n.thunder-user-profile__field-display {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n min-height: 1.5rem;\n}\n\n.thunder-user-profile__field-value {\n color: var(--thunder-color-text-primary);\n word-break: break-word;\n flex: 1;\n font-size: var(--thunder-typography-fontSize-sm);\n}\n\n.thunder-user-profile__field-placeholder {\n color: var(--thunder-color-primary-main);\n font-size: var(--thunder-typography-fontSize-sm);\n font-style: italic;\n flex: 1;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-style: dotted;\n text-underline-offset: 2px;\n opacity: 0.8;\n transition: opacity var(--thunder-transition-fast);\n}\n\n.thunder-user-profile__field-placeholder:hover {\n opacity: 1;\n}\n\n/* \u2500\u2500 Edit button (pencil) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-profile__field-edit-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background: none;\n border: none;\n cursor: pointer;\n color: var(--thunder-color-text-secondary);\n flex-shrink: 0;\n padding: calc(var(--thunder-spacing-unit) * 0.375);\n border-radius: var(--thunder-border-radius-small);\n transition:\n color var(--thunder-transition-fast),\n background-color var(--thunder-transition-fast),\n opacity var(--thunder-transition-fast);\n opacity: 0;\n line-height: 0;\n}\n\n.thunder-user-profile__field:hover .thunder-user-profile__field-edit-btn {\n opacity: 1;\n}\n\n.thunder-user-profile__field-edit-btn:hover {\n color: var(--thunder-color-primary-main);\n background-color: var(--thunder-color-primary-light);\n}\n\n.thunder-user-profile__field-edit-btn:focus-visible {\n opacity: 1;\n outline: none;\n box-shadow: 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n}\n\n/* \u2500\u2500 Edit mode \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-profile__field-edit {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n padding: calc(var(--thunder-spacing-unit) * 0.25) 0;\n}\n\n.thunder-user-profile__field-edit-actions {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n}\n\n/* \u2500\u2500 Footer slot \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-profile__footer {\n padding: calc(var(--thunder-spacing-unit) * 1.5) calc(var(--thunder-spacing-unit) * 2.5);\n border-top: 1px solid var(--thunder-color-border);\n}\n\n/* \u2500\u2500 Compact modifier \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunder-user-profile--compact .thunder-user-profile__hero {\n padding: calc(var(--thunder-spacing-unit) * 2) calc(var(--thunder-spacing-unit) * 2);\n}\n\n.thunder-user-profile--compact .thunder-user-profile__avatar--lg {\n width: 56px;\n height: 56px;\n}\n\n.thunder-user-profile--compact .thunder-user-profile__avatar--lg .thunder-user-profile__avatar-initials {\n font-size: 1.125rem;\n}\n\n.thunder-user-profile--compact .thunder-user-profile__field {\n padding: calc(var(--thunder-spacing-unit) * 1) calc(var(--thunder-spacing-unit) * 2);\n}\n\n.thunder-user-profile--compact .thunder-user-profile__hero-name {\n font-size: var(--thunder-typography-fontSize-md);\n}\n";
|
|
33
|
+
export default USER_PROFILE_CSS;
|
|
34
|
+
//# sourceMappingURL=UserProfile.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserProfile.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/user-profile/UserProfile.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,gBAAgB,q4TAqSrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|