@cerebruminc/cerebellum 14.0.0 → 14.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/UserCard.cjs +1 -1
- package/lib/esm/UserCard.js +1 -1
- package/package.json +1 -1
package/lib/cjs/UserCard.cjs
CHANGED
|
@@ -384,7 +384,7 @@ var UserCard = function (_a) {
|
|
|
384
384
|
if (pressedEnter.pressedEnter(event)) {
|
|
385
385
|
onClick({ option: option, event: event });
|
|
386
386
|
}
|
|
387
|
-
} }, (!isActive ? { role: "button" } : {}), { tabIndex: isActive ? -1 : 0, "$themeOverride": themeOverride, children: [hasIcon && (jsxRuntime.jsx(OrganizationIconBox, { "$iconSize": iconSize, children: jsxRuntime.jsx(OrganizationIcon, { "$iconSize": iconSize, children: jsxRuntime.jsx(Icon, { fill: themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.textColor }) }) })), jsxRuntime.jsx(OptionText, { "$themeOverride": themeOverride, children: text }), isActive && multipleOrgs && (jsxRuntime.jsx(ActiveIcon, { children: jsxRuntime.jsx(CheckmarkCircle.CheckmarkCircle, { fill: colors.colors.AQUA_75 }) }))] }), id));
|
|
387
|
+
} }, (!isActive ? { role: "button" } : {}), { tabIndex: isActive ? -1 : 0, "$themeOverride": themeOverride, children: [hasIcon && (jsxRuntime.jsx(OrganizationIconBox, { "$iconSize": iconSize, children: jsxRuntime.jsx(OrganizationIcon, { "$iconSize": iconSize, children: jsxRuntime.jsx(Icon, { fill: themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.textColor }) }) })), jsxRuntime.jsx(OptionText, { "$themeOverride": themeOverride, children: jsxRuntime.jsx(TruncatePicker.TruncatePicker, { lines: 2, children: text }) }), isActive && multipleOrgs && (jsxRuntime.jsx(ActiveIcon, { children: jsxRuntime.jsx(CheckmarkCircle.CheckmarkCircle, { fill: colors.colors.AQUA_75 }) }))] }), id));
|
|
388
388
|
}) }))) : null] }), hasSignOut && (jsxRuntime.jsxs(SignOutWrapper, { "$themeOverride": themeOverride, children: [jsxRuntime.jsx(Divider, { "$topMargin": 0, "$bottomMargin": 27, "data-testid": SIGN_OUT_DIVIDER_ID, "$themeOverride": themeOverride }), jsxRuntime.jsxs(Option, { "$loadingWidth": 100, "$noBottomMargin": true, onClick: function () { return onSignOut === null || onSignOut === void 0 ? void 0 : onSignOut(); }, onKeyPress: function (event) {
|
|
389
389
|
if (pressedEnter.pressedEnter(event)) {
|
|
390
390
|
onSignOut === null || onSignOut === void 0 ? void 0 : onSignOut();
|
package/lib/esm/UserCard.js
CHANGED
|
@@ -382,7 +382,7 @@ var UserCard = function (_a) {
|
|
|
382
382
|
if (pressedEnter(event)) {
|
|
383
383
|
onClick({ option: option, event: event });
|
|
384
384
|
}
|
|
385
|
-
} }, (!isActive ? { role: "button" } : {}), { tabIndex: isActive ? -1 : 0, "$themeOverride": themeOverride, children: [hasIcon && (jsx(OrganizationIconBox, { "$iconSize": iconSize, children: jsx(OrganizationIcon, { "$iconSize": iconSize, children: jsx(Icon, { fill: themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.textColor }) }) })), jsx(OptionText, { "$themeOverride": themeOverride, children: text }), isActive && multipleOrgs && (jsx(ActiveIcon, { children: jsx(CheckmarkCircle, { fill: colors.AQUA_75 }) }))] }), id));
|
|
385
|
+
} }, (!isActive ? { role: "button" } : {}), { tabIndex: isActive ? -1 : 0, "$themeOverride": themeOverride, children: [hasIcon && (jsx(OrganizationIconBox, { "$iconSize": iconSize, children: jsx(OrganizationIcon, { "$iconSize": iconSize, children: jsx(Icon, { fill: themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.textColor }) }) })), jsx(OptionText, { "$themeOverride": themeOverride, children: jsx(TruncatePicker, { lines: 2, children: text }) }), isActive && multipleOrgs && (jsx(ActiveIcon, { children: jsx(CheckmarkCircle, { fill: colors.AQUA_75 }) }))] }), id));
|
|
386
386
|
}) }))) : null] }), hasSignOut && (jsxs(SignOutWrapper, { "$themeOverride": themeOverride, children: [jsx(Divider, { "$topMargin": 0, "$bottomMargin": 27, "data-testid": SIGN_OUT_DIVIDER_ID, "$themeOverride": themeOverride }), jsxs(Option, { "$loadingWidth": 100, "$noBottomMargin": true, onClick: function () { return onSignOut === null || onSignOut === void 0 ? void 0 : onSignOut(); }, onKeyPress: function (event) {
|
|
387
387
|
if (pressedEnter(event)) {
|
|
388
388
|
onSignOut === null || onSignOut === void 0 ? void 0 : onSignOut();
|