Skip to content

Commit 9f1f408

Browse files
authored
Merge pull request #248 from phucto2001/deps/update-justd-icons
chore(deps): upgrade justd-icons to v1.10.0
2 parents 5251968 + 8785a68 commit 9f1f408

40 files changed

+1043
-1043
lines changed

app/(app)/themes/blocks/revenue-chart.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Area, AreaChart, CartesianGrid, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -91,7 +91,7 @@ export function RevenueChart() {
9191
<div className="flex w-full items-start gap-2 text-sm">
9292
<div className="grid gap-2">
9393
<div className="flex items-center gap-2 font-medium leading-none">
94-
Profit increased by 5.2% this year <IconTrendingChart3 />
94+
Profit increased by 5.2% this year <IconChartTrending />
9595
</div>
9696
<div className="flex items-center gap-2 leading-none text-muted-fg">
9797
January - December {new Date().getFullYear() - 1}

app/(app)/themes/blocks/subscription-chart.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import * as React from "react"
44

5-
import { IconTrendingChart3 } from "justd-icons"
5+
import { IconChartTrending } from "justd-icons"
66
import { Label, Pie, PieChart } from "recharts"
77
import { Card, Chart, type ChartConfig } from "ui"
88

@@ -91,7 +91,7 @@ export function SubscriptionChart() {
9191
</Card.Content>
9292
<Card.Footer className="flex-col gap-2 text-sm">
9393
<div className="flex items-center gap-2 font-medium leading-none">
94-
Growth by 8.5% this month <IconTrendingChart3 />
94+
Growth by 8.5% this month <IconChartTrending />
9595
</div>
9696
<div className="leading-none text-muted-fg">
9797
Showing total subscribers for the last 9 months

app/(app)/themes/blocks/traffic-chart.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Bar, BarChart, Rectangle, XAxis, YAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -88,7 +88,7 @@ export function TrafficChart() {
8888
<div className="flex w-full items-start gap-2 text-sm">
8989
<div className="grid gap-2">
9090
<div className="flex items-center gap-2 font-medium leading-none">
91-
Trending up by 5.2% this month <IconTrendingChart3 />
91+
Trending up by 5.2% this month <IconChartTrending />
9292
</div>
9393
<div className="flex items-center gap-2 leading-none text-muted-fg">
9494
August - October 2024

bun.lockb

96 Bytes
Binary file not shown.

components/doc-refs.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
IconBrandFramer,
1111
IconBrandGithub,
1212
IconBrandJustd,
13-
IconChart2,
13+
IconChartBar,
1414
IconCommandFill
1515
} from "justd-icons"
1616
import { Menu, MenuItem } from "react-aria-components"
@@ -32,7 +32,7 @@ export function DocRefs({ references }: { references: string[] }) {
3232
break
3333
case url.includes("recharts"):
3434
title = "Recharts"
35-
icon = IconChart2
35+
icon = IconChartBar
3636
break
3737
case url.includes("framer"):
3838
title = "Framer Motion"

components/docs/generated/previews.ts

+967-967
Large diffs are not rendered by default.

components/docs/layouts/navbar/navbar-icon-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
IconBrandApple,
33
IconBrandJustd,
4-
IconChart3,
4+
IconChartBar,
55
IconChevronLgDown,
66
IconColors,
77
IconCommandRegular,
@@ -36,7 +36,7 @@ export default function NavbarIconDemo() {
3636
<IconColors /> Themes
3737
</Navbar.Item>
3838
<Navbar.Item href="https://getjustd.com/charts">
39-
<IconChart3 /> Charts
39+
<IconChartBar /> Charts
4040
</Navbar.Item>
4141
</Navbar.Section>
4242
</Navbar.Nav>

components/docs/overlays/sheet/sheet-menu-demo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
IconBrandCopilot,
99
IconBrandGithub,
1010
IconBuilding,
11-
IconChart,
11+
IconChartBar,
1212
IconCodeBrackets,
1313
IconFilter,
1414
IconGear,

components/docs/surfaces/chart/area/area-chart-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Area, AreaChart, CartesianGrid, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -66,7 +66,7 @@ export default function AreaChartDemo() {
6666
<div className="flex w-full items-start gap-2 text-sm">
6767
<div className="grid gap-2">
6868
<div className="flex items-center gap-2 font-medium leading-none">
69-
Sales increased by 8.4% this year <IconTrendingChart3 />
69+
Sales increased by 8.4% this year <IconChartTrending />
7070
</div>
7171
<div className="flex items-center gap-2 leading-none text-muted-fg">
7272
January - December 2023

components/docs/surfaces/chart/area/area-chart-gradient-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Area, AreaChart, CartesianGrid, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -89,7 +89,7 @@ export default function AreaChartGradientDemo() {
8989
<div className="flex w-full items-start gap-2 text-sm">
9090
<div className="grid gap-2">
9191
<div className="flex items-center gap-2 font-medium leading-none">
92-
Profit increased by 10.2% this year <IconTrendingChart3 />
92+
Profit increased by 10.2% this year <IconChartTrending />
9393
</div>
9494
<div className="flex items-center gap-2 leading-none text-muted-fg">
9595
January - December 2024

components/docs/surfaces/chart/area/area-chart-linear-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart5 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Area, AreaChart, CartesianGrid, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -69,7 +69,7 @@ export default function AreaChartLinearDemo() {
6969
<div className="flex w-full items-start gap-2 text-sm">
7070
<div className="grid gap-2">
7171
<div className="flex items-center gap-2 font-medium leading-none">
72-
Revenue increased by 12.5% this year <IconTrendingChart5 />
72+
Revenue increased by 12.5% this year <IconChartTrending />
7373
</div>
7474
<div className="flex items-center gap-2 leading-none text-muted-fg">
7575
January - December 2024

components/docs/surfaces/chart/bar/bar-chart-analytic-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Bar, BarChart, Rectangle, XAxis, YAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -100,7 +100,7 @@ export default function BarChartAnalyticDemo() {
100100
<div className="flex w-full items-start gap-2 text-sm">
101101
<div className="grid gap-2">
102102
<div className="flex items-center gap-2 font-medium leading-none">
103-
Visitors increased by 5.2% this year <IconTrendingChart3 />
103+
Visitors increased by 5.2% this year <IconChartTrending />
104104
</div>
105105
<div className="flex items-center gap-2 leading-none text-muted-fg">
106106
Showing total visitors for last year

components/docs/surfaces/chart/bar/bar-chart-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Bar, BarChart, CartesianGrid, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -55,7 +55,7 @@ export default function BarChartDemo() {
5555
</Card.Content>
5656
<Card.Footer className="flex-col items-start gap-2 text-sm">
5757
<div className="flex gap-2 font-medium leading-none">
58-
Trending up by 10.5% this month <IconTrendingChart3 />
58+
Trending up by 10.5% this month <IconChartTrending />
5959
</div>
6060
<div className="leading-none text-muted-fg">Showing total sales for the last 11 months</div>
6161
</Card.Footer>

components/docs/surfaces/chart/bar/bar-chart-horizontal-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Bar, BarChart, CartesianGrid, LabelList, XAxis, YAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -78,7 +78,7 @@ export default function BarChartHorizontalDemo() {
7878
</Card.Content>
7979
<Card.Footer className="flex-col items-start gap-2 text-sm">
8080
<div className="flex gap-2 font-medium leading-none">
81-
Sales increased by 5.2% this year <IconTrendingChart3 />
81+
Sales increased by 5.2% this year <IconChartTrending />
8282
</div>
8383
<div className="leading-none text-muted-fg">
8484
Showing total visitors for the last 7 months

components/docs/surfaces/chart/bar/bar-chart-mixed-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Bar, BarChart, XAxis, YAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -86,7 +86,7 @@ export default function BarChartMixedDemo() {
8686
</Card.Content>
8787
<Card.Footer className="flex-col items-start gap-2 text-sm">
8888
<div className="flex gap-2 font-medium leading-none">
89-
Trending up by 5.2% this month <IconTrendingChart3 />
89+
Trending up by 5.2% this month <IconChartTrending />
9090
</div>
9191
<div className="leading-none text-muted-fg">
9292
Showing total visitors for the last 9 months

components/docs/surfaces/chart/bar/bar-chart-multiple-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Bar, BarChart, CartesianGrid, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -64,7 +64,7 @@ export default function BarChartMultipleDemo() {
6464
</Card.Content>
6565
<Card.Footer className="flex-col items-start gap-2 text-sm">
6666
<div className="flex gap-2 font-medium leading-none">
67-
Online courses increased by 15.2% this year <IconTrendingChart3 />
67+
Online courses increased by 15.2% this year <IconChartTrending />
6868
</div>
6969
<div className="leading-none text-muted-fg">
7070
Showing total revenue for january 2023 to august 2024

components/docs/surfaces/chart/basic-chart-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Area, AreaChart, CartesianGrid, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -90,7 +90,7 @@ export default function BasicChartDemo() {
9090
<div className="flex w-full items-start gap-2 text-sm">
9191
<div className="grid gap-2">
9292
<div className="flex items-center gap-2 font-medium leading-none">
93-
Profit increased by 10.2% this year <IconTrendingChart3 />
93+
Profit increased by 10.2% this year <IconChartTrending />
9494
</div>
9595
<div className="flex items-center gap-2 leading-none text-muted-fg">
9696
January - December 2024

components/docs/surfaces/chart/line/line-chart-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { CartesianGrid, Line, LineChart, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -64,7 +64,7 @@ export default function LineChartDemo() {
6464
</Card.Content>
6565
<Card.Footer className="flex-col items-start gap-2 text-sm">
6666
<div className="flex gap-2 font-medium leading-none">
67-
Sales increased by 5.2% this year <IconTrendingChart3 />
67+
Sales increased by 5.2% this year <IconChartTrending />
6868
</div>
6969
<div className="leading-none text-muted-fg">Showing total visitors for one year</div>
7070
</Card.Footer>

components/docs/surfaces/chart/line/line-chart-dots-color-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { CartesianGrid, Dot, Line, LineChart } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -85,7 +85,7 @@ export default function LineChartDotsColorDemo() {
8585
</Card.Content>
8686
<Card.Footer className="flex-col items-start gap-2 text-sm">
8787
<div className="flex gap-2 font-medium leading-none">
88-
Trending up by 5.2% this month <IconTrendingChart3 />
88+
Trending up by 5.2% this month <IconChartTrending />
8989
</div>
9090
<div className="leading-none text-muted-fg">
9191
Showing total visitors for the last 10 months

components/docs/surfaces/chart/line/line-chart-dots-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { CartesianGrid, Line, LineChart, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -73,7 +73,7 @@ export default function LineChartDotsDemo() {
7373
</Card.Content>
7474
<Card.Footer className="flex-col items-start gap-2 text-sm">
7575
<div className="flex gap-2 font-medium leading-none">
76-
Profit increased by 5.2% this year <IconTrendingChart3 />
76+
Profit increased by 5.2% this year <IconChartTrending />
7777
</div>
7878
<div className="leading-none text-muted-fg">
7979
Showing total profit for the last 10 months

components/docs/surfaces/chart/line/line-chart-label-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { CartesianGrid, LabelList, Line, LineChart, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -70,7 +70,7 @@ export default function LineChartLabelDemo() {
7070
</Card.Content>
7171
<Card.Footer className="flex-col items-start gap-2 text-sm">
7272
<div className="flex gap-2 font-medium leading-none">
73-
Revenue increased by 5.2% this year <IconTrendingChart3 />
73+
Revenue increased by 5.2% this year <IconChartTrending />
7474
</div>
7575
<div className="leading-none text-muted-fg">
7676
Showing total revenue for the last 10 months

components/docs/surfaces/chart/line/line-chart-linear-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { CartesianGrid, Line, LineChart, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -74,7 +74,7 @@ export default function LineChartLinearDemo() {
7474
</Card.Content>
7575
<Card.Footer className="flex-col items-start gap-2 text-sm">
7676
<div className="flex gap-2 font-medium leading-none">
77-
Sales increased by 5.2% this year <IconTrendingChart3 />
77+
Sales increased by 5.2% this year <IconChartTrending />
7878
</div>
7979
<div className="leading-none text-muted-fg">
8080
Showing sales for january 2023 to october 2024

components/docs/surfaces/chart/line/line-chart-multiple-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { CartesianGrid, Line, LineChart, XAxis } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -81,7 +81,7 @@ export default function LineChartMultipleDemo() {
8181
<div className="flex w-full items-start gap-2 text-sm">
8282
<div className="grid gap-2">
8383
<div className="flex items-center gap-2 font-medium leading-none">
84-
Profit and sales increased by 12.5% this year <IconTrendingChart3 />
84+
Profit and sales increased by 12.5% this year <IconChartTrending />
8585
</div>
8686
<div className="flex items-center gap-2 leading-none text-muted-fg">
8787
January 2023 - April 2024

components/docs/surfaces/chart/pie/pie-chart-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import * as React from "react"
44

5-
import { IconTrendingChart3 } from "justd-icons"
5+
import { IconChartTrending } from "justd-icons"
66
import { Label, Pie, PieChart } from "recharts"
77
import { Card, Chart, type ChartConfig } from "ui"
88

@@ -83,7 +83,7 @@ export default function PieChartDemo() {
8383
</Card.Content>
8484
<Card.Footer className="flex-col gap-2 text-sm">
8585
<div className="flex items-center gap-2 font-medium leading-none">
86-
Subscribers increased by 8.5% this year <IconTrendingChart3 />
86+
Subscribers increased by 8.5% this year <IconChartTrending />
8787
</div>
8888
<div className="leading-none text-muted-fg">
8989
Showing total subscribers for the last 3 months

components/docs/surfaces/chart/pie/pie-chart-label-demo.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client"
22

3-
import { IconTrendingChart3 } from "justd-icons"
3+
import { IconChartTrending } from "justd-icons"
44
import { Pie, PieChart } from "recharts"
55
import { Card, Chart, type ChartConfig } from "ui"
66

@@ -58,7 +58,7 @@ export default function PieChartLabelDemo() {
5858
</Card.Content>
5959
<Card.Footer className="flex-col gap-2 text-sm">
6060
<div className="flex items-center gap-2 font-medium leading-none">
61-
Trending up by 5.2% this month <IconTrendingChart3 />
61+
Trending up by 5.2% this month <IconChartTrending />
6262
</div>
6363
<div className="leading-none text-muted-fg">
6464
Showing total visitors for the last 6 months

0 commit comments

Comments
 (0)