@loja-integrada/admin-components 0.18.2 → 0.18.4
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/admin-components.cjs.development.js +5 -1
- package/dist/admin-components.cjs.development.js.map +1 -1
- package/dist/admin-components.cjs.production.min.js +1 -1
- package/dist/admin-components.cjs.production.min.js.map +1 -1
- package/dist/admin-components.esm.js +5 -1
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Indicators/Tooltip/Tooltip.tsx +4 -0
- package/src/Navigation/Breadcrumb/index.tsx +1 -1
package/package.json
CHANGED
|
@@ -25,6 +25,10 @@ const TooltipComponent = (props: TooltipProps) => {
|
|
|
25
25
|
computedProps.content = mounted ? props.content : ''
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
if (typeof window === 'undefined') {
|
|
29
|
+
return <>{props.children}</>
|
|
30
|
+
}
|
|
31
|
+
|
|
28
32
|
return (
|
|
29
33
|
<StyledTooltipComponent
|
|
30
34
|
{...computedProps}
|
|
@@ -71,7 +71,7 @@ export const Breadcrumb: React.FC<BreadcrumbProps> = React.memo(
|
|
|
71
71
|
</span>
|
|
72
72
|
)}
|
|
73
73
|
<span
|
|
74
|
-
className={`header-navigation-current text-on-base truncate ${
|
|
74
|
+
className={`header-navigation-current text-on-base truncate leading-relaxed ${
|
|
75
75
|
mobileAlign === 'center'
|
|
76
76
|
? 'w-full lg:w-auto text-center lg:text-left'
|
|
77
77
|
: ''
|