Benoit Marty
e93f245fcf
Fix detekt issue.
1 year ago
Benoit Marty
066aaef0fd
Fix message color bubbles.
1 year ago
Benoit Marty
8cb0e0808c
Improve API of UnreadIndicatorAtom
1 year ago
Benoit Marty
349d9fbc0f
Rename color alias
1 year ago
Benoit Marty
85d3fef5e7
Unread indicator color changed to iconAccentTertiary
1 year ago
Benoit Marty
ebb34a0214
Fix placeholoder color issue (with a workaround)
1 year ago
Benoit Marty
d1f8e64fa1
Do not change bg color of DropdownMenu for dark theme
1 year ago
Benoit Marty
d5faa35977
Remove legacy TextStyles
1 year ago
Benoit Marty
76e9939c42
Mark param as ready to be removed.
1 year ago
Benoit Marty
18f1d080c3
fontSize -> style
1 year ago
Benoit Marty
909e4518c0
Tweak colors of drop down menu.
1 year ago
Benoit Marty
0b7e0293cf
Ensure menu item text has style fontBodyLgRegular
1 year ago
Benoit Marty
1d07aa9817
Ensure dropdown menu is 200.dp width.
1 year ago
Benoit Marty
348fab5962
Add 16.dp offset to the menu
1 year ago
Benoit Marty
c1ae0ffa58
Create wrapper for DropdownMenuItem and DropdownMenu
1 year ago
Benoit Marty
bffe29a8cc
Add some debug composable to measure manually items on Preview.
1 year ago
ganfra
b296937209
Media upload : Fix lint
1 year ago
ganfra
f090aa021e
Media upload: branch progress callback to UI
1 year ago
Jorge Martin Espinosa
679ee301dd
Create a dummy value by default for `LocalSnackbarDispatcher`. ( #715 )
...
This should solve the issue with needing to provide a `LocalSnackbarDispatcher` for previews and screenshot tests.
1 year ago
Marco Romano
67f9444633
Adds M3's `BottomSheetScaffold` wrapper to `designsystem` module ( #711 )
...
Needed for the share location screen.
1 year ago
Jorge Martin Espinosa
683b0b3594
Link Compound's `TypographyTokens` to `ElementTheme`. ( #700 )
...
* Link Compound's `TypographyTokens` to `ElementTheme`.
Also add some docs about when we should use each set of tokens.
* Renamed `LocalColors` to `LocalLegacyColors`.
Made both `LocalLegacyColors` and `LocalCompoundColors` internal. This means it will need to always be used through `ElementTheme.`
Also, removed any usages of `LocalColors.current` accross the project, they're now used through `ElementTheme.legacyColors`.
1 year ago
Benoit Marty
8c3402b3f9
Use Semantic color for placeholder.
1 year ago
Benoit Marty
8dcf527933
Fix compilation issue after rebase.
1 year ago
Benoit Marty
80f2f6aa55
Fix compilation issue after rebase.
1 year ago
Benoit Marty
31c7c29836
Fix rendering of Room item in ForwardMessagesView
1 year ago
Benoit Marty
30d2a319ce
Use a determinate progress indicator to improve the preview rendering
1 year ago
Benoit Marty
0c7832534c
Cleanup
1 year ago
Benoit Marty
5e455eccb6
Fix compilation issue after rebase
1 year ago
Benoit Marty
ee3e2108a0
Move all density unit calculation to the same place.
1 year ago
Benoit Marty
77432ef1a7
Create AvatarSize.MessageActionSender for Avatar in message actions bottom sheet (same value but do not use AvatarSize.TimelineSender)
1 year ago
Benoit Marty
980d5462f3
Iterate on Room placeholder
1 year ago
Benoit Marty
905f681d70
Disable tonal elevation for bottom sheet in light theme.
1 year ago
Benoit Marty
fb09991793
Create UnreadIndicatorAtom with preview.
1 year ago
Benoit Marty
d7424ad1c3
Fix an issue on Avatar when font scale is not 1f.
1 year ago
Benoit Marty
92bd16832d
Rework AvatarSize.
...
Remove default value for AvatarSize, it has to be explicitely provided.
1 year ago
Jorge Martin Espinosa
a16335b4b7
[Compound] Integrate compound tokens ( #586 )
...
* Added tokens.
* Apply color to MaterialTheme, also add typography.
* Map colors to the right ones in the themes.
* Create and improve previews of some components
* More preview improvements
* Add `tertiary` and `onTertiary` colors, remove some unused ones.
* Fix usage of deleted color token
* Fix bug in Switch previews
* Create a separate `:libraries:theme` module to keep everything related to colors, typography and Compound in general.
* Fix `DatePickerPreview`
* Add missing Compound generated files by fixing their package name
* Move `ElementTheme` to the `:libraries:theme` module, make some variables internal.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
659b9d3d9c
Now that the composer as been removed, we do not need element resource module anymore.
1 year ago
Benoit Marty
dfa1adb9c1
More cleanup
1 year ago
Benoit Marty
798da50454
Use `CommonStrings` everywhere
1 year ago
Marco Romano
c5c9cd33da
Refine handleSnackbarMessage API ( #676 )
...
As per our offline convos during a PR review.
1 year ago
Benoit Marty
4f269d37dd
Improve PreferenceText rendering, in particular center the test on the right vertically, add padding in add more previews.
1 year ago
Jorge Martin Espinosa
9251cbf536
[Message Actions] Report messages ( #642 )
...
* Add report messages feature
* Try to improve how snackbars are delivered
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Marco Romano
e1bb5684cd
Expose new `windowInsets` param from `ModalBottomSheet` ( #662 )
...
Part of new public API in compose.material3:1.1.1
1 year ago
Benoit Marty
9701abf15e
Extract method about text to the design system module.
1 year ago
Jorge Martin Espinosa
244306545f
Move logic of different BottomSheets in `MessagesView` to presenters ( #600 )
...
* Move bottom sheet logic in `MessagesView` to presenters.
* Make the block inside `SheetState.hide` suspend.
1 year ago
Benoit Marty
fde6b0e9bb
Add some generated KDoc.
1 year ago
Benoit Marty
4f4d024a9f
No need to pass `maxLines = 1` if `singleline = true` anymore.
1 year ago
Benoit Marty
921a352947
Inline the scroll state.
1 year ago
Benoit Marty
1bc5277bc2
Fix icon tint
1 year ago
Benoit Marty
b039f0d01d
Validate server on user click.
1 year ago