Skip to content

Commit a43eb11

Browse files
authored
chore: sync Figma resources (medusajs#14297)
* chore: sync icons * chore: changesets * fix: linear component
1 parent 15dbc43 commit a43eb11

File tree

181 files changed

+3838
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+3838
-143
lines changed

.changeset/grumpy-areas-reply.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@medusajs/icons": patch
3+
---
4+
5+
chore(icons): sync new icons
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import * as React from "react"
2+
import { cleanup, render, screen } from "@testing-library/react"
3+
4+
import ArrowTurnUp from "../arrow-turn-up"
5+
6+
describe("ArrowTurnUp", () => {
7+
it("should render the icon without errors", async () => {
8+
render(<ArrowTurnUp data-testid="icon" />)
9+
10+
11+
const svgElement = screen.getByTestId("icon")
12+
13+
expect(svgElement).toBeInTheDocument()
14+
15+
cleanup()
16+
})
17+
})

packages/design-system/icons/src/components/__tests__/circle-minus.spec.tsx renamed to packages/design-system/icons/src/components/__tests__/astro.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import * as React from "react"
22
import { cleanup, render, screen } from "@testing-library/react"
33

4-
import CircleMinus from "../circle-minus"
4+
import Astro from "../astro"
55

6-
describe("CircleMinus", () => {
6+
describe("Astro", () => {
77
it("should render the icon without errors", async () => {
8-
render(<CircleMinus data-testid="icon" />)
8+
render(<Astro data-testid="icon" />)
99

1010

1111
const svgElement = screen.getByTestId("icon")
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import * as React from "react"
2+
import { cleanup, render, screen } from "@testing-library/react"
3+
4+
import BloomBadge from "../bloom-badge"
5+
6+
describe("BloomBadge", () => {
7+
it("should render the icon without errors", async () => {
8+
render(<BloomBadge data-testid="icon" />)
9+
10+
11+
const svgElement = screen.getByTestId("icon")
12+
13+
expect(svgElement).toBeInTheDocument()
14+
15+
cleanup()
16+
})
17+
})
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import * as React from "react"
2+
import { cleanup, render, screen } from "@testing-library/react"
3+
4+
import Bloom from "../bloom"
5+
6+
describe("Bloom", () => {
7+
it("should render the icon without errors", async () => {
8+
render(<Bloom data-testid="icon" />)
9+
10+
11+
const svgElement = screen.getByTestId("icon")
12+
13+
expect(svgElement).toBeInTheDocument()
14+
15+
cleanup()
16+
})
17+
})
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import * as React from "react"
2+
import { cleanup, render, screen } from "@testing-library/react"
3+
4+
import ChartActivity from "../chart-activity"
5+
6+
describe("ChartActivity", () => {
7+
it("should render the icon without errors", async () => {
8+
render(<ChartActivity data-testid="icon" />)
9+
10+
11+
const svgElement = screen.getByTestId("icon")
12+
13+
expect(svgElement).toBeInTheDocument()
14+
15+
cleanup()
16+
})
17+
})
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import * as React from "react"
2+
import { cleanup, render, screen } from "@testing-library/react"
3+
4+
import CircleCheckSolid from "../circle-check-solid"
5+
6+
describe("CircleCheckSolid", () => {
7+
it("should render the icon without errors", async () => {
8+
render(<CircleCheckSolid data-testid="icon" />)
9+
10+
11+
const svgElement = screen.getByTestId("icon")
12+
13+
expect(svgElement).toBeInTheDocument()
14+
15+
cleanup()
16+
})
17+
})
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import * as React from "react"
2+
import { cleanup, render, screen } from "@testing-library/react"
3+
4+
import CircleInfoSolid from "../circle-info-solid"
5+
6+
describe("CircleInfoSolid", () => {
7+
it("should render the icon without errors", async () => {
8+
render(<CircleInfoSolid data-testid="icon" />)
9+
10+
11+
const svgElement = screen.getByTestId("icon")
12+
13+
expect(svgElement).toBeInTheDocument()
14+
15+
cleanup()
16+
})
17+
})
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import * as React from "react"
2+
import { cleanup, render, screen } from "@testing-library/react"
3+
4+
import CircleMinusSolid from "../circle-minus-solid"
5+
6+
describe("CircleMinusSolid", () => {
7+
it("should render the icon without errors", async () => {
8+
render(<CircleMinusSolid data-testid="icon" />)
9+
10+
11+
const svgElement = screen.getByTestId("icon")
12+
13+
expect(svgElement).toBeInTheDocument()
14+
15+
cleanup()
16+
})
17+
})
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import * as React from "react"
2+
import { cleanup, render, screen } from "@testing-library/react"
3+
4+
import CircleWarningSolid from "../circle-warning-solid"
5+
6+
describe("CircleWarningSolid", () => {
7+
it("should render the icon without errors", async () => {
8+
render(<CircleWarningSolid data-testid="icon" />)
9+
10+
11+
const svgElement = screen.getByTestId("icon")
12+
13+
expect(svgElement).toBeInTheDocument()
14+
15+
cleanup()
16+
})
17+
})

0 commit comments

Comments
 (0)