Skip to content

Commit 2387725

Browse files
chore: bump fuselage packages (#35024)
Co-authored-by: Tasso <tasso.evangelista@rocket.chat>
1 parent 1ce1f80 commit 2387725

File tree

18 files changed

+1702
-128
lines changed

18 files changed

+1702
-128
lines changed

apps/meteor/client/sidebar/RoomList/useSidebarListNavigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { useFocusManager } from '@react-aria/focus';
21
import { useCallback } from 'react';
2+
import { useFocusManager } from 'react-aria';
33

44
const isListItem = (node: EventTarget) => (node as HTMLElement).classList.contains('rcx-sidebar-item');
55
const isListItemMenu = (node: EventTarget) => (node as HTMLElement).classList.contains('rcx-sidebar-item__menu');

apps/meteor/client/sidebarv2/RoomList/useSidebarListNavigation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import { useFocusManager } from '@react-aria/focus';
21
import { useCallback } from 'react';
2+
import { useFocusManager } from 'react-aria';
33

44
const isListItem = (node: EventTarget) => (node as HTMLElement).classList.contains('rcx-sidebar-v2-item');
55
const isCollapseGroup = (node: EventTarget) => (node as HTMLElement).classList.contains('rcx-sidebar-v2-collapse-group__bar');
66
const isListItemMenu = (node: EventTarget) => (node as HTMLElement).classList.contains('rcx-sidebar-v2-item__menu');
77

88
/**
99
* Custom hook to provide the sidebar navigation by keyboard.
10-
* @param ref - A ref to the message list DOM element.
10+
* @returns ref - A ref to the message list DOM element.
1111
*/
1212
export const useSidebarListNavigation = () => {
1313
const sidebarListFocusManager = useFocusManager();

apps/meteor/client/sidebarv2/header/SearchSection.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import { useFocusManager } from '@react-aria/focus';
21
import { css } from '@rocket.chat/css-in-js';
32
import { Box, Icon, TextInput, Palette, SidebarV2Section, IconButton } from '@rocket.chat/fuselage';
43
import { useMergedRefs, useOutsideClick } from '@rocket.chat/fuselage-hooks';
54
import { useTranslation, useUser } from '@rocket.chat/ui-contexts';
65
import { useCallback, useEffect, useRef, useState } from 'react';
7-
import { FocusScope } from 'react-aria';
6+
import { FocusScope, useFocusManager } from 'react-aria';
87
import { useForm } from 'react-hook-form';
98
import tinykeys from 'tinykeys';
109

apps/meteor/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@
247247
"@rocket.chat/emitter": "~0.31.25",
248248
"@rocket.chat/favicon": "workspace:^",
249249
"@rocket.chat/freeswitch": "workspace:^",
250-
"@rocket.chat/fuselage": "^0.60.1",
251-
"@rocket.chat/fuselage-hooks": "^0.34.1",
250+
"@rocket.chat/fuselage": "~0.60.3",
251+
"@rocket.chat/fuselage-hooks": "~0.34.1",
252252
"@rocket.chat/fuselage-polyfills": "~0.31.25",
253-
"@rocket.chat/fuselage-toastbar": "^0.33.0",
254-
"@rocket.chat/fuselage-tokens": "^0.33.2",
253+
"@rocket.chat/fuselage-toastbar": "~0.33.1",
254+
"@rocket.chat/fuselage-tokens": "~0.33.2",
255255
"@rocket.chat/fuselage-ui-kit": "workspace:^",
256256
"@rocket.chat/gazzodown": "workspace:^",
257257
"@rocket.chat/i18n": "workspace:^",

apps/meteor/tests/e2e/page-objects/fragments/home-flextab-members.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ export class HomeFlextabMembers {
6262
}
6363

6464
async showAllUsers() {
65-
await this.page.locator('.rcx-select >> text=Online').first().click();
66-
await this.page.locator('.rcx-option:has-text("All")').first().click();
65+
const selectInput = this.page.getByRole('button', { name: 'Online' });
66+
await selectInput.click();
67+
await this.page.getByRole('listbox').getByRole('option', { name: 'All' }).click();
6768
}
6869

6970
private async ignoreUserAction(action: string, username: string) {

apps/uikit-playground/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"@lezer/highlight": "^1.2.1",
1818
"@rocket.chat/core-typings": "workspace:^",
1919
"@rocket.chat/css-in-js": "~0.31.25",
20-
"@rocket.chat/fuselage": "^0.60.1",
21-
"@rocket.chat/fuselage-hooks": "^0.34.1",
20+
"@rocket.chat/fuselage": "~0.60.3",
21+
"@rocket.chat/fuselage-hooks": "~0.34.1",
2222
"@rocket.chat/fuselage-polyfills": "~0.31.25",
23-
"@rocket.chat/fuselage-toastbar": "^0.33.0",
24-
"@rocket.chat/fuselage-tokens": "^0.33.2",
23+
"@rocket.chat/fuselage-toastbar": "~0.33.1",
24+
"@rocket.chat/fuselage-tokens": "~0.33.2",
2525
"@rocket.chat/fuselage-ui-kit": "workspace:~",
2626
"@rocket.chat/icons": "^0.40.0",
2727
"@rocket.chat/logo": "^0.31.32",

ee/packages/pdf-worker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dependencies": {
2121
"@react-pdf/renderer": "^3.4.5",
2222
"@rocket.chat/core-typings": "workspace:^",
23-
"@rocket.chat/fuselage-tokens": "^0.33.2",
23+
"@rocket.chat/fuselage-tokens": "~0.33.2",
2424
"emoji-assets": "^7.0.1",
2525
"emoji-toolkit": "^7.0.1",
2626
"moment": "^2.30.1",

ee/packages/ui-theming/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"private": true,
55
"devDependencies": {
66
"@rocket.chat/css-in-js": "~0.31.25",
7-
"@rocket.chat/fuselage": "^0.60.1",
8-
"@rocket.chat/fuselage-hooks": "^0.34.1",
7+
"@rocket.chat/fuselage": "~0.60.3",
8+
"@rocket.chat/fuselage-hooks": "~0.34.1",
99
"@rocket.chat/icons": "^0.40.0",
1010
"@rocket.chat/ui-contexts": "workspace:~",
1111
"@types/react": "~17.0.83",

packages/fuselage-ui-kit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
"@rocket.chat/apps-engine": "workspace:^",
5353
"@rocket.chat/core-typings": "workspace:^",
5454
"@rocket.chat/eslint-config": "workspace:^",
55-
"@rocket.chat/fuselage": "^0.60.1",
56-
"@rocket.chat/fuselage-hooks": "^0.34.1",
55+
"@rocket.chat/fuselage": "~0.60.3",
56+
"@rocket.chat/fuselage-hooks": "~0.34.1",
5757
"@rocket.chat/fuselage-polyfills": "~0.31.25",
5858
"@rocket.chat/icons": "^0.40.0",
5959
"@rocket.chat/jest-presets": "workspace:~",

packages/gazzodown/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"@babel/core": "~7.26.0",
3030
"@rocket.chat/core-typings": "workspace:^",
3131
"@rocket.chat/css-in-js": "~0.31.25",
32-
"@rocket.chat/fuselage": "^0.60.1",
33-
"@rocket.chat/fuselage-tokens": "^0.33.2",
32+
"@rocket.chat/fuselage": "~0.60.3",
33+
"@rocket.chat/fuselage-tokens": "~0.33.2",
3434
"@rocket.chat/jest-presets": "workspace:~",
3535
"@rocket.chat/message-parser": "workspace:^",
3636
"@rocket.chat/styled": "~0.31.25",

0 commit comments

Comments
 (0)