Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): upgrade justd-icons to v1.10.0 #252

Merged
merged 1 commit into from
Dec 13, 2024
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
4 changes: 2 additions & 2 deletions app/(app)/themes/blocks/revenue-chart.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -91,7 +91,7 @@ export function RevenueChart() {
<div className="flex w-full items-start gap-2 text-sm">
<div className="grid gap-2">
<div className="flex items-center gap-2 font-medium leading-none">
Profit increased by 5.2% this year <IconTrendingChart3 />
Profit increased by 5.2% this year <IconChartTrending />
</div>
<div className="flex items-center gap-2 leading-none text-muted-fg">
January - December {new Date().getFullYear() - 1}
Expand Down
4 changes: 2 additions & 2 deletions app/(app)/themes/blocks/subscription-chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import * as React from "react"

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

Expand Down Expand Up @@ -91,7 +91,7 @@ export function SubscriptionChart() {
</Card.Content>
<Card.Footer className="flex-col gap-2 text-sm">
<div className="flex items-center gap-2 font-medium leading-none">
Growth by 8.5% this month <IconTrendingChart3 />
Growth by 8.5% this month <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">
Showing total subscribers for the last 9 months
Expand Down
4 changes: 2 additions & 2 deletions app/(app)/themes/blocks/traffic-chart.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -88,7 +88,7 @@ export function TrafficChart() {
<div className="flex w-full items-start gap-2 text-sm">
<div className="grid gap-2">
<div className="flex items-center gap-2 font-medium leading-none">
Trending up by 5.2% this month <IconTrendingChart3 />
Trending up by 5.2% this month <IconChartTrending />
</div>
<div className="flex items-center gap-2 leading-none text-muted-fg">
August - October 2024
Expand Down
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions components/doc-refs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
IconBrandFramer,
IconBrandGithub,
IconBrandJustd,
IconChart2,
IconChartBar,
IconCommandFill
} from "justd-icons"
import { Menu, MenuItem } from "react-aria-components"
Expand All @@ -32,7 +32,7 @@ export function DocRefs({ references }: { references: string[] }) {
break
case url.includes("recharts"):
title = "Recharts"
icon = IconChart2
icon = IconChartBar
break
case url.includes("framer"):
title = "Framer Motion"
Expand Down
1,934 changes: 967 additions & 967 deletions components/docs/generated/previews.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions components/docs/layouts/navbar/navbar-icon-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
IconBrandApple,
IconBrandJustd,
IconChart3,
IconChartBar,
IconChevronLgDown,
IconColors,
IconCommandRegular,
Expand Down Expand Up @@ -36,7 +36,7 @@ export default function NavbarIconDemo() {
<IconColors /> Themes
</Navbar.Item>
<Navbar.Item href="https://getjustd.com/charts">
<IconChart3 /> Charts
<IconChartBar /> Charts
</Navbar.Item>
</Navbar.Section>
</Navbar.Nav>
Expand Down
2 changes: 1 addition & 1 deletion components/docs/overlays/sheet/sheet-menu-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
IconBrandCopilot,
IconBrandGithub,
IconBuilding,
IconChart,
IconChartBar,
IconCodeBrackets,
IconFilter,
IconGear,
Expand Down
4 changes: 2 additions & 2 deletions components/docs/surfaces/chart/area/area-chart-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -66,7 +66,7 @@ export default function AreaChartDemo() {
<div className="flex w-full items-start gap-2 text-sm">
<div className="grid gap-2">
<div className="flex items-center gap-2 font-medium leading-none">
Sales increased by 8.4% this year <IconTrendingChart3 />
Sales increased by 8.4% this year <IconChartTrending />
</div>
<div className="flex items-center gap-2 leading-none text-muted-fg">
January - December 2023
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -89,7 +89,7 @@ export default function AreaChartGradientDemo() {
<div className="flex w-full items-start gap-2 text-sm">
<div className="grid gap-2">
<div className="flex items-center gap-2 font-medium leading-none">
Profit increased by 10.2% this year <IconTrendingChart3 />
Profit increased by 10.2% this year <IconChartTrending />
</div>
<div className="flex items-center gap-2 leading-none text-muted-fg">
January - December 2024
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -69,7 +69,7 @@ export default function AreaChartLinearDemo() {
<div className="flex w-full items-start gap-2 text-sm">
<div className="grid gap-2">
<div className="flex items-center gap-2 font-medium leading-none">
Revenue increased by 12.5% this year <IconTrendingChart5 />
Revenue increased by 12.5% this year <IconChartTrending />
</div>
<div className="flex items-center gap-2 leading-none text-muted-fg">
January - December 2024
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -100,7 +100,7 @@ export default function BarChartAnalyticDemo() {
<div className="flex w-full items-start gap-2 text-sm">
<div className="grid gap-2">
<div className="flex items-center gap-2 font-medium leading-none">
Visitors increased by 5.2% this year <IconTrendingChart3 />
Visitors increased by 5.2% this year <IconChartTrending />
</div>
<div className="flex items-center gap-2 leading-none text-muted-fg">
Showing total visitors for last year
Expand Down
4 changes: 2 additions & 2 deletions components/docs/surfaces/chart/bar/bar-chart-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -55,7 +55,7 @@ export default function BarChartDemo() {
</Card.Content>
<Card.Footer className="flex-col items-start gap-2 text-sm">
<div className="flex gap-2 font-medium leading-none">
Trending up by 10.5% this month <IconTrendingChart3 />
Trending up by 10.5% this month <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">Showing total sales for the last 11 months</div>
</Card.Footer>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -78,7 +78,7 @@ export default function BarChartHorizontalDemo() {
</Card.Content>
<Card.Footer className="flex-col items-start gap-2 text-sm">
<div className="flex gap-2 font-medium leading-none">
Sales increased by 5.2% this year <IconTrendingChart3 />
Sales increased by 5.2% this year <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">
Showing total visitors for the last 7 months
Expand Down
4 changes: 2 additions & 2 deletions components/docs/surfaces/chart/bar/bar-chart-mixed-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -86,7 +86,7 @@ export default function BarChartMixedDemo() {
</Card.Content>
<Card.Footer className="flex-col items-start gap-2 text-sm">
<div className="flex gap-2 font-medium leading-none">
Trending up by 5.2% this month <IconTrendingChart3 />
Trending up by 5.2% this month <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">
Showing total visitors for the last 9 months
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -64,7 +64,7 @@ export default function BarChartMultipleDemo() {
</Card.Content>
<Card.Footer className="flex-col items-start gap-2 text-sm">
<div className="flex gap-2 font-medium leading-none">
Online courses increased by 15.2% this year <IconTrendingChart3 />
Online courses increased by 15.2% this year <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">
Showing total revenue for january 2023 to august 2024
Expand Down
4 changes: 2 additions & 2 deletions components/docs/surfaces/chart/basic-chart-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -90,7 +90,7 @@ export default function BasicChartDemo() {
<div className="flex w-full items-start gap-2 text-sm">
<div className="grid gap-2">
<div className="flex items-center gap-2 font-medium leading-none">
Profit increased by 10.2% this year <IconTrendingChart3 />
Profit increased by 10.2% this year <IconChartTrending />
</div>
<div className="flex items-center gap-2 leading-none text-muted-fg">
January - December 2024
Expand Down
4 changes: 2 additions & 2 deletions components/docs/surfaces/chart/line/line-chart-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -64,7 +64,7 @@ export default function LineChartDemo() {
</Card.Content>
<Card.Footer className="flex-col items-start gap-2 text-sm">
<div className="flex gap-2 font-medium leading-none">
Sales increased by 5.2% this year <IconTrendingChart3 />
Sales increased by 5.2% this year <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">Showing total visitors for one year</div>
</Card.Footer>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -85,7 +85,7 @@ export default function LineChartDotsColorDemo() {
</Card.Content>
<Card.Footer className="flex-col items-start gap-2 text-sm">
<div className="flex gap-2 font-medium leading-none">
Trending up by 5.2% this month <IconTrendingChart3 />
Trending up by 5.2% this month <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">
Showing total visitors for the last 10 months
Expand Down
4 changes: 2 additions & 2 deletions components/docs/surfaces/chart/line/line-chart-dots-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -73,7 +73,7 @@ export default function LineChartDotsDemo() {
</Card.Content>
<Card.Footer className="flex-col items-start gap-2 text-sm">
<div className="flex gap-2 font-medium leading-none">
Profit increased by 5.2% this year <IconTrendingChart3 />
Profit increased by 5.2% this year <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">
Showing total profit for the last 10 months
Expand Down
4 changes: 2 additions & 2 deletions components/docs/surfaces/chart/line/line-chart-label-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -70,7 +70,7 @@ export default function LineChartLabelDemo() {
</Card.Content>
<Card.Footer className="flex-col items-start gap-2 text-sm">
<div className="flex gap-2 font-medium leading-none">
Revenue increased by 5.2% this year <IconTrendingChart3 />
Revenue increased by 5.2% this year <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">
Showing total revenue for the last 10 months
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -74,7 +74,7 @@ export default function LineChartLinearDemo() {
</Card.Content>
<Card.Footer className="flex-col items-start gap-2 text-sm">
<div className="flex gap-2 font-medium leading-none">
Sales increased by 5.2% this year <IconTrendingChart3 />
Sales increased by 5.2% this year <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">
Showing sales for january 2023 to october 2024
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

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

Expand Down Expand Up @@ -81,7 +81,7 @@ export default function LineChartMultipleDemo() {
<div className="flex w-full items-start gap-2 text-sm">
<div className="grid gap-2">
<div className="flex items-center gap-2 font-medium leading-none">
Profit and sales increased by 12.5% this year <IconTrendingChart3 />
Profit and sales increased by 12.5% this year <IconChartTrending />
</div>
<div className="flex items-center gap-2 leading-none text-muted-fg">
January 2023 - April 2024
Expand Down
4 changes: 2 additions & 2 deletions components/docs/surfaces/chart/pie/pie-chart-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import * as React from "react"

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

Expand Down Expand Up @@ -83,7 +83,7 @@ export default function PieChartDemo() {
</Card.Content>
<Card.Footer className="flex-col gap-2 text-sm">
<div className="flex items-center gap-2 font-medium leading-none">
Subscribers increased by 8.5% this year <IconTrendingChart3 />
Subscribers increased by 8.5% this year <IconChartTrending />
</div>
<div className="leading-none text-muted-fg">
Showing total subscribers for the last 3 months
Expand Down
4 changes: 2 additions & 2 deletions components/docs/surfaces/chart/pie/pie-chart-label-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

import { IconTrendingChart3 } from "justd-icons"
import { IconChartTrending } from "justd-icons"
import { Pie, PieChart } from "recharts"
import { Card, Chart, type ChartConfig } from "ui"

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