@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
|
@@ -2878,6 +2878,10 @@ var TooltipComponent = function TooltipComponent(props) {
|
|
|
2878
2878
|
computedProps.content = mounted ? props.content : '';
|
|
2879
2879
|
}
|
|
2880
2880
|
|
|
2881
|
+
if (typeof window === 'undefined') {
|
|
2882
|
+
return React__default.createElement(React__default.Fragment, null, props.children);
|
|
2883
|
+
}
|
|
2884
|
+
|
|
2881
2885
|
return React__default.createElement(StyledTooltipComponent, Object.assign({}, computedProps, {
|
|
2882
2886
|
appendTo: (props == null ? void 0 : props.appendTo) || 'parent',
|
|
2883
2887
|
hideOnClick: (props == null ? void 0 : props.hideOnClick) || false,
|
|
@@ -3870,7 +3874,7 @@ var Breadcrumb = /*#__PURE__*/React__default.memo(function (_ref) {
|
|
|
3870
3874
|
}, renderPrevLink(), previousTitle && React__default.createElement("span", {
|
|
3871
3875
|
className: "hidden lg:inline px-2 -ml-px"
|
|
3872
3876
|
}, " / ")), React__default.createElement("span", {
|
|
3873
|
-
className: "header-navigation-current text-on-base truncate " + (mobileAlign === 'center' ? 'w-full lg:w-auto text-center lg:text-left' : '')
|
|
3877
|
+
className: "header-navigation-current text-on-base truncate leading-relaxed " + (mobileAlign === 'center' ? 'w-full lg:w-auto text-center lg:text-left' : '')
|
|
3874
3878
|
}, currentTitle))), React__default.createElement("div", {
|
|
3875
3879
|
className: "header-navigation-content flex shrink-0 max-w-1/2 items-center flex-grow justify-end gap-5 ml-2 whitespace-nowrap"
|
|
3876
3880
|
}, React__default.createElement("div", {
|