Skip to content

Commit

Permalink
fix: tsc build errors (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
evadecker authored Sep 5, 2024
1 parent b9a083d commit d03457b
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 38 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-bikes-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"namesake": patch
---

Fix tsc build errors
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"lint:fix": "biome lint --write",
"format": "biome format",
"format:fix": "biome format --write",
"check": "biome check",
"check:fix": "biome check --write",
"check": "tsc && biome check",
"check:fix": "tsc && biome check --write",
"preview": "vite preview",
"test": "vitest",
"test:once": "vitest run",
Expand Down
71 changes: 39 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/components/shared/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ const boxStyles = tv({
true: "bg-[--color] border-[--color] [--color:theme(colors.gray.700)] group-pressed:[--color:theme(colors.gray.800)] dark:[--color:theme(colors.gray.300)] dark:group-pressed:[--color:theme(colors.gray.200)] forced-colors:![--color:Highlight]",
},
isInvalid: {
true: "[--color:theme(colors.red.700)] dark:[--color:theme(colors.red.600)] forced-colors:![--color:Mark] group-pressed:[--color:theme(colors.red.800)] dark:group-pressed:[--color:theme(colors.red.700)]",
true: "text-red-9 dark:text-reddark-9 forced-colors:![--color:Mark] group-pressed:[--color:theme(colors.red.800)] dark:group-pressed:[--color:theme(colors.red.700)]",
},
isDisabled: {
true: "[--color:theme(colors.gray.200)] dark:[--color:theme(colors.gray.700)] forced-colors:![--color:GrayText]",
true: "text-gray-7 dark:text-graydark-7 forced-colors:![--color:GrayText]",
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/RadioGroup.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { type ReactNode } from "react";
import type { ReactNode } from "react";
import {
Radio as AriaRadio,
RadioGroup as AriaRadioGroup,
Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/TagGroup.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { XIcon } from "lucide-react";
import React, { createContext, useContext } from "react";
import { createContext, useContext } from "react";
import {
Tag as AriaTag,
TagGroup as AriaTagGroup,
Expand Down

0 comments on commit d03457b

Please sign in to comment.