-
-
Notifications
You must be signed in to change notification settings - Fork 506
feat: Add video call support #2599
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
Merged
Merged
Changes from 250 commits
Commits
Show all changes
306 commits
Select commit
Hold shift + click to select a range
79b4303
Add call status to bottom of home nav
GigiaJ 40a25aa
Move out bottom nav into own file
GigiaJ 0fb5ffc
add creation handling for calls by setting creation content type
GigiaJ 39e7de3
Add room type option
GigiaJ 5ae8064
Remove text chat for now
GigiaJ 02cb7ea
Add a check for space to hide option in space creation
GigiaJ 7beb841
Revert casing to fix bottom nav status buttons (should swap back when…
GigiaJ 5677042
Place holder buttons
GigiaJ 6d4b37f
add call status bar call room link
GigiaJ 1573353
re-enable header buttons globally for now
GigiaJ 2f980a7
The reuse is substantial enough to justify including the license
GigiaJ c7ea3f7
The code reuse is substantial enough to justify including the license
GigiaJ a4af96b
Fix DM header since it *can* be a call room
GigiaJ f7fb4bc
Remove chat open icon from DMs
GigiaJ c8790a5
Fix syntaxical mistake causing chat open state to never update
GigiaJ 6691467
Enable chat toggle for call rooms (still needs cleaner UI, but works …
GigiaJ 39d4eed
Disable DM calling button for now (not implemented properly yet)
GigiaJ d6ffac7
Set mic default state to be generally accurate (need to set state fro…
GigiaJ b5ca54d
Prevents undefined object from being checked for values and filtered …
GigiaJ 1e8a69f
update references to transport to clientwidgetapi (as transport is a …
GigiaJ e766640
Update transport refs to allow us to properly bind listeners for medi…
GigiaJ 8700fe8
Add some parameters to be settable (need to create an param object ty…
GigiaJ 4779b09
Always embed to give a proper call room lobby experience
GigiaJ b4d9828
Add tooltips and properly implement the navlink
GigiaJ ec74142
add join, screen_state, and hang up handling as well as logging state…
GigiaJ a555190
Activate when active call state is false
GigiaJ 7ce3b40
Add call room icon (needs variations based on join rules)
GigiaJ 8c6a626
add call as a param to pass
GigiaJ 96be8e1
add chat button handling for call rooms and impl call room icon
GigiaJ 8038c2a
add isCallActive to memo
GigiaJ 7c6c1f5
prep visibility for multi-iframes
GigiaJ 93fbbec
update to support two iframes - still needs to leverage balancing the…
GigiaJ de1a629
prepare for juggling iframes and handling hang up appropriately
GigiaJ a2a83fc
update to enable chat icon to be able to open call room WITHOUT joini…
GigiaJ 7f8aeb3
remove logger statement and swap hash to search
GigiaJ c64dbb0
add a state store for which iFrame is active
GigiaJ 7808adb
add (really badly) state logic for the active iframe
GigiaJ 79647c5
Add users on the nav to showcase call activity and who is in the call
GigiaJ 3dcfde4
add check to prevent DCing from the call you're currently in...
GigiaJ 2e0218c
Add avatar and username for the space (needs to be moved into RoomNav…
GigiaJ 2841386
Add background variant to buttons
GigiaJ b40ddf0
Update hook to keep method signature (accepting an array of Rooms ins…
GigiaJ 9cb7051
Add state listener so the call activity is real time updated on joins…
GigiaJ 5ee3897
Add RoomNavUser for displaying the user avatar + name in the nav for …
GigiaJ 4083bbb
rename CallNavBottom to CallNavStatus
GigiaJ d11bdb2
Rename callnavbottom and fix linking implementation to actually be co…
GigiaJ a5a8f28
temp fix to allow the status to be cleared in some way
GigiaJ 824be5b
re-add background to active call link button
GigiaJ 9e919ea
prepare to feed this to child elements for visibility handling
GigiaJ 3fcf2fe
loosely provide nav handling for testing refactoring
GigiaJ abe79ce
Add CallView
GigiaJ c05421e
Update to funnel Outlet context through for Call handling (might not …
GigiaJ 1bd593b
update client layout to funnel outlet the iframes for the call container
GigiaJ 8b50ac1
funnel through just iframe for now for testing sake
GigiaJ 43ce6f0
Update room to use CallView
GigiaJ 8b2fa10
Pass forward the backupIframeRef now
GigiaJ 0be5fb9
remove unused params
GigiaJ a690dbd
Add backupIframeRef so we can re-add the lobby screen for non-joined …
GigiaJ 6714300
Remove unused imports and restructure to support being parent to clie…
GigiaJ eea8ffe
Re-add layout as we're no longer oddly passing outlet context
GigiaJ 807c90e
swap to using ref provider context from to connect to persistentcallc…
GigiaJ 4293538
Revert to original code as we've moved calling to be more inline with…
GigiaJ 00ac8f6
Revert to original code as we've moved the outlet context passing out…
GigiaJ ae9cc7a
Fix unexpected visibility in non-room areas
GigiaJ 1cdc068
correctly provide visibility
GigiaJ 9ae7c31
re-add mobile chat handling
GigiaJ cd23305
Improve call room view stability
GigiaJ a1c0b79
split into two refs
GigiaJ da3d20d
add ViewedRoom usage
GigiaJ cde0d5f
Disable
GigiaJ 1b89831
add roomViewId and related
GigiaJ 6601c47
(broken) juggle the iframe states proper... still needs fixing
GigiaJ f28a3a1
Conditionals to manage the active iframe state better
GigiaJ d488c24
add navigateRoom to be in both conditions for the nav button
GigiaJ 5ab0b39
Fix the view to correctly display the active iframe based on which is…
GigiaJ f3612e2
Testing the iframe juggling. Seems to work for the first and second j…
GigiaJ 4486ef1
add url as a param for widget url
GigiaJ 59a936b
fix backup iframe visibility
GigiaJ 74c883d
Much closer to the call state handling we want w/ hangups and joins
GigiaJ 7043376
Fix the position of the member drawer to its correct location
GigiaJ af455a5
Ensure drawer doesn't appear in call room
GigiaJ 3e3d686
Better handling of the isCallActive in the join handler
GigiaJ 1e44557
Add ideal call room join behavior where text rooms to call room simpl…
GigiaJ e688c19
Fix mobile call room default behavior from auto-join to displaying lobby
GigiaJ dabe7f7
swap call status to be bound to call state and not active call id
GigiaJ d9c0c85
Remove clean room ID and add default handler for if no active call ha…
GigiaJ 6e33c8e
Applies the correct changes to the call state and removes listeners o…
GigiaJ 7ef3340
Remove superfluous comments and Date.now() that was causing loading..…
GigiaJ 0b70ce7
Remove Date.now() that was causing widgetId desync
GigiaJ 7dcd43c
add listener clearing, camel case es lint rule exception, remove unne…
GigiaJ e5505cd
Remove unused
GigiaJ 3bd7588
Add widgetId as a getWidgetUrl param
GigiaJ 5481595
Remove no longer needed files
GigiaJ c6ceb3f
revert ternary expression change and add to dependency array
GigiaJ 19f1df7
add widgetId to correct pos in getWidgetUrl usage
GigiaJ 07a980a
Remove CallActivation
GigiaJ 67fbf94
Move and rename RoomCallNavStatus
GigiaJ a81492c
update imports and dependency array
GigiaJ 023a23d
Rename and clean up
GigiaJ 0db52c2
Moved CallProvider
GigiaJ cd0d4c9
Resolved merge conflict
GigiaJ 395a24f
Fix spelling mistake
GigiaJ f262f54
Fix to use shorthand prop
GigiaJ e4ce4da
Remove unneeded logger.errors
GigiaJ ff02c46
Fixes element-call embedded support (but it seems to run poorly)
GigiaJ 4c8ab4e
null the default url so that we fallback to the embedded version (wou…
GigiaJ d3ec9fa
Fix vite build to place element-call correctly for embedded npm packa…
GigiaJ c108295
add vite preview as an npm script
GigiaJ d54bc2c
Move files to more correct location
GigiaJ 9b3c6e7
Add package-lock changes
GigiaJ 27196cb
Set dep version to exact
GigiaJ 1871f70
Fix path issue from moving file locations
GigiaJ 9302003
Sets initial states so the iframes don't cause the other to fail with…
GigiaJ b18f636
Revert navitem change
GigiaJ 65ff5e3
Just check for state on both which should only occur at initial
GigiaJ b6afe3b
Fixes call initializing by default on mobile
GigiaJ 03cbecc
Provides correct behavior when call isn't active and no activeClientW…
GigiaJ e220387
Corrects the state for the situations where both iframes are "active"…
GigiaJ 872e9a2
Reduce code reuse in handleJoin
GigiaJ 0b6009a
Seems to sort out the hangup status button bug the occurred after joi…
GigiaJ 8b22573
Re-add the default view current active room behavior
GigiaJ 3818671
Remove repetitive check
GigiaJ f2f98a6
Add storing widget for comparing with (since we already store room id…
GigiaJ 0ef9c56
Update rendering logic to clear up remaining rendering bug (straight …
GigiaJ f842356
Merge branch 'dev' into dev
GigiaJ 9499289
Prevent null rooms from ever rendering
GigiaJ 7d26601
This seems to manage the hangup state with the status bar button well…
GigiaJ 99576a2
Remove viewed room setting here and pass the room to hang up (seems s…
GigiaJ f3c0aeb
Remove unused
GigiaJ 22903c9
Properly declare new hangup method sig
GigiaJ 108eb60
Seems to avoid almost all invalid states (hang up while viewing anoth…
GigiaJ 1a82196
Fix for cases where you're viewing a lobby and hang up your existing …
GigiaJ bf131f7
Re-add intended switching behavior
GigiaJ df84eb1
More correct filter (viewedRoom can return false on that compare in s…
GigiaJ 335df8d
Seems to shore up the remaining state issues with the status bar hangup
GigiaJ 18ea2d2
Fix formatting
GigiaJ 9b98083
In widget hang up button should be handled correct now
GigiaJ 0bd42a3
Solves the CHCH sequence issue, CLJH remains
GigiaJ 923982e
Fixes CLJH, found CCH
GigiaJ 0e332d6
Solves CCH. Looks like CLCH left
GigiaJ c99112b
A bit of an abomination, but adds a state counter to iteratively hand…
GigiaJ 3e6d55f
Fix dependency array
GigiaJ 78dcdfd
Merge branch 'dev' into dev
GigiaJ 39b20c7
Technically corrects the hangup button in the widget, should be more …
GigiaJ 4225282
Bind the on messaging iframe for easier access in hangup/join handling
GigiaJ e3f1697
Far cleaner and more sensible handling of the call window... I just r…
GigiaJ 6edee72
Fixes a bug where if you left a call then went to a lobby and joined …
GigiaJ 153d7d1
Merge branch 'dev' into dev
GigiaJ 73c17d3
Fixes complaints of null contentDocument in iframe
GigiaJ e42a617
Merge branch 'dev' into dev
GigiaJ e78d1da
Update to use new icons (thank you)
GigiaJ 7228c2e
Remove unneeded prop
GigiaJ 02ac70a
Re-arrange more options and add checks for each option to see if it i…
GigiaJ daadbe4
Invert icons to show the state instead of the action they will perfor…
GigiaJ e1146b1
Update src/app/features/room-nav/RoomCallNavStatus.tsx
GigiaJ a5a9e72
Update src/app/features/room-nav/RoomCallNavStatus.tsx
GigiaJ 3b76787
Update src/app/features/room-nav/RoomCallNavStatus.tsx
GigiaJ 8dfc3aa
Update src/app/features/room-nav/RoomCallNavStatus.tsx
GigiaJ 0d2f76e
Update src/app/features/room-nav/RoomCallNavStatus.tsx
GigiaJ 2575d77
Update src/app/features/room-nav/RoomCallNavStatus.tsx
GigiaJ 5d22b28
Update src/app/features/room-nav/RoomNavItem.tsx
GigiaJ 8e4f310
Update src/app/features/room/RoomViewHeader.tsx
GigiaJ 4d14eb9
Update src/app/features/room-nav/RoomNavItem.tsx
GigiaJ 3f2c2af
Update src/app/features/room-nav/RoomNavItem.tsx
GigiaJ 9f749d1
Update src/app/features/room-nav/RoomNavItem.tsx
GigiaJ b08fa60
Update src/app/features/room-nav/RoomNavItem.tsx
GigiaJ 7a169fc
Update src/app/features/room-nav/RoomNavItem.tsx
GigiaJ f74feec
Update src/app/features/room-nav/RoomNavItem.tsx
GigiaJ aca2a40
Update src/app/features/room-nav/RoomNavUser.tsx
GigiaJ b46c9ed
Update src/app/features/room-nav/RoomNavUser.tsx
GigiaJ dd158fa
Update src/app/features/room-nav/RoomNavUser.tsx
GigiaJ e6e751d
Update src/app/pages/client/space/Space.tsx
GigiaJ 6b3c9df
Update src/app/features/call/CallView.tsx
GigiaJ c675131
Update src/app/features/call/CallView.tsx
GigiaJ a2c8097
Update src/app/features/call/CallView.tsx
GigiaJ 9be2a94
Update src/app/features/room/RoomView.tsx
GigiaJ 4403eac
Update src/app/features/room/RoomView.tsx
GigiaJ 7712e34
adjust room header for calling
GigiaJ 2081539
Remove No Active Call text when not in a call
GigiaJ 12e4ba9
Merge branch 'dev' into dev
GigiaJ 78c3850
update element-call version
GigiaJ 6d0e8b7
Update src/app/features/room/RoomViewHeader.tsx
GigiaJ 7e948f0
Update src/app/features/room/RoomViewHeader.tsx
GigiaJ 40a2277
Update src/app/features/room/RoomViewHeader.tsx
GigiaJ 2869735
Update src/app/features/room/RoomViewHeader.tsx
GigiaJ eaf70fb
Update src/app/features/room/RoomViewHeader.tsx
GigiaJ efc77ce
Revert most changes to Space.tsx
GimleLarpes f407905
Show call room even if category is collapsed
GimleLarpes 79fab78
changes to RoomNavItem, RoomNavUser and add useCallMembers
GimleLarpes ca2c868
Rename file, sprinkle in the magic one line for matrixRTCSession. and…
GigiaJ 92e24e5
swap userId to callMembership as a prop and add a nullchecked userId …
GigiaJ 5a25da4
update references to use callMembership instead
GigiaJ 235bb63
Merge pull request #41 from GimleLarpes/patch-1
GigiaJ 77f8a04
Merge pull request #54 from GigiaJ/pr-41
GigiaJ 4be7042
Simplify RoomNavUser
GimleLarpes b91a9d7
Simplify RoomViewHeader.tsx
GimleLarpes fb9ca31
Update Room.tsx to accomodate restructuring of Room, RoomView and Cal…
GimleLarpes e504a9e
Update RoomView.tsx to accomodate restructuring of Room, RoomView and…
GimleLarpes 528cbc5
Update CallView.tsx to accomodate restructuring of Room, RoomView and…
GimleLarpes 51cfd72
Merge pull request #59 from GimleLarpes/patch-2
GigiaJ 141f148
Merge pull request #60 from GimleLarpes/patch-3
GigiaJ a299e9c
Merge pull request #58 from GimleLarpes/patch-1
GigiaJ 7bca8fb
add call related permissions to room permissions
YoJames20192 9e1aab2
bump element call to 0.16.3, apply cinny theme to element call ui, re…
YoJames20192 e481116
update text spacing
YoJames20192 990a92a
redo roomcallnavstatus ui, force user preferred mute/video states whe…
YoJames20192 5b3a0f1
set default mic state to enabled
YoJames20192 4095763
clean up ts/eslint errors
YoJames2019 9562103
remove debug logs
YoJames2019 008669e
format using prettier rules from project prettierrc
YoJames2019 e01009f
Merge remote-tracking branch 'upstream/dev' into feat/element-call
hazre 47f1d11
fix: show call nav status while active call is ongoing
hazre 9dbe53a
fix: clean up call nav/call view console warnings
hazre 7ceba03
fix: keep call media controls visible before joining
hazre 4f498af
fix: restore header icon button fill behavior
hazre afac47d
style: blend header and room input button styles in call nav
hazre a6f75eb
fix page header background color on room view header
YoJames2019 5aec273
Merge pull request #1 from YoJames2019/feat/element-call
hazre e04aeb8
Merge branch 'dev' into feat/element-call
ajbura 9554b31
Merge branch 'dev' into feat/element-call
hazre efb3e11
fix: permissions and room icon resolution (#2)
YoJames2019 92f490e
feat: show connected/connecting call status
hazre d2348d2
fix: preserve navigation context when opening non-call rooms
hazre 23b1216
fix: reset room name state when room instance changes
hazre 1f2f8ff
Merge pull request #3 from hazre/fix/element-call-bug-1
hazre 9bc157a
Merge remote-tracking branch 'upstream/dev' into feat/element-call
hazre 99cae93
feat: Disable webcam by default using callIntent='audio'
hanthor 34bccf6
Add channel type selecor
TymekV 31e4a02
Add option for voice rooms, which for now sets the default selected
TymekV 2a10347
Add proper support for room selection from the enu
TymekV e85172a
Merge pull request #4 from hanthor/fix/disable-webcam-default
hazre ee6875b
Move enums to `types.ts` and change icons selection to use
TymekV 2efdaae
Merge pull request #5 from Tymek-V/feat/channel-type-selector
hazre c037af4
Merge remote-tracking branch 'upstream/dev' into feat/element-call
hazre 341e3cd
fix: group duplicate conditions into one
YoJames2019 cee5396
fix: typo
YoJames2019 c97fba7
Merge pull request #7 from YoJames2019/fix/room-header-cleanup-1
hazre 7f73caf
refactor: rename kind/voice to access/type and simplify room creation
hazre 881da5c
refactor: unify join rule icon mapping and update call/space icons
hazre 30303fe
chore(deps): bump matrix-widget-api to 1.17 and remove react-sdk-modu…
hazre a4c34ef
fix: adapt SmallWidget to matrix-widget-api 1.17.0 API
hazre 0f047e5
fix: render call room chat only when chat panel is open
hazre ff3def0
fix(permissions): show call settings permissions only for call rooms
hazre 7f1a465
refactor: remove redundant room-nav props/guards and minor naming cle…
hazre 5b7e96f
fix: use PhoneDown icon for hang up action
hazre 578cb86
chore(hooks): remove unused useStateEvents hook
hazre 21e596d
fix(room): enable members drawer toggle in desktop call rooms
hazre 8aedad0
Revert "fix: adapt SmallWidget to matrix-widget-api 1.17.0 API"
hazre f463f3e
fix: semi-revert matrix-widget-api 1.17 bump and migrate to 1.13 API
hazre 459b52e
fix(call): wait for Element Call contentLoaded before widget handshake
hazre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
src/app/components/create-room/CreateRoomVoiceSelector.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| import React from 'react'; | ||
| import { Box, Text, Icon, Icons, config, IconSrc } from 'folds'; | ||
| import { SequenceCard } from '../sequence-card'; | ||
| import { SettingTile } from '../setting-tile'; | ||
| import { CreateRoomVoice } from './types'; | ||
|
|
||
| type CreateRoomVoiceSelectorProps = { | ||
| value?: CreateRoomVoice; | ||
| onSelect: (value: CreateRoomVoice) => void; | ||
| disabled?: boolean; | ||
| getIcon: (kind: CreateRoomVoice) => IconSrc; | ||
| }; | ||
| export function CreateRoomVoiceSelector({ | ||
hazre marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| value, | ||
| onSelect, | ||
| disabled, | ||
| getIcon, | ||
| }: CreateRoomVoiceSelectorProps) { | ||
| return ( | ||
| <Box shrink="No" direction="Column" gap="100"> | ||
| <SequenceCard | ||
| style={{ padding: config.space.S300 }} | ||
| variant={value === CreateRoomVoice.TextRoom ? 'Primary' : 'SurfaceVariant'} | ||
| direction="Column" | ||
| gap="100" | ||
| as="button" | ||
| type="button" | ||
| aria-pressed={value === CreateRoomVoice.TextRoom} | ||
| onClick={() => onSelect(CreateRoomVoice.TextRoom)} | ||
| disabled={disabled} | ||
| > | ||
| <SettingTile | ||
| before={<Icon size="400" src={getIcon(CreateRoomVoice.TextRoom)} />} | ||
| after={value === CreateRoomVoice.TextRoom && <Icon src={Icons.Check} />} | ||
| > | ||
| <Text size="H6">Text</Text> | ||
| <Text size="T300" priority="300"> | ||
| Send text messages, videos and GIFs. | ||
| </Text> | ||
| </SettingTile> | ||
| </SequenceCard> | ||
| <SequenceCard | ||
| style={{ padding: config.space.S300 }} | ||
| variant={value === CreateRoomVoice.VoiceRoom ? 'Primary' : 'SurfaceVariant'} | ||
| direction="Column" | ||
| gap="100" | ||
| as="button" | ||
| type="button" | ||
| aria-pressed={value === CreateRoomVoice.VoiceRoom} | ||
| onClick={() => onSelect(CreateRoomVoice.VoiceRoom)} | ||
| disabled={disabled} | ||
| > | ||
| <SettingTile | ||
| before={<Icon size="400" src={getIcon(CreateRoomVoice.VoiceRoom)} />} | ||
| after={value === CreateRoomVoice.VoiceRoom && <Icon src={Icons.Check} />} | ||
| > | ||
| <Text size="H6">Voice</Text> | ||
| <Text size="T300" priority="300"> | ||
| A room optimized for voice calls. | ||
| </Text> | ||
| </SettingTile> | ||
| </SequenceCard> | ||
| </Box> | ||
| ); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| export enum CreateRoomVoice { | ||
| TextRoom = 'text', | ||
| VoiceRoom = 'voice', | ||
| } | ||
|
|
||
| export enum CreateRoomKind { | ||
| Private = 'private', | ||
| Restricted = 'restricted', | ||
| Public = 'public', | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| import { style } from '@vanilla-extract/css'; | ||
| import { DefaultReset, config } from 'folds'; | ||
| import { ContainerColor } from '../../styles/ContainerColor.css'; | ||
|
|
||
| export const CallViewUserGrid = style({ | ||
| display: 'flex', | ||
| flexWrap: 'wrap', | ||
| justifyContent: 'center', | ||
| alignItems: 'center', | ||
| marginInline: '20px', | ||
| gap: config.space.S400, | ||
| }); | ||
|
|
||
| export const CallViewUser = style([ | ||
| DefaultReset, | ||
| ContainerColor({ variant: 'SurfaceVariant' }), | ||
| { | ||
| height: '90px', | ||
| width: '150px', | ||
| borderRadius: config.radii.R500, | ||
| }, | ||
| ]); | ||
|
|
||
| export const UserLink = style({ | ||
| color: 'inherit', | ||
| minWidth: 0, | ||
| cursor: 'pointer', | ||
| flexGrow: 0, | ||
| transition: 'all ease-out 200ms', | ||
| ':hover': { | ||
| transform: 'translateY(-3px)', | ||
| textDecoration: 'unset', | ||
| }, | ||
| ':focus': { | ||
| outline: 'none', | ||
| }, | ||
| }); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.