@thunderid/vue 0.0.4 → 0.0.5
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/ThunderIDVueClient.d.ts +4 -10
- package/dist/ThunderIDVueClient.d.ts.map +1 -1
- package/dist/cjs/index.cjs +391 -609
- package/dist/components/auth/sign-in/SignIn.d.ts +1 -1
- package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts +2 -2
- package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts.map +1 -1
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts +3 -3
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts.map +1 -1
- package/dist/components/presentation/organization-list/OrganizationList.css.d.ts +2 -2
- package/dist/components/presentation/organization-list/OrganizationList.css.d.ts.map +1 -1
- package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts +2 -2
- package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts.map +1 -1
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts +3 -3
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts.map +1 -1
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts +2 -2
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts.map +1 -1
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts +2 -2
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts.map +1 -1
- package/dist/components/primitives/Alert/Alert.css.d.ts +2 -2
- package/dist/components/primitives/Alert/Alert.css.d.ts.map +1 -1
- package/dist/components/primitives/Button/Button.css.d.ts +2 -2
- package/dist/components/primitives/Button/Button.css.d.ts.map +1 -1
- package/dist/components/primitives/Card/Card.css.d.ts +2 -2
- package/dist/components/primitives/Card/Card.css.d.ts.map +1 -1
- package/dist/components/primitives/Checkbox/Checkbox.css.d.ts +2 -2
- package/dist/components/primitives/Checkbox/Checkbox.css.d.ts.map +1 -1
- package/dist/components/primitives/DatePicker/DatePicker.css.d.ts +2 -2
- package/dist/components/primitives/DatePicker/DatePicker.css.d.ts.map +1 -1
- package/dist/components/primitives/Divider/Divider.css.d.ts +2 -2
- package/dist/components/primitives/Divider/Divider.css.d.ts.map +1 -1
- package/dist/components/primitives/Logo/Logo.css.d.ts +2 -2
- package/dist/components/primitives/Logo/Logo.css.d.ts.map +1 -1
- package/dist/components/primitives/OtpField/OtpField.css.d.ts +2 -2
- package/dist/components/primitives/OtpField/OtpField.css.d.ts.map +1 -1
- package/dist/components/primitives/PasswordField/PasswordField.css.d.ts +2 -2
- package/dist/components/primitives/PasswordField/PasswordField.css.d.ts.map +1 -1
- package/dist/components/primitives/Select/Select.css.d.ts +2 -2
- package/dist/components/primitives/Select/Select.css.d.ts.map +1 -1
- package/dist/components/primitives/Spinner/Spinner.css.d.ts +2 -2
- package/dist/components/primitives/Spinner/Spinner.css.d.ts.map +1 -1
- package/dist/components/primitives/TextField/TextField.css.d.ts +2 -2
- package/dist/components/primitives/TextField/TextField.css.d.ts.map +1 -1
- package/dist/components/primitives/Typography/Typography.css.d.ts +2 -2
- package/dist/components/primitives/Typography/Typography.css.d.ts.map +1 -1
- package/dist/index.js +387 -605
- package/dist/models/contexts.d.ts +2 -2
- package/dist/models/contexts.d.ts.map +1 -1
- package/dist/providers/ThunderIDProvider.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/__temp__/api.d.ts +0 -64
- package/dist/__temp__/api.d.ts.map +0 -1
- package/dist/__temp__/models.d.ts +0 -44
- package/dist/__temp__/models.d.ts.map +0 -1
|
@@ -21,7 +21,7 @@ export type { SignInRenderProps } from './v2/SignIn';
|
|
|
21
21
|
* SignIn — platform-aware sign-in component.
|
|
22
22
|
*
|
|
23
23
|
* Routes to the V1 (authenticator-based) flow by default or the V2
|
|
24
|
-
* (component-driven) flow when `platform` is set to `Platform.
|
|
24
|
+
* (component-driven) flow when `platform` is set to `Platform.ThunderID`.
|
|
25
25
|
*/
|
|
26
26
|
declare const SignIn: Component;
|
|
27
27
|
export default SignIn;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the CreateOrganization presentation component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-create-organization`
|
|
22
22
|
*
|
|
23
23
|
* The root element is a Card, whose padding is intentionally kept
|
|
24
24
|
* as this is a full form panel.
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
* __input – the org-name TextField
|
|
31
31
|
* __submit – the submit Button
|
|
32
32
|
*/
|
|
33
|
-
declare const CREATE_ORGANIZATION_CSS = "\n/* ============================================================\n CreateOrganization\n ============================================================ */\n\n.
|
|
33
|
+
declare const CREATE_ORGANIZATION_CSS = "\n/* ============================================================\n CreateOrganization\n ============================================================ */\n\n.thunderid-create-organization {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunder-spacing-unit) * 1.75);\n max-width: 440px;\n width: 100%;\n}\n\n/* Title & description --------------------------------------- */\n\n.thunderid-create-organization__description {\n margin-top: calc(var(--thunder-spacing-unit) * -0.75);\n color: var(--thunder-color-text-secondary);\n}\n\n/* Input ----------------------------------------------------- */\n\n.thunderid-create-organization__input {\n width: 100%;\n}\n\n/* Submit ---------------------------------------------------- */\n\n.thunderid-create-organization__submit {\n align-self: flex-start;\n}\n";
|
|
34
34
|
export default CREATE_ORGANIZATION_CSS;
|
|
35
35
|
//# sourceMappingURL=CreateOrganization.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateOrganization.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/create-organization/CreateOrganization.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"CreateOrganization.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/create-organization/CreateOrganization.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,uBAAuB,k0BA+B5B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the LanguageSwitcher presentation component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-language-switcher`
|
|
22
22
|
*
|
|
23
|
-
* The root element is a Card (`.
|
|
23
|
+
* The root element is a Card (`.thunderid-card`). We override its default
|
|
24
24
|
* padding to 0 so the trigger button fills the surface edge-to-edge,
|
|
25
25
|
* and apply `position: relative` to anchor the absolute dropdown.
|
|
26
26
|
* The Card's border-radius and shadow are intentionally kept.
|
|
@@ -32,6 +32,6 @@
|
|
|
32
32
|
* __item – each selectable language row
|
|
33
33
|
* __item--active – the currently selected language
|
|
34
34
|
*/
|
|
35
|
-
declare const LANGUAGE_SWITCHER_CSS = "\n/* ============================================================\n LanguageSwitcher\n ============================================================ */\n\n/* Override Card's default padding so the trigger fills the surface */\n.
|
|
35
|
+
declare const LANGUAGE_SWITCHER_CSS = "\n/* ============================================================\n LanguageSwitcher\n ============================================================ */\n\n/* Override Card's default padding so the trigger fills the surface */\n.thunderid-language-switcher.thunderid-card {\n padding: 0;\n position: relative;\n display: inline-block;\n}\n\n/* Trigger ---------------------------------------------------- */\n\n.thunderid-language-switcher__trigger {\n display: inline-flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n padding: var(--thunder-dropdown-itemPaddingY) var(--thunder-dropdown-itemPaddingX);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--thunder-color-text-primary);\n font-family: var(--thunder-typography-fontFamily);\n font-size: var(--thunder-typography-fontSize-md);\n border-radius: var(--thunder-dropdown-borderRadius);\n transition: background-color var(--thunder-transition-fast);\n white-space: nowrap;\n box-sizing: border-box;\n}\n\n.thunderid-language-switcher__trigger:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunderid-language-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.thunderid-language-switcher__trigger-label {\n flex: 0 0 auto;\n}\n\n/* Dropdown --------------------------------------------------- */\n\n.thunderid-language-switcher__dropdown {\n position: absolute;\n top: calc(100% + calc(var(--thunder-spacing-unit) * 0.5));\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: 130px;\n display: flex;\n flex-direction: column;\n padding: calc(var(--thunder-spacing-unit) * 0.5) 0;\n}\n\n/* Items ----------------------------------------------------- */\n\n.thunderid-language-switcher__item {\n display: flex;\n align-items: center;\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.thunderid-language-switcher__item:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunderid-language-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.thunderid-language-switcher__item--active:hover {\n background-color: var(--thunder-color-action-focus);\n}\n";
|
|
36
36
|
export default LANGUAGE_SWITCHER_CSS;
|
|
37
37
|
//# sourceMappingURL=LanguageSwitcher.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LanguageSwitcher.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/language-switcher/LanguageSwitcher.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"LanguageSwitcher.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/language-switcher/LanguageSwitcher.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,qBAAqB,+9FA8F1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the OrganizationList presentation component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-organization-list`
|
|
22
22
|
*
|
|
23
23
|
* The root element is a plain `div`. There is no Card wrapper here,
|
|
24
24
|
* so this file provides the full layout including border and spacing.
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
* __empty – empty state message (Typography body2)
|
|
29
29
|
* __item – each selectable organization row button
|
|
30
30
|
*/
|
|
31
|
-
declare const ORGANIZATION_LIST_CSS = "\n/* ============================================================\n OrganizationList\n ============================================================ */\n\n.
|
|
31
|
+
declare const ORGANIZATION_LIST_CSS = "\n/* ============================================================\n OrganizationList\n ============================================================ */\n\n.thunderid-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.thunderid-organization-list__loading,\n.thunderid-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.thunderid-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.thunderid-organization-list__item:hover {\n background-color: var(--thunder-color-primary-light);\n border-color: var(--thunder-color-primary-main);\n}\n\n.thunderid-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
32
|
export default ORGANIZATION_LIST_CSS;
|
|
33
33
|
//# sourceMappingURL=OrganizationList.css.d.ts.map
|
|
@@ -1 +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,
|
|
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,uzDAuD1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the OrganizationProfile presentation component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-organization-profile`
|
|
22
22
|
*/
|
|
23
|
-
declare const ORGANIZATION_PROFILE_CSS = "\n/* ============================================================\n OrganizationProfile\n ============================================================ */\n\n.
|
|
23
|
+
declare const ORGANIZATION_PROFILE_CSS = "\n/* ============================================================\n OrganizationProfile\n ============================================================ */\n\n.thunderid-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.thunderid-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.thunderid-organization-profile__title {\n margin: 0;\n}\n\n.thunderid-organization-profile__header-divider {\n margin: 0;\n}\n\n/* Identity: avatar + org name + handle ----------------------- */\n\n.thunderid-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.thunderid-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.thunderid-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.thunderid-organization-profile__org-name {\n margin: 0;\n text-align: center;\n}\n\n.thunderid-organization-profile__org-handle {\n color: var(--thunder-color-text-secondary);\n text-align: center;\n}\n\n.thunderid-organization-profile__identity-divider {\n margin: 0;\n}\n\n/* Fields ---------------------------------------------------- */\n\n.thunderid-organization-profile__fields {\n display: flex;\n flex-direction: column;\n}\n\n.thunderid-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.thunderid-organization-profile__field:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunderid-organization-profile__field + .thunderid-organization-profile__field {\n border-top: 1px solid var(--thunder-color-border);\n}\n\n.thunderid-organization-profile__field-label-col {\n /* label column */\n}\n\n.thunderid-organization-profile__field-label {\n color: var(--thunder-color-text-secondary);\n font-size: var(--thunder-typography-fontSize-sm);\n}\n\n.thunderid-organization-profile__field-value-col {\n /* value column */\n}\n\n.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-organization-profile__field:hover .thunderid-organization-profile__field-edit-btn {\n opacity: 1;\n}\n\n.thunderid-organization-profile__field-edit-btn:hover {\n color: var(--thunder-color-primary-main);\n background-color: var(--thunder-color-primary-light);\n}\n\n.thunderid-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.thunderid-organization-profile__field-edit {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n}\n\n.thunderid-organization-profile__field-edit-actions {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n}\n";
|
|
24
24
|
export default ORGANIZATION_PROFILE_CSS;
|
|
25
25
|
//# sourceMappingURL=OrganizationProfile.css.d.ts.map
|
|
@@ -1 +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,
|
|
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,0sKAiM7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the OrganizationSwitcher presentation component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-organization-switcher`
|
|
22
22
|
*
|
|
23
|
-
* The root element is a Card (`.
|
|
23
|
+
* The root element is a Card (`.thunderid-card`), so we override its
|
|
24
24
|
* default padding to let the trigger button fill the surface edge-to-edge,
|
|
25
25
|
* and apply `position: relative` to anchor the absolute dropdown.
|
|
26
26
|
*
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
* __item – each selectable organization row
|
|
36
36
|
* __item--active – currently selected organization
|
|
37
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.
|
|
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.thunderid-organization-switcher.thunderid-card {\n padding: 0;\n position: relative;\n display: inline-block;\n min-width: 180px;\n}\n\n/* Trigger ---------------------------------------------------- */\n\n.thunderid-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.thunderid-organization-switcher__trigger:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunderid-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.thunderid-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.thunderid-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.thunderid-organization-switcher__loading,\n.thunderid-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.thunderid-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.thunderid-organization-switcher__item:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunderid-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.thunderid-organization-switcher__item--active:hover {\n background-color: var(--thunder-color-action-focus);\n}\n";
|
|
39
39
|
export default ORGANIZATION_SWITCHER_CSS;
|
|
40
40
|
//# sourceMappingURL=OrganizationSwitcher.css.d.ts.map
|
package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts.map
CHANGED
|
@@ -1 +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,
|
|
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,4gHAiH9B,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the UserDropdown presentation component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-user-dropdown`
|
|
22
22
|
*
|
|
23
23
|
* Trigger modifiers:
|
|
24
24
|
* __trigger--open – ring + border while menu is visible
|
|
@@ -41,6 +41,6 @@
|
|
|
41
41
|
* __menu-header-subtitle – muted email / username
|
|
42
42
|
* __menu-divider – thin horizontal separator
|
|
43
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";
|
|
44
|
+
declare const USER_DROPDOWN_CSS = "\n/* ============================================================\n UserDropdown\n ============================================================ */\n\n.thunderid-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.thunderid-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.thunderid-user-dropdown__trigger:hover {\n border-color: var(--thunder-color-primary-main);\n}\n\n.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-user-dropdown__trigger--open .thunderid-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.thunderid-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.thunderid-user-dropdown__menu--align-left {\n right: auto;\n left: 0;\n}\n\n/* Size: sm */\n\n.thunderid-user-dropdown__menu--size-sm {\n min-width: 180px;\n}\n\n.thunderid-user-dropdown__menu--size-sm .thunderid-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.thunderid-user-dropdown__menu--size-sm .thunderid-user-dropdown__menu-header-avatar {\n width: 30px;\n height: 30px;\n font-size: var(--thunder-typography-fontSize-sm);\n}\n\n.thunderid-user-dropdown__menu--size-sm .thunderid-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.thunderid-user-dropdown__menu--size-lg {\n min-width: 280px;\n}\n\n.thunderid-user-dropdown__menu--size-lg .thunderid-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.thunderid-user-dropdown__menu--size-lg .thunderid-user-dropdown__menu-header-avatar {\n width: 42px;\n height: 42px;\n font-size: var(--thunder-typography-fontSize-lg);\n}\n\n.thunderid-user-dropdown__menu--size-lg .thunderid-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.thunderid-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.thunderid-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.thunderid-user-dropdown__menu-header-info {\n display: flex;\n flex-direction: column;\n gap: 2px;\n min-width: 0;\n}\n\n.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-user-dropdown__item:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunderid-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.thunderid-user-dropdown__item--danger {\n color: var(--thunder-color-error-main);\n}\n\n.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-user-dropdown__modal-close:hover {\n color: var(--thunder-color-text-primary);\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunderid-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
45
|
export default USER_DROPDOWN_CSS;
|
|
46
46
|
//# sourceMappingURL=UserDropdown.css.d.ts.map
|
|
@@ -1 +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,
|
|
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,wyXAsVtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the UserProfile presentation component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-user-profile`
|
|
22
22
|
*
|
|
23
23
|
* Modifiers:
|
|
24
24
|
* --compact – reduced field padding for modal / dropdown embedding
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
* __hero-name – prominent display name
|
|
30
30
|
* __hero-subtitle – secondary line (email / username)
|
|
31
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";
|
|
32
|
+
declare const USER_PROFILE_CSS = "\n/* ============================================================\n UserProfile (modern redesign)\n ============================================================ */\n\n.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-user-profile__avatar--sm {\n width: 48px;\n height: 48px;\n}\n\n.thunderid-user-profile__avatar--sm .thunderid-user-profile__avatar-initials {\n font-size: 1rem;\n}\n\n.thunderid-user-profile__avatar--md {\n width: 64px;\n height: 64px;\n}\n\n.thunderid-user-profile__avatar--md .thunderid-user-profile__avatar-initials {\n font-size: 1.25rem;\n}\n\n.thunderid-user-profile__avatar--lg {\n width: 80px;\n height: 80px;\n}\n\n.thunderid-user-profile__avatar--lg .thunderid-user-profile__avatar-initials {\n font-size: 1.625rem;\n}\n\n.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-user-profile__fields {\n display: flex;\n flex-direction: column;\n}\n\n.thunderid-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.thunderid-user-profile__field:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunderid-user-profile__field + .thunderid-user-profile__field {\n border-top: 1px solid var(--thunder-color-border);\n}\n\n.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-user-profile__field:hover .thunderid-user-profile__field-edit-btn {\n opacity: 1;\n}\n\n.thunderid-user-profile__field-edit-btn:hover {\n color: var(--thunder-color-primary-main);\n background-color: var(--thunder-color-primary-light);\n}\n\n.thunderid-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.thunderid-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.thunderid-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.thunderid-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.thunderid-user-profile--compact .thunderid-user-profile__hero {\n padding: calc(var(--thunder-spacing-unit) * 2) calc(var(--thunder-spacing-unit) * 2);\n}\n\n.thunderid-user-profile--compact .thunderid-user-profile__avatar--lg {\n width: 56px;\n height: 56px;\n}\n\n.thunderid-user-profile--compact .thunderid-user-profile__avatar--lg .thunderid-user-profile__avatar-initials {\n font-size: 1.125rem;\n}\n\n.thunderid-user-profile--compact .thunderid-user-profile__field {\n padding: calc(var(--thunder-spacing-unit) * 1) calc(var(--thunder-spacing-unit) * 2);\n}\n\n.thunderid-user-profile--compact .thunderid-user-profile__hero-name {\n font-size: var(--thunder-typography-fontSize-md);\n}\n";
|
|
33
33
|
export default USER_PROFILE_CSS;
|
|
34
34
|
//# sourceMappingURL=UserProfile.css.d.ts.map
|
|
@@ -1 +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,
|
|
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,2+TAqSrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the Alert primitive component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-alert`
|
|
22
22
|
*
|
|
23
23
|
* Modifiers:
|
|
24
24
|
* Severity: --info | --success | --warning | --error
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
* Elements:
|
|
27
27
|
* __content | __dismiss
|
|
28
28
|
*/
|
|
29
|
-
declare const ALERT_CSS = "\n/* ============================================================\n Alert\n ============================================================ */\n\n.
|
|
29
|
+
declare const ALERT_CSS = "\n/* ============================================================\n Alert\n ============================================================ */\n\n.thunderid-alert {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: calc(var(--thunder-spacing-unit) * 1);\n padding: var(--thunder-alert-paddingY) var(--thunder-alert-paddingX);\n border-radius: var(--thunder-alert-borderRadius);\n border: 1px solid transparent;\n font-family: var(--thunder-typography-fontFamily);\n font-size: var(--thunder-typography-fontSize-sm);\n box-sizing: border-box;\n width: 100%;\n line-height: var(--thunder-typography-lineHeight-normal);\n}\n\n.thunderid-alert__content {\n flex: 1;\n}\n\n.thunderid-alert--info {\n background-color: var(--thunder-color-info-light);\n border-color: var(--thunder-color-info-main);\n color: var(--thunder-color-info-contrastText);\n}\n\n.thunderid-alert--success {\n background-color: var(--thunder-color-success-light);\n border-color: var(--thunder-color-success-main);\n color: var(--thunder-color-success-contrastText);\n}\n\n.thunderid-alert--warning {\n background-color: var(--thunder-color-warning-light);\n border-color: var(--thunder-color-warning-main);\n color: var(--thunder-color-warning-contrastText);\n}\n\n.thunderid-alert--error {\n background-color: var(--thunder-color-error-light);\n border-color: var(--thunder-color-error-main);\n color: var(--thunder-color-error-contrastText);\n}\n\n.thunderid-alert__dismiss {\n background: none;\n border: none;\n cursor: pointer;\n font-size: 1em;\n line-height: 0;\n padding: calc(var(--thunder-spacing-unit) * 0.25);\n border-radius: var(--thunder-border-radius-xs);\n color: inherit;\n opacity: 0.6;\n flex-shrink: 0;\n transition: opacity var(--thunder-transition-fast), background-color var(--thunder-transition-fast);\n}\n.thunderid-alert__dismiss:hover {\n opacity: 1;\n background-color: var(--thunder-color-action-hover);\n}\n";
|
|
30
30
|
export default ALERT_CSS;
|
|
31
31
|
//# sourceMappingURL=Alert.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Alert/Alert.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;GAUG;AACH,QAAA,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"Alert.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Alert/Alert.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;GAUG;AACH,QAAA,MAAM,SAAS,m8DAiEd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the Button primitive component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-button`
|
|
22
22
|
*
|
|
23
23
|
* Modifiers:
|
|
24
24
|
* Variant: --solid | --outline | --ghost | --text
|
|
@@ -32,6 +32,6 @@
|
|
|
32
32
|
* Note: The `thunder-spin` keyframe animation is defined in
|
|
33
33
|
* `styles/animations.css.ts` and shared with the Spinner component.
|
|
34
34
|
*/
|
|
35
|
-
declare const BUTTON_CSS = "\n/* ============================================================\n Button\n ============================================================ */\n\n.
|
|
35
|
+
declare const BUTTON_CSS = "\n/* ============================================================\n Button\n ============================================================ */\n\n.thunderid-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n border-radius: var(--thunder-button-borderRadius);\n font-family: var(--thunder-typography-fontFamily);\n font-weight: var(--thunder-button-fontWeight);\n letter-spacing: var(--thunder-typography-letterSpacing-normal);\n cursor: pointer;\n outline: none;\n text-decoration: none;\n white-space: nowrap;\n border-width: 1px;\n border-style: solid;\n box-sizing: border-box;\n transition:\n background-color var(--thunder-transition-fast),\n color var(--thunder-transition-fast),\n border-color var(--thunder-transition-fast),\n box-shadow var(--thunder-transition-fast),\n opacity var(--thunder-transition-fast),\n transform var(--thunder-transition-fast);\n position: relative;\n vertical-align: middle;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n user-select: none;\n}\n\n.thunderid-button:focus-visible {\n outline: none;\n box-shadow: 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n}\n\n/* -- Sizes -- */\n\n.thunderid-button--small {\n padding: 0 var(--thunder-button-sm-paddingX);\n font-size: var(--thunder-button-sm-fontSize);\n height: var(--thunder-button-sm-height);\n}\n\n.thunderid-button--medium {\n padding: 0 var(--thunder-button-md-paddingX);\n font-size: var(--thunder-button-md-fontSize);\n height: var(--thunder-button-md-height);\n}\n\n.thunderid-button--large {\n padding: 0 var(--thunder-button-lg-paddingX);\n font-size: var(--thunder-button-lg-fontSize);\n height: var(--thunder-button-lg-height);\n}\n\n/* -- Modifiers -- */\n\n.thunderid-button--full-width {\n width: 100%;\n}\n\n.thunderid-button--loading,\n.thunderid-button:disabled {\n cursor: not-allowed;\n opacity: 0.55;\n pointer-events: none;\n}\n\n/* -- Solid variants -- */\n\n.thunderid-button--solid.thunderid-button--primary {\n background-color: var(--thunder-color-primary-main);\n color: var(--thunder-color-primary-contrastText);\n border-color: var(--thunder-color-primary-main);\n}\n.thunderid-button--solid.thunderid-button--primary:hover:not(:disabled) {\n background-color: var(--thunder-color-primary-dark);\n border-color: var(--thunder-color-primary-dark);\n}\n.thunderid-button--solid.thunderid-button--primary:active:not(:disabled) {\n transform: scale(0.98);\n}\n\n.thunderid-button--solid.thunderid-button--secondary {\n background-color: var(--thunder-color-secondary-light);\n color: var(--thunder-color-secondary-main);\n border-color: var(--thunder-color-border);\n}\n.thunderid-button--solid.thunderid-button--secondary:hover:not(:disabled) {\n background-color: var(--thunder-color-border);\n border-color: var(--thunder-color-border);\n}\n.thunderid-button--solid.thunderid-button--secondary:active:not(:disabled) {\n transform: scale(0.98);\n}\n\n.thunderid-button--solid.thunderid-button--danger {\n background-color: var(--thunder-color-error-main);\n color: #ffffff;\n border-color: var(--thunder-color-error-main);\n}\n.thunderid-button--solid.thunderid-button--danger:hover:not(:disabled) {\n filter: brightness(0.92);\n}\n.thunderid-button--solid.thunderid-button--danger:active:not(:disabled) {\n transform: scale(0.98);\n}\n\n/* -- Outline variants -- */\n\n.thunderid-button--outline.thunderid-button--primary {\n background-color: transparent;\n color: var(--thunder-color-primary-main);\n border-color: var(--thunder-color-primary-main);\n}\n.thunderid-button--outline.thunderid-button--primary:hover:not(:disabled) {\n background-color: var(--thunder-color-primary-light);\n}\n.thunderid-button--outline.thunderid-button--primary:active:not(:disabled) {\n transform: scale(0.98);\n}\n\n.thunderid-button--outline.thunderid-button--secondary {\n background-color: transparent;\n color: var(--thunder-color-secondary-main);\n border-color: var(--thunder-color-border);\n}\n.thunderid-button--outline.thunderid-button--secondary:hover:not(:disabled) {\n background-color: var(--thunder-color-secondary-light);\n border-color: var(--thunder-color-secondary-main);\n}\n.thunderid-button--outline.thunderid-button--secondary:active:not(:disabled) {\n transform: scale(0.98);\n}\n\n.thunderid-button--outline.thunderid-button--danger {\n background-color: transparent;\n color: var(--thunder-color-error-main);\n border-color: var(--thunder-color-error-main);\n}\n.thunderid-button--outline.thunderid-button--danger:hover:not(:disabled) {\n background-color: var(--thunder-color-error-light);\n}\n.thunderid-button--outline.thunderid-button--danger:active:not(:disabled) {\n transform: scale(0.98);\n}\n\n/* -- Ghost variants -- */\n\n.thunderid-button--ghost.thunderid-button--primary {\n background-color: transparent;\n color: var(--thunder-color-primary-main);\n border-color: transparent;\n}\n.thunderid-button--ghost.thunderid-button--primary:hover:not(:disabled) {\n background-color: var(--thunder-color-primary-light);\n border-color: transparent;\n}\n\n.thunderid-button--ghost.thunderid-button--secondary {\n background-color: transparent;\n color: var(--thunder-color-secondary-main);\n border-color: transparent;\n}\n.thunderid-button--ghost.thunderid-button--secondary:hover:not(:disabled) {\n background-color: var(--thunder-color-action-hover);\n border-color: transparent;\n}\n\n.thunderid-button--ghost.thunderid-button--danger {\n background-color: transparent;\n color: var(--thunder-color-error-main);\n border-color: transparent;\n}\n.thunderid-button--ghost.thunderid-button--danger:hover:not(:disabled) {\n background-color: var(--thunder-color-error-light);\n border-color: transparent;\n}\n\n/* -- Text variants -- */\n\n.thunderid-button--text {\n border-color: transparent;\n background-color: transparent;\n padding-left: calc(var(--thunder-spacing-unit) * 0.25);\n padding-right: calc(var(--thunder-spacing-unit) * 0.25);\n}\n\n.thunderid-button--text.thunderid-button--primary {\n color: var(--thunder-color-primary-main);\n}\n.thunderid-button--text.thunderid-button--primary:hover:not(:disabled) {\n color: var(--thunder-color-primary-dark);\n text-decoration: underline;\n text-underline-offset: 2px;\n}\n\n.thunderid-button--text.thunderid-button--secondary {\n color: var(--thunder-color-secondary-main);\n}\n.thunderid-button--text.thunderid-button--secondary:hover:not(:disabled) {\n color: var(--thunder-color-text-primary);\n text-decoration: underline;\n text-underline-offset: 2px;\n}\n\n.thunderid-button--text.thunderid-button--danger {\n color: var(--thunder-color-error-main);\n}\n.thunderid-button--text.thunderid-button--danger:hover:not(:disabled) {\n text-decoration: underline;\n text-underline-offset: 2px;\n}\n\n/* -- Inner elements -- */\n\n.thunderid-button__start-icon,\n.thunderid-button__end-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n line-height: 0;\n}\n.thunderid-button--small .thunderid-button__start-icon svg,\n.thunderid-button--small .thunderid-button__end-icon svg {\n width: 14px;\n height: 14px;\n}\n\n.thunderid-button__content {\n display: inline-flex;\n align-items: center;\n}\n\n.thunderid-button__spinner {\n display: inline-block;\n width: 1em;\n height: 1em;\n border: 2px solid currentColor;\n border-right-color: transparent;\n border-radius: 50%;\n animation: thunder-spin 0.6s linear infinite;\n margin-left: calc(var(--thunder-spacing-unit) * 0.5);\n}\n";
|
|
36
36
|
export default BUTTON_CSS;
|
|
37
37
|
//# sourceMappingURL=Button.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Button/Button.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Button/Button.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,UAAU,uhPA0Pf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the Card primitive component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-card`
|
|
22
22
|
*
|
|
23
23
|
* Modifiers:
|
|
24
24
|
* --elevated – medium drop shadow
|
|
25
25
|
* --outlined – 1px border, no shadow
|
|
26
26
|
* --flat – neither shadow nor border (default)
|
|
27
27
|
*/
|
|
28
|
-
declare const CARD_CSS = "\n/* ============================================================\n Card\n ============================================================ */\n\n.
|
|
28
|
+
declare const CARD_CSS = "\n/* ============================================================\n Card\n ============================================================ */\n\n.thunderid-card {\n background-color: var(--thunder-color-background-surface);\n border-radius: var(--thunder-card-borderRadius);\n padding: var(--thunder-card-padding);\n box-sizing: border-box;\n transition: box-shadow var(--thunder-transition-normal);\n}\n\n.thunderid-card--elevated {\n box-shadow: var(--thunder-card-shadow);\n}\n\n.thunderid-card--outlined {\n border: 1px solid var(--thunder-card-borderColor);\n}\n\n/* .thunderid-card--flat: no shadow or border */\n";
|
|
29
29
|
export default CARD_CSS;
|
|
30
30
|
//# sourceMappingURL=Card.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Card/Card.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;GASG;AACH,QAAA,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"Card.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Card/Card.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;GASG;AACH,QAAA,MAAM,QAAQ,wnBAsBb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the Checkbox primitive component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-checkbox`
|
|
22
22
|
*
|
|
23
23
|
* Modifiers:
|
|
24
24
|
* --error – shows validation error state
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
* Elements:
|
|
27
27
|
* __wrapper | __input | __label | __error
|
|
28
28
|
*/
|
|
29
|
-
declare const CHECKBOX_CSS = "\n/* ============================================================\n Checkbox\n ============================================================ */\n\n.
|
|
29
|
+
declare const CHECKBOX_CSS = "\n/* ============================================================\n Checkbox\n ============================================================ */\n\n.thunderid-checkbox {\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.thunderid-checkbox__wrapper {\n display: inline-flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n cursor: pointer;\n user-select: none;\n}\n\n.thunderid-checkbox__input {\n width: var(--thunder-checkbox-size);\n height: var(--thunder-checkbox-size);\n cursor: pointer;\n accent-color: var(--thunder-color-primary-main);\n flex-shrink: 0;\n border-radius: var(--thunder-border-radius-xs);\n}\n.thunderid-checkbox__input:focus-visible {\n outline: none;\n box-shadow: 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n}\n.thunderid-checkbox__input:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n\n.thunderid-checkbox__label {\n font-size: var(--thunder-typography-fontSize-md);\n color: var(--thunder-color-text-primary);\n line-height: var(--thunder-typography-lineHeight-normal);\n}\n\n.thunderid-checkbox__error {\n font-size: var(--thunder-typography-fontSize-xs);\n color: var(--thunder-color-error-contrastText);\n line-height: var(--thunder-typography-lineHeight-normal);\n}\n";
|
|
30
30
|
export default CHECKBOX_CSS;
|
|
31
31
|
//# sourceMappingURL=Checkbox.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Checkbox/Checkbox.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"Checkbox.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Checkbox/Checkbox.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY,i3CAgDjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the DatePicker primitive component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-date-picker`
|
|
22
22
|
*
|
|
23
23
|
* Modifiers:
|
|
24
24
|
* --error – shows validation error state
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
* Elements:
|
|
27
27
|
* __label | __required | __input | __error
|
|
28
28
|
*/
|
|
29
|
-
declare const DATE_PICKER_CSS = "\n/* ============================================================\n DatePicker\n ============================================================ */\n\n.
|
|
29
|
+
declare const DATE_PICKER_CSS = "\n/* ============================================================\n DatePicker\n ============================================================ */\n\n.thunderid-date-picker {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n font-family: var(--thunder-typography-fontFamily);\n width: 100%;\n box-sizing: border-box;\n}\n\n.thunderid-date-picker__label {\n font-size: var(--thunder-typography-fontSize-sm);\n font-weight: var(--thunder-typography-fontWeight-medium);\n color: var(--thunder-color-text-primary);\n display: block;\n line-height: var(--thunder-typography-lineHeight-normal);\n}\n\n.thunderid-date-picker__required {\n color: var(--thunder-color-error-main);\n margin-left: 2px;\n}\n\n.thunderid-date-picker__input {\n width: 100%;\n height: var(--thunder-input-height);\n padding: 0 var(--thunder-input-paddingX);\n border: 1px solid var(--thunder-input-borderColor);\n border-radius: var(--thunder-input-borderRadius);\n font-family: var(--thunder-typography-fontFamily);\n font-size: var(--thunder-input-fontSize);\n color: var(--thunder-color-text-primary);\n background-color: var(--thunder-color-background-surface);\n box-sizing: border-box;\n transition:\n border-color var(--thunder-transition-fast),\n box-shadow var(--thunder-transition-fast);\n outline: none;\n cursor: pointer;\n}\n.thunderid-date-picker__input:focus {\n border-color: var(--thunder-input-focusBorderColor);\n box-shadow: var(--thunder-input-focusRing);\n}\n.thunderid-date-picker--error .thunderid-date-picker__input {\n border-color: var(--thunder-color-error-main);\n}\n.thunderid-date-picker--error .thunderid-date-picker__input:focus {\n box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);\n}\n.thunderid-date-picker__input:disabled {\n background-color: var(--thunder-color-background-disabled);\n color: var(--thunder-color-action-disabled);\n cursor: not-allowed;\n}\n\n.thunderid-date-picker__error {\n font-size: var(--thunder-typography-fontSize-xs);\n color: var(--thunder-color-error-contrastText);\n line-height: var(--thunder-typography-lineHeight-normal);\n}\n";
|
|
30
30
|
export default DATE_PICKER_CSS;
|
|
31
31
|
//# sourceMappingURL=DatePicker.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/DatePicker/DatePicker.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;GAUG;AACH,QAAA,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"DatePicker.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/DatePicker/DatePicker.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;GAUG;AACH,QAAA,MAAM,eAAe,4mEAiEpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the Divider primitive component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-divider`
|
|
22
22
|
*
|
|
23
23
|
* Modifiers:
|
|
24
24
|
* --horizontal – full-width horizontal rule
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
* Elements:
|
|
29
29
|
* __line | __content
|
|
30
30
|
*/
|
|
31
|
-
declare const DIVIDER_CSS = "\n/* ============================================================\n Divider\n ============================================================ */\n\n.
|
|
31
|
+
declare const DIVIDER_CSS = "\n/* ============================================================\n Divider\n ============================================================ */\n\n.thunderid-divider {\n box-sizing: border-box;\n}\n\n.thunderid-divider--horizontal {\n width: 100%;\n border: none;\n border-top: 1px solid var(--thunder-color-border);\n margin: calc(var(--thunder-spacing-unit) * 1) 0;\n}\n\n.thunderid-divider--vertical {\n display: inline-block;\n width: 1px;\n height: 100%;\n min-height: 1em;\n border: none;\n background-color: var(--thunder-color-border);\n margin: 0 calc(var(--thunder-spacing-unit) * 1);\n align-self: stretch;\n}\n\n.thunderid-divider--with-content {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 1);\n border: none;\n margin: calc(var(--thunder-spacing-unit) * 1) 0;\n}\n\n.thunderid-divider__line {\n flex: 1;\n height: 1px;\n background-color: var(--thunder-color-border);\n}\n\n.thunderid-divider__content {\n flex-shrink: 0;\n font-size: var(--thunder-typography-fontSize-xs);\n color: var(--thunder-color-text-secondary);\n padding: 0 calc(var(--thunder-spacing-unit) * 0.5);\n font-family: var(--thunder-typography-fontFamily);\n text-transform: uppercase;\n letter-spacing: var(--thunder-typography-letterSpacing-wide);\n font-weight: var(--thunder-typography-fontWeight-medium);\n}\n";
|
|
32
32
|
export default DIVIDER_CSS;
|
|
33
33
|
//# sourceMappingURL=Divider.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Divider/Divider.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"Divider.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Divider/Divider.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,WAAW,41CAmDhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the Logo primitive component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-logo`
|
|
22
22
|
*
|
|
23
23
|
* Elements:
|
|
24
24
|
* __image
|
|
25
25
|
*/
|
|
26
|
-
declare const LOGO_CSS = "\n/* ============================================================\n Logo\n ============================================================ */\n\n.
|
|
26
|
+
declare const LOGO_CSS = "\n/* ============================================================\n Logo\n ============================================================ */\n\n.thunderid-logo {\n display: inline-flex;\n align-items: center;\n text-decoration: none;\n transition: opacity var(--thunder-transition-fast);\n}\n\n.thunderid-logo:hover {\n opacity: 0.85;\n}\n\n.thunderid-logo__image {\n display: block;\n max-height: 100%;\n width: auto;\n height: auto;\n object-fit: contain;\n}\n";
|
|
27
27
|
export default LOGO_CSS;
|
|
28
28
|
//# sourceMappingURL=Logo.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Logo/Logo.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;GAOG;AACH,QAAA,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"Logo.css.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Logo/Logo.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;GAOG;AACH,QAAA,MAAM,QAAQ,+dAuBb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* Styles for the OtpField primitive component.
|
|
20
20
|
*
|
|
21
|
-
* BEM block: `.
|
|
21
|
+
* BEM block: `.thunderid-otp-field`
|
|
22
22
|
*
|
|
23
23
|
* Elements:
|
|
24
24
|
* __label | __required | __inputs | __digit | __error
|
|
25
25
|
*/
|
|
26
|
-
declare const OTP_FIELD_CSS = "\n/* ============================================================\n OtpField\n ============================================================ */\n\n.
|
|
26
|
+
declare const OTP_FIELD_CSS = "\n/* ============================================================\n OtpField\n ============================================================ */\n\n.thunderid-otp-field {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n font-family: var(--thunder-typography-fontFamily);\n}\n\n.thunderid-otp-field__label {\n font-size: var(--thunder-typography-fontSize-sm);\n font-weight: var(--thunder-typography-fontWeight-medium);\n color: var(--thunder-color-text-primary);\n display: block;\n line-height: var(--thunder-typography-lineHeight-normal);\n}\n\n.thunderid-otp-field__required {\n color: var(--thunder-color-error-main);\n margin-left: 2px;\n}\n\n.thunderid-otp-field__inputs {\n display: flex;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n}\n\n.thunderid-otp-field__digit {\n width: var(--thunder-input-height);\n height: var(--thunder-input-height);\n text-align: center;\n border: 1px solid var(--thunder-input-borderColor);\n border-radius: var(--thunder-input-borderRadius);\n font-family: var(--thunder-typography-fontFamily);\n font-size: var(--thunder-typography-fontSize-lg);\n font-weight: var(--thunder-typography-fontWeight-semibold);\n color: var(--thunder-color-text-primary);\n background-color: var(--thunder-color-background-surface);\n box-sizing: border-box;\n outline: none;\n transition:\n border-color var(--thunder-transition-fast),\n box-shadow var(--thunder-transition-fast);\n}\n.thunderid-otp-field__digit:focus {\n border-color: var(--thunder-input-focusBorderColor);\n box-shadow: var(--thunder-input-focusRing);\n}\n.thunderid-otp-field__digit:disabled {\n background-color: var(--thunder-color-background-disabled);\n color: var(--thunder-color-action-disabled);\n cursor: not-allowed;\n}\n\n.thunderid-otp-field__error {\n font-size: var(--thunder-typography-fontSize-xs);\n color: var(--thunder-color-error-contrastText);\n line-height: var(--thunder-typography-lineHeight-normal);\n}\n";
|
|
27
27
|
export default OTP_FIELD_CSS;
|
|
28
28
|
//# sourceMappingURL=OtpField.css.d.ts.map
|