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: bump fuselage packages #35024

Merged
merged 5 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useFocusManager } from '@react-aria/focus';
import { useCallback } from 'react';
import { useFocusManager } from 'react-aria';

const isListItem = (node: EventTarget) => (node as HTMLElement).classList.contains('rcx-sidebar-item');
const isListItemMenu = (node: EventTarget) => (node as HTMLElement).classList.contains('rcx-sidebar-item__menu');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { useFocusManager } from '@react-aria/focus';
import { useCallback } from 'react';
import { useFocusManager } from 'react-aria';

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

/**
* Custom hook to provide the sidebar navigation by keyboard.
* @param ref - A ref to the message list DOM element.
* @returns ref - A ref to the message list DOM element.
*/
export const useSidebarListNavigation = () => {
const sidebarListFocusManager = useFocusManager();
Expand Down
3 changes: 1 addition & 2 deletions apps/meteor/client/sidebarv2/header/SearchSection.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { useFocusManager } from '@react-aria/focus';
import { css } from '@rocket.chat/css-in-js';
import { Box, Icon, TextInput, Palette, SidebarV2Section, IconButton } from '@rocket.chat/fuselage';
import { useMergedRefs, useOutsideClick } from '@rocket.chat/fuselage-hooks';
import { useTranslation, useUser } from '@rocket.chat/ui-contexts';
import { useCallback, useEffect, useRef, useState } from 'react';
import { FocusScope } from 'react-aria';
import { FocusScope, useFocusManager } from 'react-aria';
import { useForm } from 'react-hook-form';
import tinykeys from 'tinykeys';

Expand Down
8 changes: 4 additions & 4 deletions apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,11 @@
"@rocket.chat/emitter": "~0.31.25",
"@rocket.chat/favicon": "workspace:^",
"@rocket.chat/freeswitch": "workspace:^",
"@rocket.chat/fuselage": "^0.60.1",
"@rocket.chat/fuselage-hooks": "^0.34.1",
"@rocket.chat/fuselage": "~0.60.3",
"@rocket.chat/fuselage-hooks": "~0.34.1",
"@rocket.chat/fuselage-polyfills": "~0.31.25",
"@rocket.chat/fuselage-toastbar": "^0.33.0",
"@rocket.chat/fuselage-tokens": "^0.33.2",
"@rocket.chat/fuselage-toastbar": "~0.33.1",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/fuselage-ui-kit": "workspace:^",
"@rocket.chat/gazzodown": "workspace:^",
"@rocket.chat/i18n": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ export class HomeFlextabMembers {
}

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

private async ignoreUserAction(action: string, username: string) {
Expand Down
8 changes: 4 additions & 4 deletions apps/uikit-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"@lezer/highlight": "^1.2.1",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/fuselage": "^0.60.1",
"@rocket.chat/fuselage-hooks": "^0.34.1",
"@rocket.chat/fuselage": "~0.60.3",
"@rocket.chat/fuselage-hooks": "~0.34.1",
"@rocket.chat/fuselage-polyfills": "~0.31.25",
"@rocket.chat/fuselage-toastbar": "^0.33.0",
"@rocket.chat/fuselage-tokens": "^0.33.2",
"@rocket.chat/fuselage-toastbar": "~0.33.1",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/fuselage-ui-kit": "workspace:~",
"@rocket.chat/icons": "^0.40.0",
"@rocket.chat/logo": "^0.31.32",
Expand Down
2 changes: 1 addition & 1 deletion ee/packages/pdf-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@react-pdf/renderer": "^3.4.5",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/fuselage-tokens": "^0.33.2",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"emoji-assets": "^7.0.1",
"emoji-toolkit": "^7.0.1",
"moment": "^2.30.1",
Expand Down
4 changes: 2 additions & 2 deletions ee/packages/ui-theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"devDependencies": {
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/fuselage": "^0.60.1",
"@rocket.chat/fuselage-hooks": "^0.34.1",
"@rocket.chat/fuselage": "~0.60.3",
"@rocket.chat/fuselage-hooks": "~0.34.1",
"@rocket.chat/icons": "^0.40.0",
"@rocket.chat/ui-contexts": "workspace:~",
"@types/react": "~17.0.83",
Expand Down
4 changes: 2 additions & 2 deletions packages/fuselage-ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"@rocket.chat/apps-engine": "workspace:^",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage": "^0.60.1",
"@rocket.chat/fuselage-hooks": "^0.34.1",
"@rocket.chat/fuselage": "~0.60.3",
"@rocket.chat/fuselage-hooks": "~0.34.1",
"@rocket.chat/fuselage-polyfills": "~0.31.25",
"@rocket.chat/icons": "^0.40.0",
"@rocket.chat/jest-presets": "workspace:~",
Expand Down
4 changes: 2 additions & 2 deletions packages/gazzodown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"@babel/core": "~7.26.0",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/fuselage": "^0.60.1",
"@rocket.chat/fuselage-tokens": "^0.33.2",
"@rocket.chat/fuselage": "~0.60.3",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/jest-presets": "workspace:~",
"@rocket.chat/message-parser": "workspace:^",
"@rocket.chat/styled": "~0.31.25",
Expand Down
4 changes: 2 additions & 2 deletions packages/livechat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/ddp-client": "workspace:^",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage-hooks": "^0.34.1",
"@rocket.chat/fuselage-tokens": "^0.33.2",
"@rocket.chat/fuselage-hooks": "~0.34.1",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/logo": "^0.31.32",
"@rocket.chat/ui-contexts": "workspace:^",
"@storybook/addon-essentials": "^8.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"devDependencies": {
"@babel/core": "~7.26.0",
"@rocket.chat/fuselage": "^0.60.1",
"@rocket.chat/fuselage": "~0.60.3",
"@rocket.chat/ui-contexts": "workspace:^",
"@types/react": "~17.0.83",
"@types/react-dom": "~17.0.26",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"@babel/core": "~7.26.0",
"@react-aria/toolbar": "^3.0.0-nightly.5042",
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/fuselage": "^0.60.1",
"@rocket.chat/fuselage-hooks": "^0.34.1",
"@rocket.chat/fuselage": "~0.60.3",
"@rocket.chat/fuselage-hooks": "~0.34.1",
"@rocket.chat/icons": "^0.40.0",
"@rocket.chat/jest-presets": "workspace:~",
"@rocket.chat/mock-providers": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-composer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@babel/core": "~7.26.0",
"@react-aria/toolbar": "^3.0.0-nightly.5042",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage": "^0.60.1",
"@rocket.chat/fuselage": "~0.60.3",
"@rocket.chat/icons": "^0.40.0",
"@storybook/addon-actions": "^8.4.4",
"@storybook/addon-docs": "^8.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-contexts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/ddp-client": "workspace:~",
"@rocket.chat/emitter": "~0.31.25",
"@rocket.chat/fuselage-hooks": "^0.34.1",
"@rocket.chat/fuselage-hooks": "~0.34.1",
"@rocket.chat/i18n": "workspace:~",
"@rocket.chat/rest-typings": "workspace:^",
"@types/react": "~17.0.83",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-video-conf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@babel/core": "~7.26.0",
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage": "^0.60.1",
"@rocket.chat/fuselage-hooks": "^0.34.1",
"@rocket.chat/fuselage": "~0.60.3",
"@rocket.chat/fuselage-hooks": "~0.34.1",
"@rocket.chat/icons": "^0.40.0",
"@rocket.chat/jest-presets": "workspace:~",
"@rocket.chat/styled": "~0.31.25",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-voip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"@react-spectrum/test-utils": "~1.0.0-alpha.2",
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage": "^0.60.1",
"@rocket.chat/fuselage-hooks": "^0.34.1",
"@rocket.chat/fuselage": "~0.60.3",
"@rocket.chat/fuselage-hooks": "~0.34.1",
"@rocket.chat/icons": "^0.40.0",
"@rocket.chat/jest-presets": "workspace:~",
"@rocket.chat/mock-providers": "workspace:~",
Expand Down
Loading
Loading