@hanzo/ui 3.0.2 → 3.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
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/",
@@ -1,6 +1,6 @@
1
1
  import React from 'react'
2
2
 
3
- const TailwindIndicator: React.FC = () => {
3
+ const BreakpointIndicator: React.FC = () => {
4
4
 
5
5
  if (process.env.NODE_ENV === "production") return null
6
6
 
@@ -16,4 +16,4 @@ const TailwindIndicator: React.FC = () => {
16
16
  )
17
17
  }
18
18
 
19
- export default TailwindIndicator
19
+ export default BreakpointIndicator
@@ -65,7 +65,7 @@ export {
65
65
  TableCaption,
66
66
  } from './table'
67
67
 
68
- export { default as TailwindIndicator } from './tailwind-indicator'
68
+ export { default as BreakpointIndicator } from './breakpoint-indicator'
69
69
 
70
70
  export {
71
71
  type ToastProps,
@@ -36,8 +36,8 @@ const sheetVariants = cva(
36
36
  {
37
37
  variants: {
38
38
  side: {
39
- //top: 'inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top',
40
- //bottom: 'inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom',
39
+ top: 'inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top',
40
+ bottom: 'inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom',
41
41
  left: 'inset-y-0 left-0 h-full w-5/6 sm:w-2/3 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm',
42
42
  right:
43
43
  'inset-y-0 right-0 h-full w-5/6 sm:w-2/3 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm',
@@ -34,6 +34,7 @@ export default {
34
34
  bounce: 'bounce 1s infinite',
35
35
  "accordion-down": "accordion-down 0.2s ease-out",
36
36
  "accordion-up": "accordion-up 0.2s ease-out",
37
+ "mobile-menu-open": "opacity-in 300ms ease-in",
37
38
  },
38
39
  aria: {
39
40
  checked: 'checked="true"',
@@ -535,6 +536,10 @@ export default {
535
536
  from: { height: "var(--radix-accordion-content-height)" },
536
537
  to: { height: 0 },
537
538
  },
539
+ "opacity-in": {
540
+ from: { opacity: '0' },
541
+ to: { opacity: '1' }
542
+ },
538
543
  },
539
544
  letterSpacing: {
540
545
  tighter: '-0.05em',