@hanzo/ui 3.8.7 → 3.8.9

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.7",
3
+ "version": "3.8.9",
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/",
@@ -183,7 +183,6 @@ export { default as Input } from './input'
183
183
  export { default as Label } from './label'
184
184
  export { default as LinkElement } from './link-element'
185
185
  export { default as ListBox } from './list-box'
186
- export { default as Main } from './main'
187
186
  export { default as MDXLink } from './mdx-link'
188
187
  export { default as MediaStack } from './media-stack'
189
188
  export { default as NavItems} from './nav-items'
@@ -842,6 +842,8 @@ export default {
842
842
  opacity: 'opacity',
843
843
  shadow: 'box-shadow',
844
844
  transform: 'transform',
845
+ height: 'height',
846
+ spacing: 'margin, padding',
845
847
  },
846
848
  transitionTimingFunction: {
847
849
  DEFAULT: 'cubic-bezier(0.4, 0, 0.2, 1)',
@@ -1,21 +0,0 @@
1
- import React, { type PropsWithChildren } from 'react'
2
- import { cn } from '../util'
3
-
4
- const c = 'max-w-screen-2xl 2xl:w-[1500px] lg:mx-auto ' +
5
- 'flex flex-col justify-start items-center ' +
6
- 'p-4 md:px-6 lg:px-8 '
7
-
8
- const Main: React.FC<PropsWithChildren & {
9
- id?: string
10
- className?: string
11
- }> = ({
12
- children,
13
- className='',
14
- id
15
- }) => (
16
- <main id={id ?? 'HZO_UI_MAIN'} className={cn(c, className)}>
17
- {children}
18
- </main>
19
- )
20
-
21
- export default Main