Commit Graph

72 Commits

Author SHA1 Message Date
Mateusz Armatys 5ba177998d fix(presentation-compose): Add padding for the second row of `ProtonSettingsItem`. 2024-03-27 12:53:40 +01:00
Neil Marietta 608473cdd9 fix(account-recovery): Various fixes regarding Material 2/3 support. 2024-03-22 15:59:13 +00:00
Neil Marietta 375bded3e1 feat(account-recovery): Added AccountRecoveryInfo. 2024-03-14 12:13:48 +01:00
Neil Marietta 5f69a56eef refactor: Deprecated RememberFlow extensions. 2024-03-14 12:13:47 +01:00
Marcin Simonides 4c2acd54c3 theme: Make base typography styles public.
This allows using the same style naming as in designs.
2024-03-13 12:35:52 +01:00
Neil Marietta c517bba3ee chore: Upgraded Kotlin to 1.9.22 (and needed dependencies). 2024-02-28 18:09:18 +00:00
Neil Marietta 14ca695e89 fix: AccountSettingsInfo fixes, refactor and adaptations. 2024-02-23 15:59:11 +00:00
Neil Marietta 9175754da6 fix(presentation-compose): hiltViewModelOrNull now use HasDefaultViewModelProviderFactory. 2024-02-23 15:59:11 +00:00
dkadrikj 50a8a4f5e6 feat(account-manager): Add settings signup/signin view. 2024-02-20 19:48:44 +01:00
dkadrikj cdc9729e4c fix(plan): Fix storage split text UI and OptionalViewModel.kt for Mail. 2024-02-13 15:53:18 +00:00
Mateusz Armatys ae073f8723 feat(presentation-compose): Add `BoxWithNotificationDot` component. 2024-02-05 14:43:26 +00:00
Mateusz Armatys 74e9a56eee feat(plan): View for displaying a warning, when storage usage is high. 2024-02-01 16:52:02 +01:00
Mateusz Armatys 4ba2c0924e feat(account-recovery): Update the UI of account recovery dialogs. 2023-09-14 08:53:16 +00:00
Algirdas Pundzius bf1edf6c1b fix(presentation-compose): Fix Material 3 coloring as incorrect scrim was used as default. 2023-07-21 11:01:19 +00:00
Neil Marietta ebfa017f37 chore!: Upgraded AGP to 8.0.2 (+Java 17). 2023-07-04 16:22:38 +02:00
Neil Marietta 144ff648bd chore: Upgraded Kotlin to 1.8.10 (+Dagger 2.46.1, +Compose to 1.4.3, +AppCompat 1.6.1, +Lifecycle 2.6.1, +Robolectric 4.10.3). 2023-07-04 15:13:07 +02:00
Mateusz Armatys 1e025cb58f feat(account-recovery): Ask the user for password, before cancelling account recovery attempt. 2023-06-20 08:47:29 +00:00
dkadrikj db58d3c93f feat(account-recovery): Account Recovery popup and tests added. 2023-06-13 18:29:58 +02:00
Mateusz Armatys 0eca3ff276 build: Rename `proton` extension name to `protonBuild`. 2023-05-09 12:10:17 +00:00
Mateusz Markowicz 67078944e7 fix(presentation-compose): Don't apply Material3 tint to elements with tonal elevation (e.g. bottom bar). 2023-04-24 15:28:13 +02:00
Marcin Simonides df62df99e0 fix(presentation-compose): Fix accent colors not updating with theme change. 2023-04-13 11:25:19 +02:00
Marcin Simonides ed3a16024e fix(presentation-compose): Add textAccent and iconAccent colors. 2023-04-12 15:11:00 +00:00
Marcin Simonides de5b3e77ae fix(presentation-compose): Add typography without color.
Add ProtonTypography styles with unspecified color. For each style the
pattern is:
1. A style with suffix 'Unspecified' is introduced. It doesn't specify
   any color.
2. A style with suffix 'Norm' is introduced. It replaces the style with
   no suffix.
3. Style with no suffix is deprecated, the *Norm style should be used
   instead.

E.g. for the default style:
1. defaultUnspecified is added.
2. defaultNorm is added.
3. default is deprecated but it still points to defaultNorm for
   backwards compatibility.
2023-04-12 15:11:00 +00:00
Zorica Stojchevska 89a18c274f fix: Fixes bottom sheet corner radius to align with figma designs. 2023-04-12 11:59:50 +00:00
Nicolas Mouchel eec6971a83 fix(presentation-compose): Use a main dispatcher in modal runAction to avoid running them in a unconfined dispatcher in ui tests. 2023-03-08 10:27:54 +00:00
Nicolas Mouchel 32b44adbbe fix(presentation-compose): BottomSheetHeader not able to expand with content. 2023-01-23 13:49:03 +01:00
Neil Marietta 7b7988812f theme: Updated Accent Colors. 2023-01-19 15:33:15 +01:00
Stefanija Boshkovska 1ecee6cb4b fix(presentation-compose): Update typography values according to designs. 2022-11-22 12:19:44 +01:00
Neil Marietta 06363c24ea feat(presentation-compose): Added Optional ViewModel hiltViewModelOrNull function. 2022-11-09 21:10:55 +01:00
Marino Meneghel 549cc2962c feat(presentation-compose): Create ProtonTheme 3 extending material 3 theme. 2022-09-28 17:50:16 +02:00
Damir Mihaljinec 0fca321538 feat(presentation-compose): Added composable to remember a request to prompt the user to create a document. 2022-09-14 10:16:02 +00:00
Damir Mihaljinec b75f6f4c56 chore: Updated AndroidX Activity to 1.5.0. 2022-09-14 10:16:02 +00:00
Damir Mihaljinec ae3d3b11cd refactor(presentation-compose): Deprecated rememberFilePickerLauncher composable, should be replaced with rememberOpenMultipleDocumentsLauncher. 2022-09-14 10:16:02 +00:00
Damir Mihaljinec b255a59523 feat(presentation-compose): Added possibility to modify launcher Intent for OpenMultipleDocuments activity. 2022-09-14 10:16:02 +00:00
Marino Meneghel dbbc6ef299 fix(presentation-compose): Make ProtonCenteredProgress being centered. 2022-08-17 15:45:05 +00:00
Marino Meneghel cf3d4554bf fix(presentation-compose): Add overlineWeak to ProtonTypography. 2022-08-17 15:45:05 +00:00
Neil Marietta 2ffcf2b47a theme: Updated Presentation and Presentation-Compose modules Color Taxonomy.
Added 1 global color (Pampas).
Added 1 reference color (proton_background_deep).
Changed Dark/Light Theme colors assignment.
2022-08-15 07:52:43 +00:00
Mateusz Armatys c5071d7815 build: Optimize dependencies. 2022-07-28 16:07:58 +02:00
Stefanija Boshkovska 2f3a13266f fix(presentation): Make changes to support accessibility according to guidelines. 2022-06-15 18:15:56 +02:00
Damir Mihaljinec 7cb1b0586a feat(presentation-compose): Added `ProtonAlertDialogButton` and more flexibility for overriding button colors on `ProtonButton`. 2022-06-07 17:57:08 +02:00
Damir Mihaljinec fb96dcaf52 feat(presentation-compose): Added `ProtonColors.interactionNorm` with enabled/disabled state. 2022-06-07 17:51:09 +02:00
Neil Marietta d61fbfa9ec feat(presentation-compose): Added ProtonSidebarItem/ProtonListItem iconModifier/textModifier. 2022-05-25 18:26:39 +02:00
Neil Marietta 133f2fc053 theme: Replaced Snackbar colors (new colors: Mauvelous, Texas Rose, Puerto Rico; adjusted: Pomegranate, Sunglow, Apple). 2022-05-25 13:22:44 +02:00
Neil Marietta d55a8b0db6 theme: Replaced Sidebar colors (new: Haiti, Valhalla, Jacarta). 2022-05-25 13:22:44 +02:00
Mateusz Armatys 82842e462c theme: Update icons usage. 2022-05-25 13:22:44 +02:00
Neil Marietta 39298db7e7 theme: Updated Sidebar & Primary Account Switcher colors. 2022-05-25 13:22:44 +02:00
Jorge Martin 1cf5f71726 theme: Add updated accent colors to taxonomy. 2022-05-25 13:22:44 +02:00
Jorge Martin 9e75a770d2 theme: Update color taxonomy. 2022-05-25 13:22:44 +02:00
Jorge Martin 8d0347626f theme: Update corner radius for rebranding. 2022-05-25 13:22:44 +02:00
Davide Farella 62b40e9462 theme(presentation-compose): Added PROTON_PROGRESS_TEST_TAG to ProtonCenteredProgress. 2022-05-11 14:37:07 +00:00