@hanzo/ui 3.8.30 → 3.8.32

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.
@@ -88,8 +88,7 @@ const ScreenfulComponent: React.FC<{
88
88
  ...cwclx,
89
89
  snapTile ? 'absolute left-0 right-0 top-0 bottom-0 ' : 'flex min-h-screen w-full',
90
90
  contentClx,
91
- // TODO :aa py-0 breaks padding for header! Investigate why I would have done this!
92
- vertCenter ? 'self-center ' + (oneColumn ? '!py-0' : '' ) : ''
91
+ vertCenter ? 'self-center ' : ''
93
92
  )}
94
93
  >
95
94
  <Content block={b} agent={agent} className='w-full'/>
@@ -20,7 +20,7 @@ interface ScreenfulBlock extends Block {
20
20
  *
21
21
  * If in a scrolling situation, the video will autoplay when 75% in view
22
22
  */
23
- banner?: string | VideoBlock
23
+ banner?: string | VideoBlock // TODO: should be VideoDef
24
24
 
25
25
  /** Specifies rendering and layout hints and variants for block as a whole */
26
26
  specifiers?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "3.8.30",
3
+ "version": "3.8.32",
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(