Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/pkg-pr-new.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:

- name: Publish 🚀 pkg.pr.new
run: |
npx pkg-pr-new publish './packages/app-elements' --no-template
npx pkg-pr-new@0.0.68 publish './packages/app-elements' --no-template
4 changes: 2 additions & 2 deletions packages/app-elements/src/ui/atoms/A.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ describe("Anchor", () => {
click me
</A>,
)
expect(getByRole("link").className).toContain("bg-white")
expect(getByRole("link").className).toContain("text-red")
expect(getByRole("link").className).toContain("bg-red")
expect(getByRole("link").className).toContain("text-white")
expect(getByRole("link").className).toContain("border border-red")
})

Expand Down
4 changes: 2 additions & 2 deletions packages/app-elements/src/ui/atoms/Button.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ describe("Button", () => {

it("Should render as danger variant", () => {
const { getByRole } = render(<Button variant="danger">click me</Button>)
expect(getByRole("button").className).toContain("bg-white")
expect(getByRole("button").className).toContain("text-red")
expect(getByRole("button").className).toContain("bg-red")
expect(getByRole("button").className).toContain("text-white")
expect(getByRole("button").className).toContain("border border-red")
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ function getVariantCss(
"bg-white border border-gray-200 text-black hover:opacity-80 hover:bg-gray-50",
circle:
"bg-white text-black hover:opacity-80 hover:bg-gray-50 rounded-full",
danger: "font-medium bg-white border border-red text-red hover:bg-red/10",
danger:
"font-medium bg-red border border-red text-white hover:bg-red-300 hover:border-red-300",
link: "font-semibold text-primary hover:text-primary-light border-primary-light cursor-pointer",
relationship: "text-primary border border-gray-300 border-dashed",
input:
Expand Down
Loading