@hanzo/ui 3.8.8 → 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 +1 -1
- package/primitives/index.ts +0 -1
- package/primitives/main.tsx +0 -21
package/package.json
CHANGED
package/primitives/index.ts
CHANGED
|
@@ -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'
|
package/primitives/main.tsx
DELETED
|
@@ -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
|