@hanzo/ui 3.0.10 → 3.0.12

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.
@@ -74,7 +74,7 @@ const ScreenfulComponent: React.FC<{
74
74
  )}
75
75
  <div className={cn(
76
76
  ...cwclx,
77
- snapTile ? 'absolute left-0 right-0 top-0 bottom-0' : 'flex min-h-screen w-full',
77
+ snapTile ? 'absolute z-[1] left-0 right-0 top-0 bottom-0 ' : 'flex min-h-screen w-full',
78
78
  contentClx,
79
79
  vertCenter ? '!py-0 self-center' : ''
80
80
  )}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "3.0.10",
3
+ "version": "3.0.12",
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/",
@@ -41,7 +41,7 @@ const DrawerContent = React.forwardRef<
41
41
  <DrawerPrimitive.Content
42
42
  ref={ref}
43
43
  className={cn(
44
- 'fixed inset-x-0 bottom-0 z-20 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background',
44
+ 'fixed inset-x-0 bottom-0 z-[25] mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background',
45
45
  className
46
46
  )}
47
47
  {...props}
@@ -1,27 +1,27 @@
1
- "use client"
1
+ 'use client'
2
2
 
3
- import { useTheme } from "next-themes"
4
- import { Toaster as Sonner } from "sonner"
5
- import { toast } from "sonner"
3
+ import { useTheme } from 'next-themes'
4
+ import { Toaster as Sonner } from 'sonner'
5
+ import { toast } from 'sonner'
6
6
 
7
7
  type ToasterProps = React.ComponentProps<typeof Sonner>
8
8
 
9
9
  const Toaster = ({ ...props }: ToasterProps) => {
10
- const { theme = "system" } = useTheme()
10
+ const { theme = 'system' } = useTheme()
11
11
 
12
12
  return (
13
13
  <Sonner
14
- theme={theme as ToasterProps["theme"]}
15
- className="toaster group"
14
+ theme={theme as ToasterProps['theme']}
15
+ className='toaster group'
16
16
  toastOptions={{
17
17
  classNames: {
18
18
  toast:
19
- "group toast group-[.toaster]:bg-level-2 group-[.toaster]:text-foreground group-[.toaster]:border-muted-3 group-[.toaster]:shadow-lg",
20
- description: "group-[.toast]:text-foreground",
19
+ 'group toast group-[.toaster]:bg-level-2 group-[.toaster]:text-foreground group-[.toaster]:border-muted-3 group-[.toaster]:shadow-lg',
20
+ description: 'group-[.toast]:text-foreground',
21
21
  actionButton:
22
- "group-[.toast]:bg-primary group-[.toast]:text-primary-fg",
22
+ 'group-[.toast]:bg-primary group-[.toast]:text-primary-fg',
23
23
  cancelButton:
24
- "group-[.toast]:bg-transparent group-[.toast]:text-foreground",
24
+ 'group-[.toast]:bg-transparent group-[.toast]:text-foreground',
25
25
  },
26
26
  }}
27
27
  {...props}