Commit graph

44 commits

Author SHA1 Message Date
Manav 3c046f8d98 Increase trailing margin for the theme picker selection checkmark
Before this, the checkmark aligned to the dropdown indicators. This increases
the spacing (to match that of the leading text) to indicate that the checkmark
is part of the content.

Sibling PR on auth: https://github.com/ente-io/auth/pull/31
2023-01-08 16:45:00 +05:30
ashilkn 6b5f2a5fec Add pressed state for menuItem by default if onTap or onDoubleTap is passed 2023-01-06 11:45:17 +05:30
Manav ab43dd54db Reduce colors for icons too 2023-01-01 00:03:12 +05:30
Neeraj Gupta b71c214c58
Merge branch 'master' into collaboration_view 2022-12-08 14:06:00 +05:30
vishnukvmd 334e27da56 Rename variable 2022-12-06 23:33:39 +05:30
Neeraj Gupta 3546b5ef33
MenuItem: Allow passing custom leadingIcon 2022-11-22 09:30:12 +05:30
Neeraj Gupta ef6ab0b54c
minor ui fixes 2022-11-21 16:09:14 +05:30
ashilkn 8fb752f578 layout changes to MenuItemWidget and CaptionedTextWidget 2022-11-01 17:02:29 +05:30
ashilkn c766d30662 fallback to menuItemColor if pressedColor is null on pressed state on MenuItemWidget 2022-10-28 11:11:52 +05:30
ashilkn 9854994992 add option to disable gesture detector for MenuItemWidget 2022-10-28 11:09:11 +05:30
ashilkn e5d2f8114d add option to remove top and/or bottom border radius of MenuItemWidget 2022-10-28 10:46:00 +05:30
ashilkn e15157c3ac used a better variable name 2022-10-22 11:56:47 +05:30
ashilkn d666cd8381 fixed UI bug on theme change 2022-10-22 11:43:35 +05:30
ashilkn e750d4b804 added onCancel on menuItem for bug fix 2022-10-21 19:30:17 +05:30
ashilkn 82237bfd3e on pressed state for menuItem widget 2022-10-21 19:07:57 +05:30
ashilkn 6e2226380a change bg color of expandable menu item on expansion 2022-10-13 17:55:21 +05:30
ashilkn cc8e035ac9 minor changes 2022-10-12 09:21:29 +05:30
ashilkn c79bb728d9 added animation to trailing icon of menuItemWidget 2022-10-07 13:34:27 +05:30
ashilkn 0e983806a5 removed bottom border radius of MenuItemWidget when expanded 2022-10-07 12:09:39 +05:30
ashilkn 89ef58c2b1 misc. changes 2022-10-07 10:26:29 +05:30
ashilkn 5af7d40180 use ToggleSwitchWidget for switches 2022-10-05 21:27:41 +05:30
ashilkn fa46328b34 minor changes 2022-10-05 19:44:28 +05:30
ashilkn 47c8a430d4 used MenuItemWidget for Support's selectionOptions 2022-10-05 11:07:09 +05:30
ashilkn 322be5864d scaled down size of trailing switch in menu item 2022-10-05 10:55:46 +05:30
ashilkn 0eee71ec0e used MenuItemWidget for Backup's selectionOptions 2022-10-04 18:45:51 +05:30
ashilkn bba0dc2740 onTap not working fix 2022-10-04 15:37:55 +05:30
ashilkn e550c1ca6d made expand more icon disappear upon expanding the menu item header 2022-10-03 20:02:39 +05:30
ashilkn 417b29c721 added border radius property to menu item 2022-10-03 12:49:12 +05:30
ashilkn 38a5256d88 added option to align captionedText when leading icon is not present and the menu item is nested 2022-10-03 11:56:02 +05:30
ashilkn 27add0ea7c removing+refactoring code 2022-09-29 17:51:31 +05:30
ashilkn a26037e7c0 add isHeaderExpansion property to decide to or not to add gesture detector to it 2022-09-29 07:38:02 +05:30
ashilkn ab0912ace0 rename to correct variable name 2022-09-29 07:10:27 +05:30
ashilkn 784131e407 remove default leading icon 2022-09-28 19:08:26 +05:30
ashilkn c339c79424 rename variable 2022-09-28 18:28:07 +05:30
ashilkn 92edfeb9d0 add option to change 1st captioned text color 2022-09-28 18:09:34 +05:30
ashilkn eac6c6e65c moved CaptionedTextWidget to seperate file 2022-09-28 17:54:21 +05:30
ashilkn 14bf9e9f86 rename LeadingWidget to CaptionedTextWidget and moved leading icon to MenuItemWidget 2022-09-28 17:52:16 +05:30
ashilkn 9e1c9a21ac added comments 2022-09-28 17:40:49 +05:30
ashilkn 1d51f0646d leading icon and it's color can be changed + renaming incorrect variable names 2022-09-28 17:38:04 +05:30
ashilkn 7308ffe870 added wrap to text content + refactoring 2022-09-28 17:21:52 +05:30
ashilkn 440111ec47 changes to trailing icon of menu_item 2022-09-28 14:07:31 +05:30
ashilkn e1dae4733d applied new changes from figma 2022-09-28 12:54:22 +05:30
ashilkn 7756ac81a0 add leading icon to menu_item component 2022-09-28 11:05:17 +05:30
ashilkn 26e921237b made 70% of the menu_item component 2022-09-28 10:30:43 +05:30