@heroui/breadcrumbs
Advanced tools
Comparing version 0.0.0-canary-20250130123208 to 0.0.0-canary-20250130124029
@@ -12,2 +12,2 @@ import * as _heroui_system from '@heroui/system'; | ||
export { BreadcrumbItemProps, Breadcrumbs as default }; | ||
export { type BreadcrumbItemProps, Breadcrumbs as default }; |
@@ -144,3 +144,1 @@ "use client"; | ||
var breadcrumb_item_default = Breadcrumbs; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
@@ -15,2 +15,2 @@ import * as _heroui_system from '@heroui/system'; | ||
export { BreadcrumbsProps, Breadcrumbs as default }; | ||
export { type BreadcrumbsProps, Breadcrumbs as default }; |
@@ -293,4 +293,3 @@ "use client"; | ||
}); | ||
if (!items) | ||
return null; | ||
if (!items) return null; | ||
if (childCount < maxItems) { | ||
@@ -343,3 +342,1 @@ return items; | ||
var breadcrumbs_default = Breadcrumbs2; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
@@ -22,4 +22,4 @@ "use client"; | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
var index_exports = {}; | ||
__export(index_exports, { | ||
BreadcrumbItem: () => breadcrumb_item_default, | ||
@@ -30,3 +30,3 @@ Breadcrumbs: () => breadcrumbs_default, | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
module.exports = __toCommonJS(index_exports); | ||
@@ -300,4 +300,3 @@ // src/breadcrumbs.tsx | ||
}); | ||
if (!items) | ||
return null; | ||
if (!items) return null; | ||
if (childCount < maxItems) { | ||
@@ -304,0 +303,0 @@ return items; |
@@ -54,7 +54,7 @@ import * as react from 'react'; | ||
getBaseProps: () => { | ||
id?: string | undefined; | ||
'aria-label'?: string | undefined; | ||
'aria-labelledby'?: string | undefined; | ||
'aria-describedby'?: string | undefined; | ||
'aria-details'?: string | undefined; | ||
id?: string; | ||
'aria-label'?: string; | ||
'aria-labelledby'?: string; | ||
'aria-describedby'?: string; | ||
'aria-details'?: string; | ||
ref: react.RefObject<HTMLLIElement>; | ||
@@ -64,3 +64,3 @@ "data-slot": string; | ||
}; | ||
getItemProps: PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>; | ||
getItemProps: PropGetter; | ||
getSeparatorProps: () => { | ||
@@ -74,2 +74,2 @@ "data-slot": string; | ||
export { UseBreadcrumbItemProps, UseBreadcrumbItemReturn, useBreadcrumbItem }; | ||
export { type UseBreadcrumbItemProps, type UseBreadcrumbItemReturn, useBreadcrumbItem }; |
@@ -101,41 +101,41 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
size?: "sm" | "md" | "lg" | undefined; | ||
radius?: "sm" | "md" | "lg" | "none" | "full" | undefined; | ||
radius?: "none" | "sm" | "md" | "lg" | "full" | undefined; | ||
variant?: "solid" | "bordered" | "light" | undefined; | ||
} & tailwind_variants.ClassProp<ClassValue>) | undefined) => string; | ||
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string; | ||
list: (slotProps?: ({ | ||
size?: "sm" | "md" | "lg" | undefined; | ||
radius?: "sm" | "md" | "lg" | "none" | "full" | undefined; | ||
radius?: "none" | "sm" | "md" | "lg" | "full" | undefined; | ||
variant?: "solid" | "bordered" | "light" | undefined; | ||
} & tailwind_variants.ClassProp<ClassValue>) | undefined) => string; | ||
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string; | ||
ellipsis: (slotProps?: ({ | ||
size?: "sm" | "md" | "lg" | undefined; | ||
radius?: "sm" | "md" | "lg" | "none" | "full" | undefined; | ||
radius?: "none" | "sm" | "md" | "lg" | "full" | undefined; | ||
variant?: "solid" | "bordered" | "light" | undefined; | ||
} & tailwind_variants.ClassProp<ClassValue>) | undefined) => string; | ||
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string; | ||
separator: (slotProps?: ({ | ||
size?: "sm" | "md" | "lg" | undefined; | ||
radius?: "sm" | "md" | "lg" | "none" | "full" | undefined; | ||
radius?: "none" | "sm" | "md" | "lg" | "full" | undefined; | ||
variant?: "solid" | "bordered" | "light" | undefined; | ||
} & tailwind_variants.ClassProp<ClassValue>) | undefined) => string; | ||
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string; | ||
} & { | ||
base: (slotProps?: ({ | ||
size?: "sm" | "md" | "lg" | undefined; | ||
radius?: "sm" | "md" | "lg" | "none" | "full" | undefined; | ||
radius?: "none" | "sm" | "md" | "lg" | "full" | undefined; | ||
variant?: "solid" | "bordered" | "light" | undefined; | ||
} & tailwind_variants.ClassProp<ClassValue>) | undefined) => string; | ||
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string; | ||
list: (slotProps?: ({ | ||
size?: "sm" | "md" | "lg" | undefined; | ||
radius?: "sm" | "md" | "lg" | "none" | "full" | undefined; | ||
radius?: "none" | "sm" | "md" | "lg" | "full" | undefined; | ||
variant?: "solid" | "bordered" | "light" | undefined; | ||
} & tailwind_variants.ClassProp<ClassValue>) | undefined) => string; | ||
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string; | ||
ellipsis: (slotProps?: ({ | ||
size?: "sm" | "md" | "lg" | undefined; | ||
radius?: "sm" | "md" | "lg" | "none" | "full" | undefined; | ||
radius?: "none" | "sm" | "md" | "lg" | "full" | undefined; | ||
variant?: "solid" | "bordered" | "light" | undefined; | ||
} & tailwind_variants.ClassProp<ClassValue>) | undefined) => string; | ||
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string; | ||
separator: (slotProps?: ({ | ||
size?: "sm" | "md" | "lg" | undefined; | ||
radius?: "sm" | "md" | "lg" | "none" | "full" | undefined; | ||
radius?: "none" | "sm" | "md" | "lg" | "full" | undefined; | ||
variant?: "solid" | "bordered" | "light" | undefined; | ||
} & tailwind_variants.ClassProp<ClassValue>) | undefined) => string; | ||
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string; | ||
} & {}; | ||
@@ -147,7 +147,7 @@ separator: ReactNode; | ||
maxItems: number; | ||
classNames: SlotsToClasses<"base" | "list" | "ellipsis" | "separator"> | undefined; | ||
classNames: SlotsToClasses<"base" | "list" | "separator" | "ellipsis"> | undefined; | ||
isDisabled: boolean | undefined; | ||
itemProps: Partial<BreadcrumbItemProps>; | ||
renderEllipsis: ((props: RenderEllipsisItemProps) => ReactNode) | undefined; | ||
getBaseProps: PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>; | ||
getBaseProps: PropGetter; | ||
getListProps: () => { | ||
@@ -170,2 +170,2 @@ "data-slot": string; | ||
export { UseBreadcrumbsProps, UseBreadcrumbsReturn, useBreadcrumbs }; | ||
export { type UseBreadcrumbsProps, type UseBreadcrumbsReturn, useBreadcrumbs }; |
{ | ||
"name": "@heroui/breadcrumbs", | ||
"version": "0.0.0-canary-20250130123208", | ||
"version": "0.0.0-canary-20250130124029", | ||
"description": "Breadcrumbs display a hierarchy of links to the current page or resource in an application.", | ||
@@ -30,4 +30,4 @@ "keywords": [ | ||
"react-dom": ">=18 || >=19.0.0-rc.0", | ||
"@heroui/theme": "0.0.0-canary-20250130123208", | ||
"@heroui/system": "0.0.0-canary-20250130123208" | ||
"@heroui/theme": "0.0.0-canary-20250130124029", | ||
"@heroui/system": "0.0.0-canary-20250130124029" | ||
}, | ||
@@ -40,5 +40,5 @@ "dependencies": { | ||
"@react-types/shared": "3.27.0", | ||
"@heroui/react-utils": "0.0.0-canary-20250130123208", | ||
"@heroui/shared-utils": "0.0.0-canary-20250130123208", | ||
"@heroui/shared-icons": "2.1.2" | ||
"@heroui/react-utils": "0.0.0-canary-20250130124029", | ||
"@heroui/shared-utils": "0.0.0-canary-20250130124029", | ||
"@heroui/shared-icons": "0.0.0-canary-20250130124029" | ||
}, | ||
@@ -45,0 +45,0 @@ "clean-package": "../../../clean-package.config.json", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
77929
27
1826
+ Added@heroui/react-rsc-utils@0.0.0-canary-20250130124029(transitive)
+ Added@heroui/react-utils@0.0.0-canary-20250130124029(transitive)
+ Added@heroui/shared-icons@0.0.0-canary-20250130124029(transitive)
+ Added@heroui/shared-utils@0.0.0-canary-20250130124029(transitive)
+ Added@heroui/system@0.0.0-canary-20250130124029(transitive)
+ Added@heroui/system-rsc@0.0.0-canary-20250130124029(transitive)
+ Added@heroui/theme@0.0.0-canary-20250130124029(transitive)
+ Addedtailwind-merge@2.5.4(transitive)
+ Addedtailwind-variants@0.3.0(transitive)
- Removed@heroui/react-rsc-utils@2.1.2(transitive)
- Removed@heroui/react-utils@0.0.0-canary-20250130123208(transitive)
- Removed@heroui/shared-icons@2.1.2(transitive)
- Removed@heroui/shared-utils@0.0.0-canary-20250130123208(transitive)
- Removed@heroui/system@0.0.0-canary-20250130123208(transitive)
- Removed@heroui/system-rsc@0.0.0-canary-20250130123208(transitive)
- Removed@heroui/theme@0.0.0-canary-20250130123208(transitive)
- Removedtailwind-merge@1.14.02.6.0(transitive)
- Removedtailwind-variants@0.1.20(transitive)