@loja-integrada/admin-components 0.15.0 → 0.15.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/dist/Navigation/Breadcrumb/index.d.ts +2 -2
- package/dist/admin-components.cjs.development.js +2 -2
- 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 +2 -2
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Components/Timeline/TimelineItem.tsx +1 -1
- package/src/Navigation/Breadcrumb/index.tsx +3 -3
|
@@ -8,11 +8,11 @@ export interface BreadcrumbProps {
|
|
|
8
8
|
/**
|
|
9
9
|
* Current page title
|
|
10
10
|
* */
|
|
11
|
-
currentTitle: string;
|
|
11
|
+
currentTitle: string | React.ReactNode;
|
|
12
12
|
/**
|
|
13
13
|
* Previous page title
|
|
14
14
|
* */
|
|
15
|
-
previousTitle?: string;
|
|
15
|
+
previousTitle?: string | React.ReactNode;
|
|
16
16
|
/**
|
|
17
17
|
* Previous page href
|
|
18
18
|
* */
|
|
@@ -2327,7 +2327,7 @@ var TimelineItem = function TimelineItem(_ref) {
|
|
|
2327
2327
|
size: 3,
|
|
2328
2328
|
className: "mr-1"
|
|
2329
2329
|
}), item.timestamp), item.description && React__default.createElement("div", {
|
|
2330
|
-
className: "timeline-description overflow-hidden text-sm tracking-4 text-inverted-1 break-words transition-max-height " + (isOpen ? 'max-h-96' : 'max-h-0')
|
|
2330
|
+
className: "timeline-description mt-1 overflow-hidden text-sm tracking-4 text-inverted-1 break-words transition-max-height " + (isOpen ? 'max-h-96' : 'max-h-0')
|
|
2331
2331
|
}, item.description)));
|
|
2332
2332
|
};
|
|
2333
2333
|
|
|
@@ -3162,7 +3162,7 @@ var Breadcrumb = /*#__PURE__*/React__default.memo(function (_ref) {
|
|
|
3162
3162
|
className: "header-navigation-breadcrumb max-w-full truncate w-full"
|
|
3163
3163
|
}, React__default.createElement("div", {
|
|
3164
3164
|
className: "w-full inline-flex self-center items-center font-semibold tracking-5 text-f5 sm:text-f4 lg:text-f3"
|
|
3165
|
-
}, (previousTitle || previousHref) && React__default.createElement("span", {
|
|
3165
|
+
}, (previousTitle || previousHref || Link) && React__default.createElement("span", {
|
|
3166
3166
|
className: "header-navigation-previous inline-flex items-center text-on-base-2 text-xl -mr-px truncate"
|
|
3167
3167
|
}, renderPrevLink(), previousTitle && React__default.createElement("span", {
|
|
3168
3168
|
className: "hidden lg:inline px-2 -ml-px"
|