Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update react-aria to 1.4 #4191

Merged
merged 9 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
7 changes: 7 additions & 0 deletions .changeset/warm-ducks-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@marigold/docs": patch
"@marigold/components": patch
"@marigold/system": patch
---

chore(deps): update react-aria to 1.4
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@marigold/theme-core": "workspace:*",
"@marigold/theme-docs": "workspace:*",
"@marigold/theme-preset": "workspace:*",
"@react-aria/i18n": "3.12.2",
"@react-aria/i18n": "3.12.3",
"@tailwindcss/typography": "0.5.15",
"@tanstack/react-query": "5.56.2",
"@vercel/analytics": "1.3.1",
Expand Down Expand Up @@ -53,7 +53,7 @@
"zx": "8.1.8"
},
"devDependencies": {
"@internationalized/date": "3.5.5",
"@internationalized/date": "3.5.6",
"@types/node": "20.16.9",
"@types/react": "18.3.9",
"@types/react-dom": "18.3.0",
Expand Down
40 changes: 20 additions & 20 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,29 @@
"directory": "packages/components"
},
"dependencies": {
"@internationalized/date": "3.5.5",
"@internationalized/date": "3.5.6",
"@marigold/icons": "workspace:*",
"@marigold/system": "workspace:*",
"@marigold/types": "workspace:*",
"@react-aria/accordion": "3.0.0-alpha.33",
"@react-aria/button": "3.9.8",
"@react-aria/calendar": "3.5.11",
"@react-aria/focus": "3.18.2",
"@react-aria/i18n": "3.12.2",
"@react-aria/interactions": "3.22.2",
"@react-aria/overlays": "3.23.2",
"@react-aria/selection": "3.19.3",
"@react-aria/ssr": "3.9.5",
"@react-aria/table": "3.15.3",
"@react-aria/utils": "3.25.2",
"@react-aria/visually-hidden": "3.8.15",
"@react-stately/collections": "3.10.9",
"@react-stately/data": "3.11.6",
"@react-stately/table": "3.12.2",
"@react-stately/tree": "3.8.4",
"@react-types/shared": "3.24.1",
"@react-types/table": "3.10.1",
"react-aria-components": "1.3.3"
"@react-aria/accordion": "3.0.0-alpha.34",
"@react-aria/button": "3.10.0",
"@react-aria/calendar": "3.5.12",
"@react-aria/focus": "3.18.3",
"@react-aria/i18n": "3.12.3",
"@react-aria/interactions": "3.22.3",
"@react-aria/overlays": "3.23.3",
"@react-aria/selection": "3.20.0",
"@react-aria/ssr": "3.9.6",
"@react-aria/table": "3.15.4",
"@react-aria/utils": "3.25.3",
"@react-aria/visually-hidden": "3.8.16",
"@react-stately/collections": "3.11.0",
"@react-stately/data": "3.11.7",
"@react-stately/table": "3.12.3",
"@react-stately/tree": "3.8.5",
"@react-types/shared": "3.25.0",
"@react-types/table": "3.10.2",
"react-aria-components": "1.4.0"
},
"peerDependencies": {
"react": "18.x",
Expand Down
21 changes: 3 additions & 18 deletions packages/components/src/Button/Button.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,9 @@ test('supports base styling classes', () => {
);
const button = screen.getByText(/button/);

expect(button).toMatchInlineSnapshot(`
<button
class="items-center justify-center gap-[0.5ch] align-center flex disabled:bg-gray-600"
data-rac=""
type="button"
>
button
</button>
`);
expect(button.className).toMatchInlineSnapshot(
sarahgm marked this conversation as resolved.
Show resolved Hide resolved
`"items-center justify-center gap-[0.5ch] align-center flex disabled:bg-gray-600"`
);
});

test('supports default size', () => {
Expand All @@ -72,15 +66,6 @@ test('accepts other variants', () => {
const button = screen.getByText(/button/);

expect(button).toHaveClass('text-secondary-800');
expect(button).toMatchInlineSnapshot(`
<button
class="items-center justify-center gap-[0.5ch] align-center flex disabled:bg-gray-600 text-secondary-800"
data-rac=""
type="button"
>
button
</button>
`);
});

test('renders <button> element', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"dependencies": {
"@marigold/types": "workspace:*",
"@react-aria/i18n": "3.12.2",
"@react-aria/i18n": "3.12.3",
"class-variance-authority": "0.7.0",
"deepmerge": "4.3.1",
"react-fast-compare": "3.2.2",
Expand Down
Loading
Loading