From 5e3358f991634645a14bc35dda66a078fab60765 Mon Sep 17 00:00:00 2001 From: danewhitfield Date: Sat, 6 Jul 2024 15:20:50 +0100 Subject: [PATCH] fix(combobox): fixes issue 4101 with combobox --- .../__registry__/default/block/chart-pie-label.tsx | 2 +- .../__registry__/default/block/chart-pie-legend.tsx | 11 ++--------- apps/www/__registry__/default/block/dashboard-01.tsx | 4 +++- apps/www/__registry__/default/block/dashboard-02.tsx | 3 +-- apps/www/__registry__/default/block/dashboard-03.tsx | 6 ++---- apps/www/__registry__/default/block/dashboard-04.tsx | 3 +-- apps/www/__registry__/default/block/dashboard-05.tsx | 8 ++++++-- apps/www/__registry__/default/block/dashboard-07.tsx | 3 +-- .../new-york/block/chart-bar-interactive.tsx | 4 ++-- .../new-york/block/chart-pie-label-custom.tsx | 7 ++----- .../new-york/block/chart-pie-label-list.tsx | 2 +- .../__registry__/new-york/block/chart-pie-label.tsx | 2 +- .../__registry__/new-york/block/chart-pie-legend.tsx | 11 ++--------- apps/www/__registry__/new-york/block/dashboard-01.tsx | 4 +++- apps/www/__registry__/new-york/block/dashboard-02.tsx | 3 +-- apps/www/__registry__/new-york/block/dashboard-03.tsx | 6 ++---- apps/www/__registry__/new-york/block/dashboard-04.tsx | 3 +-- apps/www/__registry__/new-york/block/dashboard-05.tsx | 8 ++++++-- apps/www/__registry__/new-york/block/dashboard-07.tsx | 3 +-- apps/www/content/docs/components/combobox.mdx | 11 +++++++---- apps/www/registry/default/example/combobox-demo.tsx | 11 +++++++---- apps/www/registry/new-york/example/combobox-demo.tsx | 11 +++++++---- 22 files changed, 60 insertions(+), 66 deletions(-) diff --git a/apps/www/__registry__/default/block/chart-pie-label.tsx b/apps/www/__registry__/default/block/chart-pie-label.tsx index 54914a25478..26c294cd652 100644 --- a/apps/www/__registry__/default/block/chart-pie-label.tsx +++ b/apps/www/__registry__/default/block/chart-pie-label.tsx @@ -64,7 +64,7 @@ export default function Component() { } /> diff --git a/apps/www/__registry__/default/block/chart-pie-legend.tsx b/apps/www/__registry__/default/block/chart-pie-legend.tsx index aca8cac60f1..3e3d7534a82 100644 --- a/apps/www/__registry__/default/block/chart-pie-legend.tsx +++ b/apps/www/__registry__/default/block/chart-pie-legend.tsx @@ -1,6 +1,6 @@ "use client" -import { LabelList, Pie, PieChart } from "recharts" +import { Pie, PieChart } from "recharts" import { Card, @@ -65,14 +65,7 @@ export default function Component() { className="mx-auto aspect-square max-h-[300px]" > - - - + } className="-translate-y-2 flex-wrap gap-2 [&>*]:basis-1/4 [&>*]:justify-center" diff --git a/apps/www/__registry__/default/block/dashboard-01.tsx b/apps/www/__registry__/default/block/dashboard-01.tsx index 74bc72a8cde..f503c767f82 100644 --- a/apps/www/__registry__/default/block/dashboard-01.tsx +++ b/apps/www/__registry__/default/block/dashboard-01.tsx @@ -229,7 +229,9 @@ export default function Dashboard() {
- +
Transactions diff --git a/apps/www/__registry__/default/block/dashboard-02.tsx b/apps/www/__registry__/default/block/dashboard-02.tsx index 10e217352a4..7da1285d986 100644 --- a/apps/www/__registry__/default/block/dashboard-02.tsx +++ b/apps/www/__registry__/default/block/dashboard-02.tsx @@ -227,8 +227,7 @@ export default function Dashboard() {

Inventory

diff --git a/apps/www/__registry__/default/block/dashboard-03.tsx b/apps/www/__registry__/default/block/dashboard-03.tsx index ea89e0e67a9..bb71b92b2f2 100644 --- a/apps/www/__registry__/default/block/dashboard-03.tsx +++ b/apps/www/__registry__/default/block/dashboard-03.tsx @@ -302,8 +302,7 @@ export default function Dashboard() {
@@ -420,8 +419,7 @@ export default function Dashboard() {