Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbychan committed May 21, 2024
1 parent 0150dba commit 97e5c7a
Show file tree
Hide file tree
Showing 7 changed files with 848 additions and 798 deletions.
6 changes: 6 additions & 0 deletions .changeset/silver-cups-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@alice-ui/react": patch
"@alice-ui/theme": patch
---

Updated dependencies
20 changes: 10 additions & 10 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@
"@alice-ui/react-utils": "workspace:*",
"@alice-ui/shared-utils": "workspace:*",
"@alice-ui/theme": "workspace:*",
"@react-aria/focus": "^3.17.0",
"@react-aria/interactions": "^3.21.2",
"@react-aria/overlays": "^3.22.0",
"@react-aria/utils": "^3.24.0",
"@react-stately/utils": "^3.10.0",
"@react-types/shared": "^3.23.0",
"react-aria": "^3.33.0",
"react-aria-components": "^1.2.0",
"react-stately": "^3.31.0",
"@react-aria/focus": "^3.17.1",
"@react-aria/interactions": "^3.21.3",
"@react-aria/overlays": "^3.22.1",
"@react-aria/utils": "^3.24.1",
"@react-stately/utils": "^3.10.1",
"@react-types/shared": "^3.23.1",
"react-aria": "^3.33.1",
"react-aria-components": "^1.2.1",
"react-stately": "^3.31.1",
"react-textarea-autosize": "^8.5.3"
},
"devDependencies": {
"clean-package": "^2.2.0",
"rimraf": "^5.0.1"
"rimraf": "^5.0.7"
},
"clean-package": "../../clean-package.config.json"
}
8 changes: 4 additions & 4 deletions packages/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"color": "^4.2.3",
"color2k": "^2.0.3",
"deepmerge": "4.3.1",
"flat": "^5.0.2",
"flat": "^6.0.1",
"lodash.foreach": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.kebabcase": "^4.1.1",
"lodash.mapkeys": "^4.6.0",
"lodash.omit": "^4.5.0",
"tailwind-variants": "^0.1.18"
"tailwind-variants": "^0.2.1"
},
"peerDependencies": {
"tailwindcss": "*"
Expand All @@ -53,8 +53,8 @@
"@types/lodash.kebabcase": "^4.1.9",
"@types/lodash.mapkeys": "^4.6.9",
"@types/lodash.omit": "^4.5.9",
"tailwindcss": "^3.4.1",
"clean-package": "^2.2.0"
"clean-package": "^2.2.0",
"tailwindcss": "^3.4.3"
},
"tsup": {
"clean": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/components/drawer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const drawer = tv({
'data-[entering=true]:animate-[slide_0.2s]',
'data-[exiting=true]:animate-[slide_0.2s_ease-in_reverse]',
],
backdrop: ['z-50', 'fixed', 'inset-0', 'w-screen', 'h-screen'],
backdrop: ['z-50', 'fixed', 'inset-0', 'w-screen', 'h-dvh'],
dialog: ['outline-none', 'flex', 'flex-col', 'overflow-hidden', 'h-full', 'max-h-dvh'],
header: ['text-lg', 'font-semibold', 'flex', 'py-4', 'px-6', 'flex-initial'],
body: ['flex-1', 'px-6', 'py-2', 'overflow-y-auto'],
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/components/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const modal = tv({
'overflow-x-auto',
'justify-center',
],
backdrop: ['z-50', 'fixed', 'inset-0', 'w-screen', 'h-screen'],
backdrop: ['z-50', 'fixed', 'inset-0', 'w-screen', 'h-dvh'],
dialog: ['outline-none', 'flex', 'flex-col', 'overflow-hidden'],
header: ['text-lg', 'font-semibold', 'py-4', 'px-6'],
body: ['flex', 'flex-1', 'flex-col', 'gap-3', 'px-6', 'py-2'],
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/utils/object.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import flatten from 'flat';
import { flatten } from 'flat';

export function swapColorValues<T extends object>(colors: T) {
const swappedColors = {};
Expand Down
Loading

0 comments on commit 97e5c7a

Please sign in to comment.