@moises.ai/design-system 3.9.17 → 3.9.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moises.ai/design-system",
3
- "version": "3.9.17",
3
+ "version": "3.9.18",
4
4
  "description": "Design System package based on @radix-ui/themes with custom defaults",
5
5
  "private": false,
6
6
  "type": "module",
@@ -66,14 +66,16 @@ export const Sidebar = ({
66
66
  [styles.logoInContainerHidden]: effectiveCollapsed && isHovered,
67
67
  })}
68
68
  />
69
- <SidebarLeftIcon
70
- width={16}
71
- height={16}
72
- className={classNames(styles.toggleInContainer, {
73
- [styles.toggleInContainerVisible]:
74
- effectiveCollapsed && isHovered,
75
- })}
76
- />
69
+ <Tooltip content={tooltip} side="right" sideOffset={15}>
70
+ <SidebarLeftIcon
71
+ width={16}
72
+ height={16}
73
+ className={classNames(styles.toggleInContainer, {
74
+ [styles.toggleInContainerVisible]:
75
+ effectiveCollapsed && isHovered,
76
+ })}
77
+ />
78
+ </Tooltip>
77
79
  </div>
78
80
  <MoisesIcon
79
81
  height={12.269}
@@ -161,13 +163,7 @@ export const Sidebar = ({
161
163
  onClick={handleLogoClick}
162
164
  style={{ cursor: 'pointer' }}
163
165
  >
164
- {effectiveCollapsed ? (
165
- <Tooltip content={tooltip} side="right">
166
- <div className={styles.tooltipTriggerWrapper}>{logoContent}</div>
167
- </Tooltip>
168
- ) : (
169
- logoContent
170
- )}
166
+ {logoContent}
171
167
  </Flex>
172
168
  <Flex
173
169
  align="center"