kmod-cli 1.2.2 → 1.2.3

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.
@@ -28,7 +28,7 @@ export const Breadcrumbs: React.FC<BreadcrumbProps> = ({ items, indicator, class
28
28
  <nav className={cn("text-muted-foreground flex items-center space-x-1 text-sm", classNames?.container)} aria-label="Breadcrumb">
29
29
  {items.map((item, index) => (
30
30
  <React.Fragment key={index}>
31
- {index !== 0 && indicator && <ChevronRight className={cn("text-muted-foreground h-4 w-4", classNames?.indicator)} />}
31
+ {index !== 0 && (indicator || <ChevronRight className={cn("text-muted-foreground h-4 w-4", classNames?.indicator)} />)}
32
32
  {item.href && !item.isCurrent && item.as === "link" ? (
33
33
  <Link href={item.href} className={cn("hover:text-foreground transition-colors", classNames?.label)}>
34
34
  {item.label}
@@ -38,7 +38,7 @@ export const Breadcrumbs: React.FC<BreadcrumbProps> = ({ items, indicator, class
38
38
  {item.label}
39
39
  </a>
40
40
  ) : (
41
- <span className="text-foreground font-medium">{item.label}</span>
41
+ <span className={cn("text-foreground font-medium",classNames?.label)}>{item.label}</span>
42
42
  )}
43
43
  </React.Fragment>
44
44
  ))}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmod-cli",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Stack components utilities fast setup in projects",
5
5
  "author": "kumo_d",
6
6
  "license": "MIT",