Skip to content

Commit

Permalink
chore: bump fuselage packages (#30424)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti authored and debdutdeb committed Oct 26, 2023
1 parent bb76e26 commit 8613b0f
Show file tree
Hide file tree
Showing 19 changed files with 134 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const RoomAutoCompleteMultiple = ({ value, onChange, ...props }: RoomAutoComplet
setFilter={setFilter}
multiple
renderSelected={({ selected: { value, label }, onRemove, ...props }): ReactElement => (
<Chip key={value} {...props} height='x20' value={value} onClick={onRemove} mie={4} mbe={4}>
<Chip {...props} key={value} value={value} onClick={onRemove}>
<RoomAvatar size='x20' room={{ type: label?.type || 'c', _id: value, ...label }} />
<Box is='span' margin='none' mis={4}>
{label?.name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ export const useGroupingListItems = (): GenericMenuItemProps[] => {
id: 'unread',
content: t('Unread'),
icon: 'flag',
addon: <CheckBox mi={16} onChange={handleChangeShowUnread} checked={sidebarShowUnread} />,
addon: <CheckBox onChange={handleChangeShowUnread} checked={sidebarShowUnread} />,
},
{
id: 'favorites',
content: t('Favorites'),
icon: 'star',
addon: <CheckBox mi={16} onChange={handleChangeShoFavorite} checked={sidebarShowFavorites} />,
addon: <CheckBox onChange={handleChangeShoFavorite} checked={sidebarShowFavorites} />,
},
{
id: 'types',
content: t('Types'),
icon: 'group-by-type',
addon: <CheckBox mi={16} onChange={handleChangeGroupByType} checked={sidebarGroupByType} />,
addon: <CheckBox onChange={handleChangeGroupByType} checked={sidebarGroupByType} />,
},
];
};
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ export const useSortModeItems = (): GenericMenuItemProps[] => {
id: 'activity',
content: t('Activity'),
icon: 'clock',
addon: <RadioButton mi={16} onChange={setToActivity} checked={sidebarSortBy === 'activity'} />,
addon: <RadioButton onChange={setToActivity} checked={sidebarSortBy === 'activity'} />,
description: sidebarSortBy === 'activity' && isOmnichannelEnabled && <OmnichannelSortingDisclaimer />,
},
{
id: 'name',
content: t('Name'),
icon: 'sort-az',
addon: <RadioButton mi={16} onChange={setToAlphabetical} checked={sidebarSortBy === 'alphabetical'} />,
addon: <RadioButton onChange={setToAlphabetical} checked={sidebarSortBy === 'alphabetical'} />,
description: sidebarSortBy === 'alphabetical' && isOmnichannelEnabled && <OmnichannelSortingDisclaimer />,
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,25 @@ export const useViewModeItems = (): GenericMenuItemProps[] => {
id: 'extended',
content: t('Extended'),
icon: 'extended-view',
addon: <RadioButton mi={16} onChange={setToExtended} checked={sidebarViewMode === 'extended'} />,
addon: <RadioButton onChange={setToExtended} checked={sidebarViewMode === 'extended'} />,
},
{
id: 'medium',
content: t('Medium'),
icon: 'medium-view',
addon: <RadioButton mi={16} onChange={setToMedium} checked={sidebarViewMode === 'medium'} />,
addon: <RadioButton onChange={setToMedium} checked={sidebarViewMode === 'medium'} />,
},
{
id: 'condensed',
content: t('Condensed'),
icon: 'condensed-view',
addon: <RadioButton mi={16} onChange={setToCondensed} checked={sidebarViewMode === 'condensed'} />,
addon: <RadioButton onChange={setToCondensed} checked={sidebarViewMode === 'condensed'} />,
},
{
id: 'avatars',
content: t('Avatars'),
icon: 'user-rounded',
addon: <ToggleSwitch mie={16} onChange={handleChangeSidebarDisplayAvatar} checked={sidebarDisplayAvatar} />,
addon: <ToggleSwitch onChange={handleChangeSidebarDisplayAvatar} checked={sidebarDisplayAvatar} />,
},
];
};
2 changes: 1 addition & 1 deletion apps/meteor/ee/server/services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@rocket.chat/models": "workspace:^",
"@rocket.chat/rest-typings": "workspace:^",
"@rocket.chat/string-helpers": "next",
"@rocket.chat/ui-kit": "next",
"@rocket.chat/ui-kit": "^0.32.1",
"ajv": "^8.11.0",
"bcrypt": "^5.0.1",
"body-parser": "^1.20.2",
Expand Down
11 changes: 6 additions & 5 deletions apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,27 +236,28 @@
"@rocket.chat/favicon": "workspace:^",
"@rocket.chat/forked-matrix-appservice-bridge": "^4.0.1",
"@rocket.chat/forked-matrix-bot-sdk": "^0.6.0-beta.2",
"@rocket.chat/fuselage": "^0.33.0",
"@rocket.chat/fuselage-hooks": "next",
"@rocket.chat/fuselage": "^0.32.1",
"@rocket.chat/fuselage-hooks": "^0.32.1",
"@rocket.chat/fuselage-polyfills": "next",
"@rocket.chat/fuselage-toastbar": "next",
"@rocket.chat/fuselage-tokens": "next",
"@rocket.chat/fuselage-ui-kit": "workspace:^",
"@rocket.chat/gazzodown": "workspace:^",
"@rocket.chat/i18n": "workspace:^",
"@rocket.chat/icons": "^0.32.0",
"@rocket.chat/icons": "^0.32.0",
"@rocket.chat/instance-status": "workspace:^",
"@rocket.chat/layout": "next",
"@rocket.chat/log-format": "workspace:^",
"@rocket.chat/logger": "workspace:^",
"@rocket.chat/logo": "next",
"@rocket.chat/logo": "^0.31.27",
"@rocket.chat/memo": "next",
"@rocket.chat/message-parser": "next",
"@rocket.chat/model-typings": "workspace:^",
"@rocket.chat/models": "workspace:^",
"@rocket.chat/mp3-encoder": "0.24.0",
"@rocket.chat/omnichannel-services": "workspace:^",
"@rocket.chat/onboarding-ui": "next",
"@rocket.chat/onboarding-ui": "^0.32.1",
"@rocket.chat/password-policies": "workspace:^",
"@rocket.chat/pdf-worker": "workspace:^",
"@rocket.chat/poplib": "workspace:^",
Expand All @@ -270,7 +271,7 @@
"@rocket.chat/ui-client": "workspace:^",
"@rocket.chat/ui-composer": "workspace:^",
"@rocket.chat/ui-contexts": "workspace:^",
"@rocket.chat/ui-kit": "next",
"@rocket.chat/ui-kit": "^0.32.1",
"@rocket.chat/ui-theming": "workspace:^",
"@rocket.chat/ui-video-conf": "workspace:^",
"@rocket.chat/web-ui-registration": "workspace:^",
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": "next",
"@rocket.chat/fuselage": "^0.33.0",
"@rocket.chat/fuselage-hooks": "next",
"@rocket.chat/fuselage": "^0.32.1",
"@rocket.chat/fuselage-hooks": "^0.32.1",
"@rocket.chat/icons": "^0.32.0",
"@rocket.chat/ui-contexts": "workspace:~",
"@storybook/addon-actions": "~6.5.16",
Expand Down
2 changes: 1 addition & 1 deletion packages/core-services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@rocket.chat/message-parser": "next",
"@rocket.chat/models": "workspace:^",
"@rocket.chat/rest-typings": "workspace:^",
"@rocket.chat/ui-kit": "next",
"@rocket.chat/ui-kit": "^0.32.1",
"@types/fibers": "^3.1.1",
"fibers": "^5.0.3"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core-typings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@rocket.chat/apps-engine": "1.41.0-alpha.290",
"@rocket.chat/icons": "^0.32.0",
"@rocket.chat/message-parser": "next",
"@rocket.chat/ui-kit": "next"
"@rocket.chat/ui-kit": "^0.32.1"
},
"volta": {
"extends": "../../package.json"
Expand Down
9 changes: 5 additions & 4 deletions packages/fuselage-ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@
"devDependencies": {
"@rocket.chat/apps-engine": "1.41.0-alpha.290",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage": "^0.33.0",
"@rocket.chat/fuselage-hooks": "next",
"@rocket.chat/fuselage": "^0.32.1",
"@rocket.chat/fuselage-hooks": "^0.32.1",
"@rocket.chat/fuselage-polyfills": "next",
"@rocket.chat/icons": "^0.32.0",
"@rocket.chat/icons": "^0.32.0",
"@rocket.chat/prettier-config": "next",
"@rocket.chat/styled": "next",
"@rocket.chat/ui-contexts": "workspace:^",
"@rocket.chat/ui-kit": "next",
"@rocket.chat/ui-kit": "^0.32.1",
"@rocket.chat/ui-video-conf": "workspace:^",
"@storybook/addon-essentials": "~6.5.16",
"@storybook/addons": "~6.5.16",
Expand All @@ -89,7 +90,7 @@
},
"dependencies": {
"@rocket.chat/gazzodown": "workspace:^",
"@rocket.chat/ui-kit": "next",
"@rocket.chat/ui-kit": "^0.32.1",
"tslib": "^2.5.3"
},
"volta": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gazzodown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@babel/core": "~7.22.9",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/css-in-js": "next",
"@rocket.chat/fuselage": "^0.33.0",
"@rocket.chat/fuselage": "^0.32.1",
"@rocket.chat/fuselage-tokens": "next",
"@rocket.chat/message-parser": "next",
"@rocket.chat/styled": "next",
Expand Down
4 changes: 2 additions & 2 deletions packages/livechat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@rocket.chat/ddp-client": "workspace:^",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage-tokens": "next",
"@rocket.chat/logo": "next",
"@rocket.chat/logo": "^0.31.27",
"@storybook/addon-essentials": "~6.5.16",
"@storybook/addon-postcss": "~2.0.0",
"@storybook/preact": "~6.5.16",
Expand Down Expand Up @@ -98,7 +98,7 @@
"@rocket.chat/message-parser": "next",
"@rocket.chat/random": "workspace:~",
"@rocket.chat/sdk": "^1.0.0-alpha.42",
"@rocket.chat/ui-kit": "next",
"@rocket.chat/ui-kit": "^0.32.1",
"css-vars-ponyfill": "^2.4.8",
"date-fns": "^2.15.0",
"emoji-mart": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-typings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@rocket.chat/apps-engine": "1.41.0-alpha.290",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/message-parser": "next",
"@rocket.chat/ui-kit": "next",
"@rocket.chat/ui-kit": "^0.32.1",
"ajv": "^8.11.0",
"ajv-formats": "^2.1.1"
},
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 @@ -5,8 +5,8 @@
"devDependencies": {
"@babel/core": "~7.22.9",
"@rocket.chat/css-in-js": "next",
"@rocket.chat/fuselage": "^0.33.0",
"@rocket.chat/fuselage-hooks": "next",
"@rocket.chat/fuselage": "^0.32.1",
"@rocket.chat/fuselage-hooks": "^0.32.1",
"@rocket.chat/icons": "^0.32.0",
"@rocket.chat/mock-providers": "workspace:^",
"@rocket.chat/ui-contexts": "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 @@ -5,7 +5,7 @@
"devDependencies": {
"@babel/core": "~7.22.9",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage": "^0.33.0",
"@rocket.chat/fuselage": "^0.32.1",
"@rocket.chat/icons": "^0.32.0",
"@storybook/addon-actions": "~6.5.16",
"@storybook/addon-docs": "~6.5.16",
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 @@ -5,7 +5,7 @@
"devDependencies": {
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/emitter": "next",
"@rocket.chat/fuselage-hooks": "next",
"@rocket.chat/fuselage-hooks": "^0.32.1",
"@rocket.chat/rest-typings": "workspace:^",
"@types/jest": "~29.5.3",
"@types/react": "~17.0.62",
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 @@ -6,8 +6,8 @@
"@babel/core": "~7.22.9",
"@rocket.chat/css-in-js": "next",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage": "^0.33.0",
"@rocket.chat/fuselage-hooks": "next",
"@rocket.chat/fuselage": "^0.32.1",
"@rocket.chat/fuselage-hooks": "^0.32.1",
"@rocket.chat/icons": "^0.32.0",
"@rocket.chat/styled": "next",
"@rocket.chat/ui-contexts": "workspace:^",
Expand Down
6 changes: 3 additions & 3 deletions packages/uikit-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"@codemirror/tooltip": "^0.19.16",
"@lezer/highlight": "^1.1.6",
"@rocket.chat/css-in-js": "next",
"@rocket.chat/fuselage": "^0.33.0",
"@rocket.chat/fuselage-hooks": "next",
"@rocket.chat/fuselage": "^0.32.1",
"@rocket.chat/fuselage-hooks": "^0.32.1",
"@rocket.chat/fuselage-polyfills": "next",
"@rocket.chat/fuselage-tokens": "next",
"@rocket.chat/fuselage-ui-kit": "workspace:~",
"@rocket.chat/icons": "^0.32.0",
"@rocket.chat/logo": "next",
"@rocket.chat/logo": "^0.31.27",
"@rocket.chat/styled": "next",
"@rocket.chat/ui-contexts": "workspace:~",
"codemirror": "^6.0.1",
Expand Down
Loading

0 comments on commit 8613b0f

Please sign in to comment.