Skip to content

Commit

Permalink
chore: update dependencies (#76)
Browse files Browse the repository at this point in the history
* chore: update dependencies

* docs(wedges): add changeset

* fix(Tooltip): bottom animation
  • Loading branch information
brankoconjic authored Jun 11, 2024
1 parent 1d2cd96 commit 0d4f774
Show file tree
Hide file tree
Showing 13 changed files with 1,572 additions and 1,537 deletions.
5 changes: 5 additions & 0 deletions .changeset/cuddly-kids-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@lemonsqueezy/wedges": patch
---

Update dependencies
5 changes: 5 additions & 0 deletions .changeset/six-poets-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@lemonsqueezy/wedges": patch
---

Fix tooltip bottom animation
10 changes: 5 additions & 5 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"generate:examples": "node src/scripts/generateExamples.mjs"
},
"dependencies": {
"@headlessui/react": "^2.0.3",
"@headlessui/react": "^2.0.4",
"@iconicicons/react": "^1.5.1",
"@radix-ui/react-scroll-area": "^1.0.5",
"fathom-client": "^3.6.0",
"next": "14.1.0",
"sass": "^1.77.1",
"next": "14.2.3",
"sass": "^1.77.4",
"shikiji": "0.10.x"
},
"devDependencies": {
Expand All @@ -30,11 +30,11 @@
"autoprefixer": "^10.4.19",
"contentlayer": "latest",
"hast-util-from-html-isomorphic": "^2.0.0",
"mdast-util-toc": "^7.0.0",
"mdast-util-toc": "^7.1.0",
"next-contentlayer": "latest",
"postcss": "^8",
"rehype-autolink-headings": "^7.1.0",
"rehype-pretty-code": "^0.13.0",
"rehype-pretty-code": "^0.13.2",
"rehype-slug": "^6.0.0",
"remark": "^15.0.1",
"remark-gfm": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/TableOfContents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function Tree({ items, activeItemId, className, sub }: TreeProps) {
<a
className={cn(
"-ml-px flex max-w-fit items-center border-l border-transparent outline-primary transition-colors",
" hover:text-surface-900",
"hover:text-surface-900",
item.url === `#${activeItemId}` && "active",
sub && "ml-2"
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/examples/dropdown-menu/example-2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function Example() {
status="green"
/>

<span className=" ms-2 flex flex-col">
<span className="ms-2 flex flex-col">
<span className="font-medium">John Doe</span>
</span>

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/examples/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ export function Example() {
status="green"
/>
<span className=" ms-2 flex flex-col">
<span className="ms-2 flex flex-col">
<span className="font-medium">John Doe</span>
</span>
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"private": true,
"name": "wedges-monorepo",
"workspaces": [
"apps/*",
"packages/*"
Expand All @@ -22,30 +23,30 @@
"release:dev": "pnpm build && changeset publish --snapshot --no-git-tag --tag dev"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@changesets/cli": "^2.27.5",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.11",
"@types/react": "^18.3.1",
"@types/node": "^20.14.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@wedges/eslint-config": "workspace:*",
"clsx": "^2.1.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.14",
"prettier": "^3.3.1",
"prettier-plugin-tailwindcss": "^0.6.2",
"react": "^18.3.1",
"react-dom": "18.3.1",
"rimraf": "^5.0.6",
"rimraf": "^5.0.7",
"tailwind-merge": "^2.3.0",
"tailwindcss": "3.4.3",
"ts-jest": "^29.1.2",
"turbo": "^1.13.3",
"tailwindcss": "3.4.4",
"ts-jest": "^29.1.4",
"turbo": "^2.0.3",
"typescript": "^5.4.5"
},
"packageManager": "pnpm@9.1.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"eslint-wedges.cjs"
],
"devDependencies": {
"@next/eslint-plugin-next": "^14.1.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@next/eslint-plugin-next": "^14.2.3",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"eslint": "^8",
"eslint-config-prettier": "^9.1.0",
"eslint-config-turbo": "^1.12.3",
"eslint-config-turbo": "^2.0.3",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-tailwindcss": "^3.14.2"
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-tailwindcss": "^3.17.3"
}
}
4 changes: 2 additions & 2 deletions packages/wedges/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@
"tailwind-merge": "^2.3.0"
},
"devDependencies": {
"@swc/core": "^1.5.5",
"@swc/core": "^1.5.27",
"@types/color": "^3.0.6",
"@types/lodash.omit": "^4.5.9",
"@wedges/eslint-config": "workspace:*",
"concurrently": "^8.2.2",
"tsup": "^8.0.2"
"tsup": "^8.1.0"
},
"peerDependencies": {
"@types/react": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/wedges/src/components/Tabs/variants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const tabVariants = cva({
"border-b-2 border-transparent hover:border-b-surface data-[state=active]:border-b-primary",

"contained-top":
"border-t-2 border-transparent hover:border-t-surface data-[state=active]:border-t-primary ",
"border-t-2 border-transparent hover:border-t-surface data-[state=active]:border-t-primary",
},
},
compoundVariants: [
Expand Down
4 changes: 2 additions & 2 deletions packages/wedges/src/components/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const TOOLTIP_ANIMATION_CLASSES = [
"origin-[var(--radix-popper-transform-origin)]",

// state animations
"data-[side=bottom]:animate-fade-in-down data-[side=top]:animate-wg-fade-in-up data-[side=left]:animate-wg-fade-in-left data-[side=right]:animate-wg-fade-in-right data-[state=closed]:animate-wg-fade-out",
"data-[side=bottom]:animate-wg-fade-in-down data-[side=top]:animate-wg-fade-in-up data-[side=left]:animate-wg-fade-in-left data-[side=right]:animate-wg-fade-in-right data-[state=closed]:animate-wg-fade-out",

// instant-open
"data-[state=instant-open]:!animate-none",
Expand All @@ -27,7 +27,7 @@ const tooltipVariant = cva({
},
color: {
primary: "text-white wg-bg-primary",
secondary: "text-white wg-bg-secondary dark:text-secondary-900 ",
secondary: "text-white wg-bg-secondary dark:text-secondary-900",
soft: "border border-transparent text-wg-gray-700 shadow-wg-overlay wg-bg-white dark:border-surface dark:bg-neutral-800 dark:text-surface-700 dark:shadow-none",
},
},
Expand Down
Loading

0 comments on commit 0d4f774

Please sign in to comment.