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

Upgrade Ariakit #64066

Merged
merged 26 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
326a7f8
Add temporary type workaround.
DaniGuardiola Jul 29, 2024
2d9abe3
v0.3.13 (test: v0.3.8)
DaniGuardiola Jul 29, 2024
ffe7928
Add temporary render fork with re-render support.
DaniGuardiola Jul 29, 2024
e52022c
v0.3.13 - test fixes
DaniGuardiola Jul 29, 2024
83fd148
v0.3.14
DaniGuardiola Jul 29, 2024
0020c34
v0.4.0 (test: v0.3.9)
DaniGuardiola Jul 29, 2024
ce0b7f3
v0.4.0 - test fixes (data attributes)
DaniGuardiola Jul 29, 2024
e39dc49
v0.4.0 - test fixes (animation)
DaniGuardiola Jul 29, 2024
5f705eb
v0.4.0 - test fixes (tooltip describedBy)
DaniGuardiola Jul 29, 2024
ff470ad
v0.4.0 - test fixes (data attributes - missed one snapshot)
DaniGuardiola Jul 29, 2024
46c8142
v0.4.1 (test: v0.3.10)
DaniGuardiola Jul 29, 2024
16c0de2
Revert temporary type workaround.
DaniGuardiola Jul 29, 2024
753f631
v0.4.2 (test: v0.3.11)
DaniGuardiola Jul 29, 2024
4eb1c4f
v0.4.3 (test: v0.3.12)
DaniGuardiola Jul 29, 2024
cc0ae3c
v0.4.4 (test: v0.3.13)
DaniGuardiola Jul 29, 2024
1a72000
v0.4.5 (test: v0.3.14)
DaniGuardiola Jul 29, 2024
287c22f
v0.4.6 (test: v0.3.15)
DaniGuardiola Jul 29, 2024
27218de
v0.4.6 - test fixes
DaniGuardiola Jul 30, 2024
94deccd
v0.4.7 (test: v0.3.16)
DaniGuardiola Jul 30, 2024
9f60796
Restore package.json ranges instead of locked versions.
DaniGuardiola Jul 30, 2024
db1d478
Restrict "render" output to "rerender" and "unmount".
DaniGuardiola Jul 30, 2024
7a43523
Add restrictedImport rules.
DaniGuardiola Jul 30, 2024
412f612
Revert "Add restrictedImport rules."
DaniGuardiola Jul 30, 2024
517d799
Remove local `render` fork and upgrade to latest `@ariakit/test` vers…
DaniGuardiola Jul 31, 2024
40bfcc2
Add temporary describedBy compatibility logic to Tooltip, and add tes…
DaniGuardiola Jul 31, 2024
8cf69bd
Add changelog entries.
DaniGuardiola Aug 1, 2024
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
220 changes: 120 additions & 100 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"@actions/core": "1.9.1",
"@actions/github": "5.0.0",
"@apidevtools/json-schema-ref-parser": "11.6.4",
"@ariakit/test": "^0.3.7",
"@ariakit/test": "^0.4.0",
"@babel/core": "7.24.3",
"@babel/plugin-proposal-export-namespace-from": "7.18.9",
"@babel/plugin-syntax-jsx": "7.24.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ exports[`ColorPaletteControl matches the snapshot 1`] = `
aria-label="Color: red"
aria-selected="true"
class="components-button components-circular-option-picker__option"
data-active-item=""
data-active-item="true"
id="components-circular-option-picker-0-0"
role="option"
style="background-color: rgb(255, 0, 0); color: rgb(255, 0, 0);"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/**
* External dependencies
*/
import { render, screen } from '@testing-library/react';
import { screen } from '@testing-library/react';
import { render } from '@ariakit/test/react';

/**
* Internal dependencies
Expand All @@ -12,7 +13,7 @@ const noop = () => {};

describe( 'ColorPaletteControl', () => {
it( 'renders tabs if it is possible to select a color and a gradient rendering a color picker at the start', async () => {
render(
await render(
<ColorGradientControl
label="Test Color Gradient"
colorValue="#f00"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
],
"types": "build-types",
"dependencies": {
"@ariakit/react": "^0.3.12",
"@ariakit/react": "^0.4.7",
"@babel/runtime": "^7.16.0",
"@emotion/cache": "^11.7.1",
"@emotion/css": "^11.7.1",
Expand Down
Loading
Loading