Skip to content

Commit

Permalink
Merge branch 'master' into fix/composite-list
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks authored Feb 28, 2025
2 parents f8f3d5f + e05da23 commit 52a38df
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function App() {
exit={{ scale: 0 }}
onAnimationComplete={() => {
if (!open) {
action.current.unmount();
actionsRef.current.unmount();
}
}}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ describe('<AlertDialog.Root />', () => {
});
});

describe('prop: action', () => {
describe('prop: actionsRef', () => {
it('unmounts the alert dialog when the `unmount` method is called', async () => {
const actionsRef = {
current: {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/dialog/root/DialogRoot.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ describe('<Dialog.Root />', () => {
});
});

describe('prop: action', () => {
describe('prop: actionsRef', () => {
it('unmounts the dialog when the `unmount` method is called', async () => {
const actionsRef = {
current: {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/menu/root/MenuRoot.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ describe('<Menu.Root />', () => {
});
});

describe('prop: action', () => {
describe('prop: actionsRef', () => {
it('unmounts the menu when the `unmount` method is called', async () => {
const actionsRef = {
current: {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/popover/root/PopoverRoot.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ describe('<Popover.Root />', () => {
});
});

describe('prop: action', () => {
describe('prop: actionsRef', () => {
it('unmounts the popover when the `unmount` method is called', async () => {
const actionsRef = {
current: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ describe('<PreviewCard.Root />', () => {
});
});

describe('prop: action', () => {
describe.skipIf(!isJSDOM)('prop: actionsRef', () => {
it('unmounts the preview card when the `unmount` method is called', async () => {
const actionsRef = {
current: {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/select/root/SelectRoot.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ describe('<Select.Root />', () => {
});
});

describe('prop: action', () => {
describe('prop: actionsRef', () => {
it('unmounts the select when the `unmount` method is called', async () => {
const actionsRef = {
current: {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/tooltip/root/TooltipRoot.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ describe('<Tooltip.Root />', () => {
});
});

describe('prop: action', () => {
describe('prop: actionsRef', () => {
it('unmounts the tooltip when the `unmount` method is called', async () => {
const actionsRef = {
current: {
Expand Down

0 comments on commit 52a38df

Please sign in to comment.