@hanzo/ui 3.8.30 → 3.8.31

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": "@hanzo/ui",
3
- "version": "3.8.30",
3
+ "version": "3.8.31",
4
4
  "description": "Library that contains shared UI primitives, support for a common design system, and other boilerplate support.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -22,14 +22,15 @@ const AccordionItem = React.forwardRef<
22
22
  AccordionItem.displayName = "AccordionItem"
23
23
 
24
24
  type AccordionTriggerProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger> & {
25
- showChevron?: boolean;
25
+ showChevron?: boolean
26
+ headerClx?: string
26
27
  }
27
28
 
28
29
  const AccordionTrigger = React.forwardRef<
29
30
  React.ElementRef<typeof AccordionPrimitive.Trigger>,
30
31
  AccordionTriggerProps
31
- >(({ showChevron, className, children, ...props }, ref) => (
32
- <AccordionPrimitive.Header className="flex">
32
+ >(({ showChevron, headerClx, className, children, ...props }, ref) => (
33
+ <AccordionPrimitive.Header className={cn('flex', headerClx)}>
33
34
  <AccordionPrimitive.Trigger
34
35
  ref={ref}
35
36
  className={cn(