@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
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@ export const TimelineItem = ({ item }: TimelineItemProps) => {
|
|
|
47
47
|
)}
|
|
48
48
|
{item.description && (
|
|
49
49
|
<div
|
|
50
|
-
className={`timeline-description overflow-hidden text-sm tracking-4 text-inverted-1 break-words transition-max-height ${
|
|
50
|
+
className={`timeline-description mt-1 overflow-hidden text-sm tracking-4 text-inverted-1 break-words transition-max-height ${
|
|
51
51
|
isOpen ? 'max-h-96' : 'max-h-0'
|
|
52
52
|
}`}
|
|
53
53
|
>
|
|
@@ -62,7 +62,7 @@ export const Breadcrumb: React.FC<BreadcrumbProps> = React.memo(
|
|
|
62
62
|
className={`header-navigation-breadcrumb max-w-full truncate w-full`}
|
|
63
63
|
>
|
|
64
64
|
<div className="w-full inline-flex self-center items-center font-semibold tracking-5 text-f5 sm:text-f4 lg:text-f3">
|
|
65
|
-
{(previousTitle || previousHref) && (
|
|
65
|
+
{(previousTitle || previousHref || Link) && (
|
|
66
66
|
<span className="header-navigation-previous inline-flex items-center text-on-base-2 text-xl -mr-px truncate">
|
|
67
67
|
{renderPrevLink()}
|
|
68
68
|
{previousTitle && (
|
|
@@ -131,11 +131,11 @@ export interface BreadcrumbProps {
|
|
|
131
131
|
/**
|
|
132
132
|
* Current page title
|
|
133
133
|
* */
|
|
134
|
-
currentTitle: string
|
|
134
|
+
currentTitle: string | React.ReactNode
|
|
135
135
|
/**
|
|
136
136
|
* Previous page title
|
|
137
137
|
* */
|
|
138
|
-
previousTitle?: string
|
|
138
|
+
previousTitle?: string | React.ReactNode
|
|
139
139
|
/**
|
|
140
140
|
* Previous page href
|
|
141
141
|
* */
|