Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
490 changes: 3 additions & 487 deletions apps/ui-library/__registry__/index.tsx

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions apps/ui-library/components/block-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,3 @@ export const BlockItem = ({ name }: BlockItemProps) => {
</div>
)
}

export const BlockItemPreview = ({ title, src }: { title: string; src: string }) => {
return (
<div className="flex items-center justify-center relative border rounded-lg">
<iframe src={src} className="w-full h-[600px] border-0 rounded-md" title={title} />
</div>
)
}
18 changes: 0 additions & 18 deletions apps/ui-library/components/class-label.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions apps/ui-library/components/click-counter.tsx

This file was deleted.

53 changes: 0 additions & 53 deletions apps/ui-library/components/code-block-wrapper.tsx

This file was deleted.

105 changes: 0 additions & 105 deletions apps/ui-library/components/code-fragment.tsx

This file was deleted.

97 changes: 0 additions & 97 deletions apps/ui-library/components/component-example.tsx

This file was deleted.

4 changes: 1 addition & 3 deletions apps/ui-library/components/component-preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { styles } from '@/registry/styles'
import { ChevronRight } from 'lucide-react'

interface ComponentPreviewProps extends React.HTMLAttributes<HTMLDivElement> {
name: string
name: keyof (typeof Index)['default']
extractClassname?: boolean
extractedClassNames?: string
align?: 'center' | 'start' | 'end'
Expand All @@ -36,8 +36,6 @@ export function ComponentPreview({
const [config] = useConfig()
const index = styles.findIndex((style) => style.name === config.style)

const [expand, setExpandState] = React.useState(false)

const Preview = React.useMemo(() => {
const Component = Index['default'][name]?.component

Expand Down
58 changes: 0 additions & 58 deletions apps/ui-library/components/component-props.tsx

This file was deleted.

Loading
Loading