@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loja-integrada/admin-components",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "author": "Loja Integrada Front-End Team",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -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
  * */