Skip to content
Merged

sync #161

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
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- main
- stage

permissions:
contents: write
Expand All @@ -18,3 +18,5 @@ jobs:
token: ${{ secrets.GH_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
default-branch: main
target-branch: main
4 changes: 2 additions & 2 deletions src/components/ComponentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
// In a real project, this would be its own file with syntax highlighting (e.g., PrismJS or Shiki).
import { Eye, Code2, Info, ChevronDown, ChevronUp } from "lucide-react";
import { Button } from "@/components/ui/button";
import { Skeleton} from "@/components/ui/skeleton";
import { Skeleton } from "@/components/ui/skeleton";
import { useTheme } from "next-themes";
import { CodeBlock } from "@/components/CodeBlock";

Expand Down Expand Up @@ -83,7 +83,7 @@ export const ComponentCard = ({
{renderTitle()}
</h3>
)}

{/* Category Badge */}
{!loading && category && (
<span className="inline-flex items-center px-2.5 py-0.5 text-xs font-semibold rounded-full bg-primary/10 text-primary border border-primary/20">
Expand Down
5 changes: 2 additions & 3 deletions src/data/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ import { PlusIcon, HeartIcon, MessageCircleIcon } from "lucide-react";
import { SliderDemo } from "@/components/ui/sliderDemo";



export const componentsData = [
{
id: "button",
Expand Down Expand Up @@ -182,7 +181,7 @@ export function SwitchDemo() {
"An input where the user selects a value from within a given range.",
category: "Form",
// FIX: Using the separate functional component <SliderDemo />
preview: <SliderDemo />,
preview: <SliderDemo />,

// Code snippet reflecting the correct controlled usage for users
code: `import { Slider } from "@/components/ui/slider"
Expand Down Expand Up @@ -528,7 +527,7 @@ export function DialogDemo() {
</Dialog>
)
}`,
},
},
{
id: "progress",
title: "Progress",
Expand Down