Skip to content
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,4 +1,4 @@
import { TextInput } from '@rocket.chat/fuselage';
import { Icon, TextInput } from '@rocket.chat/fuselage';
import { useStableCallback, useDebouncedValue } from '@rocket.chat/fuselage-hooks';
import type { ChangeEvent } from 'react';
import { useState, useEffect } from 'react';
Expand All @@ -17,7 +17,7 @@ const PermissionsTableFilter = ({ onChange }: { onChange: (debouncedFilter: stri
setFilter(value);
});

return <TextInput value={filter} onChange={handleFilter} placeholder={t('Search')} flexGrow={0} />;
return <TextInput value={filter} onChange={handleFilter} placeholder={t('Search')} addon={<Icon name='magnifier' size='x20' />} />;
};

export default PermissionsTableFilter;
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,27 @@ exports[`renders Default without crashing 1`] = `
<div
class="rcx-box rcx-box--full rcx-css-9x4qdd"
>
<input
class="rcx-box rcx-box--full rcx-box--animated rcx-input-box--type-text rcx-input-box rcx-css-1ltvj5u"
placeholder="Search"
size="1"
type="text"
value=""
/>
<label
class="rcx-box rcx-box--full rcx-label rcx-box rcx-box--full rcx-box--animated rcx-input-box__wrapper rcx-css-cnkcl9"
>
<input
class="rcx-box rcx-box--full rcx-box--animated rcx-input-box--undecorated rcx-input-box--type-text rcx-input-box"
placeholder="Search"
size="1"
type="text"
value=""
/>
<span
class="rcx-box rcx-box--full rcx-input-box__addon"
>
<i
aria-hidden="true"
class="rcx-box rcx-box--full rcx-icon--name-magnifier rcx-icon rcx-css-4pvxx3"
>
</i>
</span>
</label>
<div
class="rcx-box rcx-box--full rcx-css-h9m6k6"
>
Expand Down Expand Up @@ -1177,13 +1191,27 @@ exports[`renders Empty without crashing 1`] = `
<div
class="rcx-box rcx-box--full rcx-css-9x4qdd"
>
<input
class="rcx-box rcx-box--full rcx-box--animated rcx-input-box--type-text rcx-input-box rcx-css-1ltvj5u"
placeholder="Search"
size="1"
type="text"
value=""
/>
<label
class="rcx-box rcx-box--full rcx-label rcx-box rcx-box--full rcx-box--animated rcx-input-box__wrapper rcx-css-cnkcl9"
>
<input
class="rcx-box rcx-box--full rcx-box--animated rcx-input-box--undecorated rcx-input-box--type-text rcx-input-box"
placeholder="Search"
size="1"
type="text"
value=""
/>
<span
class="rcx-box rcx-box--full rcx-input-box__addon"
>
<i
aria-hidden="true"
class="rcx-box rcx-box--full rcx-icon--name-magnifier rcx-icon rcx-css-4pvxx3"
>
</i>
</span>
</label>
<div
class="rcx-box rcx-box--full rcx-css-1wg1u9h"
>
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"@rocket.chat/favicon": "workspace:^",
"@rocket.chat/federation-matrix": "workspace:^",
"@rocket.chat/federation-sdk": "0.6.3",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-forms": "^1.3.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-toastbar": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/uikit-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@lezer/highlight": "^1.2.3",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/css-in-js": "^0.32.0",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-toastbar": "^0.35.2",
"@rocket.chat/fuselage-tokens": "~0.33.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@rocket.chat/apps-engine": "workspace:^",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "^0.48.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/gazzodown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/css-in-js": "^0.32.0",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "^0.48.0",
Expand Down
1 change: 1 addition & 0 deletions packages/i18n/src/locales/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -2796,6 +2796,7 @@
"Invalid_email": "The email entered is invalid",
"Invalid_field": "The field must not be empty",
"Invalid_name": "The name must not be empty",
"Invalid_URL": "Invalid URL",
"Invalid_notification_setting_s": "Invalid notification setting: %s",
"Invalid_or_expired_invite_token": "Invalid or expired invite token",
"Invalid_pass": "The password must not be empty",
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"webpack": "~5.104.1"
},
"devDependencies": {
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/icons": "^0.48.0",
"@rocket.chat/tsconfig": "workspace:*",
"@storybook/react": "^9.1.13",
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 @@ -17,7 +17,7 @@
"devDependencies": {
"@rocket.chat/core-typings": "workspace:~",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "^0.48.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@rocket.chat/core-typings": "workspace:~",
"@rocket.chat/css-in-js": "^0.32.0",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "^0.48.0",
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 @@ -22,7 +22,7 @@
"devDependencies": {
"@react-aria/toolbar": "^3.0.0-nightly.5042",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "^0.48.0",
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 @@ -23,7 +23,7 @@
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/ddp-client": "workspace:~",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/i18n": "workspace:~",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-video-conf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@rocket.chat/css-in-js": "^0.32.0",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "^0.48.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-voip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@react-spectrum/test-utils": "~1.0.0-alpha.8",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/css-in-js": "^0.32.0",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/fuselage-ui-kit": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/web-ui-registration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@rocket.chat/core-typings": "workspace:~",
"@rocket.chat/css-in-js": "^0.32.0",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.79.0",
"@rocket.chat/fuselage": "^0.79.1",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/i18n": "workspace:~",
Expand Down
36 changes: 18 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9403,7 +9403,7 @@ __metadata:
"@rocket.chat/apps-engine": "workspace:^"
"@rocket.chat/core-typings": "workspace:^"
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
"@rocket.chat/gazzodown": "workspace:^"
Expand Down Expand Up @@ -9458,9 +9458,9 @@ __metadata:
languageName: unknown
linkType: soft

"@rocket.chat/fuselage@npm:^0.79.0":
version: 0.79.0
resolution: "@rocket.chat/fuselage@npm:0.79.0"
"@rocket.chat/fuselage@npm:^0.79.1":
version: 0.79.1
resolution: "@rocket.chat/fuselage@npm:0.79.1"
dependencies:
"@rocket.chat/css-in-js": "npm:^0.32.0"
"@rocket.chat/css-supports": "npm:^0.31.25"
Expand All @@ -9476,7 +9476,7 @@ __metadata:
react: "*"
react-dom: "*"
react-virtuoso: "*"
checksum: 10/a49eaeb195819dcc846ffeaa605484cf5bd9a2f076226bf9185dfadda278eef6ebdf8b107251b466f8692ebac1209b1385c01c1f4b9ce8e667b5f154aa823ecb
checksum: 10/112bf6eb1a9b30214fca24c23bff3ae9082adfd21f8d3cefe728ca7f96844d0d203c1bcb1bd3f5dae524290a81aa33a9855102615e922b036fa89a9703c4338f
languageName: node
linkType: hard

Expand All @@ -9487,7 +9487,7 @@ __metadata:
"@rocket.chat/core-typings": "workspace:^"
"@rocket.chat/css-in-js": "npm:^0.32.0"
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
"@rocket.chat/icons": "npm:^0.48.0"
Expand Down Expand Up @@ -9932,7 +9932,7 @@ __metadata:
"@rocket.chat/favicon": "workspace:^"
"@rocket.chat/federation-matrix": "workspace:^"
"@rocket.chat/federation-sdk": "npm:0.6.3"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-forms": "npm:^1.3.0"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-toastbar": "npm:^0.35.2"
Expand Down Expand Up @@ -10815,7 +10815,7 @@ __metadata:
resolution: "@rocket.chat/storybook-config@workspace:packages/storybook-config"
dependencies:
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
"@rocket.chat/icons": "npm:^0.48.0"
Expand Down Expand Up @@ -10910,7 +10910,7 @@ __metadata:
dependencies:
"@rocket.chat/core-typings": "workspace:~"
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
"@rocket.chat/icons": "npm:^0.48.0"
Expand All @@ -10937,7 +10937,7 @@ __metadata:
"@rocket.chat/core-typings": "workspace:~"
"@rocket.chat/css-in-js": "npm:^0.32.0"
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
"@rocket.chat/icons": "npm:^0.48.0"
Expand Down Expand Up @@ -10994,7 +10994,7 @@ __metadata:
dependencies:
"@react-aria/toolbar": "npm:^3.0.0-nightly.5042"
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
"@rocket.chat/icons": "npm:^0.48.0"
Expand All @@ -11021,7 +11021,7 @@ __metadata:
"@react-aria/toolbar": "*"
"@rocket.chat/fuselage": "*"
"@rocket.chat/icons": "*"
"@rocket.chat/ui-client": 31.0.0
"@rocket.chat/ui-client": 32.0.0-rc.0
react: "*"
react-dom: "*"
languageName: unknown
Expand All @@ -11034,7 +11034,7 @@ __metadata:
"@rocket.chat/core-typings": "workspace:^"
"@rocket.chat/ddp-client": "workspace:~"
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
"@rocket.chat/i18n": "workspace:~"
Expand Down Expand Up @@ -11093,7 +11093,7 @@ __metadata:
dependencies:
"@rocket.chat/css-in-js": "npm:^0.32.0"
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
"@rocket.chat/icons": "npm:^0.48.0"
Expand Down Expand Up @@ -11140,7 +11140,7 @@ __metadata:
"@rocket.chat/css-in-js": "npm:^0.32.0"
"@rocket.chat/desktop-api": "workspace:^"
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
"@rocket.chat/fuselage-ui-kit": "workspace:^"
Expand Down Expand Up @@ -11206,7 +11206,7 @@ __metadata:
"@rocket.chat/core-typings": "workspace:^"
"@rocket.chat/css-in-js": "npm:^0.32.0"
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-toastbar": "npm:^0.35.2"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
Expand Down Expand Up @@ -11244,7 +11244,7 @@ __metadata:
"@rocket.chat/core-typings": "workspace:~"
"@rocket.chat/css-in-js": "npm:^0.32.0"
"@rocket.chat/emitter": "npm:^0.32.0"
"@rocket.chat/fuselage": "npm:^0.79.0"
"@rocket.chat/fuselage": "npm:^0.79.1"
"@rocket.chat/fuselage-hooks": "npm:^0.41.0"
"@rocket.chat/fuselage-tokens": "npm:~0.33.2"
"@rocket.chat/i18n": "workspace:~"
Expand Down Expand Up @@ -11275,7 +11275,7 @@ __metadata:
peerDependencies:
"@rocket.chat/layout": "*"
"@rocket.chat/tools": 0.3.0
"@rocket.chat/ui-contexts": 31.0.0
"@rocket.chat/ui-contexts": 32.0.0-rc.0
"@tanstack/react-query": "*"
react: "*"
react-hook-form: "*"
Expand Down
Loading