From 8cac87fccf6e3f984c94d5c4822d467e8ff170c0 Mon Sep 17 00:00:00 2001 From: Younes Charfaoui Date: Fri, 25 Oct 2024 08:02:10 +0100 Subject: [PATCH] Updating All the Tarka components (#256) * Updating Formatting for the base components, adding TUIToggleRow feature to show unavailable. Adjusting padding and other measurements stuff. * Updating Formatting for the base components, adding Not available for TUICheckRoxRow and tuiSelectionCard * Updating Formatting for Email components. * Updating Formatting for Radio components. * Updating Formatting for tab components. * Adding Shape for extra small, adding color for error55, formatting the code. * Adding new component of TuiAppBottomBar * Adding behaviour of barcode to TuiSearchBar, and fixing trailing Icon issue. * Adding behaviour of barcode to TUIAppTopBar * Updating formatting of TUIAttachmentUpload * Updating formatting of TUIChip. * Adding new component of TUIContentBox. * Updating Formatting for TUIDivider. * Updating Formatting for TUIMediaThumbnail.kt. * Adding Custom Style Parametrizing for TUIMobileButtonBlock * Updating Formatting in TUIMobileOverlayFooter * Updating Formatting in TUIMobileOverlayHeader * Updating Formatting in TUIMobileOverlayMenuItem * Updating Formatting in TUINavigationRow * Updating Formatting in TUIPlayPauseButton * Updating Formatting in TUISnackBar * Updating Formatting in TUIStatusIndicator * Updating Formatting in TUITableCell * Updating Formatting in TUITag. * Updating Formatting in TUITextRow, improving the design of Stepper, and General Design. * Updating Formatting in TUIToggleSwitch * Updating Test for TUIBadgeTest and TUITableCellTest --- .idea/deploymentTargetSelector.xml | 10 + .idea/inspectionProfiles/Project_Default.xml | 33 ++ .idea/runConfigurations.xml | 13 + .../tarkalabs/uicomponents/TUIBadgeTest.kt | 66 +-- .../uicomponents/TUITableCellTest.kt | 33 +- .../tarkaui/components/TUIAppBottomBar.kt | 243 ++++++++++ .../tarkaui/components/TUIAppTopBar.kt | 65 +-- .../tarkaui/components/TUIAttachmentUpload.kt | 47 +- .../tarkalabs/tarkaui/components/TUIChip.kt | 91 ++-- .../tarkaui/components/TUIContentBox.kt | 84 ++++ .../tarkaui/components/TUIDivider.kt | 31 +- .../tarkaui/components/TUIMediaThumbnail.kt | 78 +++- .../components/TUIMobileButtonBlock.kt | 40 +- .../components/TUIMobileOverlayFooter.kt | 23 +- .../components/TUIMobileOverlayHeader.kt | 30 +- .../components/TUIMobileOverlayMenuItem.kt | 38 +- .../tarkaui/components/TUINavigationRows.kt | 45 +- .../tarkaui/components/TUIPlayPauseButton.kt | 47 +- .../tarkaui/components/TUISearchBar.kt | 82 +++- .../tarkaui/components/TUISnackBar.kt | 82 ++-- .../tarkaui/components/TUIStatusIndicator.kt | 14 +- .../tarkaui/components/TUITableCell.kt | 21 +- .../tarkalabs/tarkaui/components/TUITag.kt | 115 ++--- .../tarkaui/components/TUITextRow.kt | 276 +++++++----- .../tarkaui/components/TUIToggleSwitch.kt | 23 +- .../tarkaui/components/base/TUIAvatar.kt | 27 +- .../tarkaui/components/base/TUIBadge.kt | 16 +- .../tarkaui/components/base/TUIButton.kt | 177 +++++--- .../base/TUIFloatingActionButton.kt | 39 +- .../tarkaui/components/base/TUIIconButton.kt | 179 +++++--- .../tarkaui/components/base/TUIInputField.kt | 414 ++++++++++-------- .../tarkaui/components/base/TUIToggleRow.kt | 59 ++- .../components/card/TUIDraggableCard.kt | 16 +- .../components/card/TUISelectionCard.kt | 42 +- .../components/checkbox/TUICheckBox.kt | 32 +- .../components/checkbox/TUICheckBoxRow.kt | 19 +- .../components/email/TUIEmailAreaField.kt | 34 +- .../tarkaui/components/email/TUIEmailField.kt | 83 ++-- .../components/email/TUIEmailSubjectField.kt | 30 +- .../components/radiobutton/TUIRadioButton.kt | 20 +- .../components/radiobutton/TUIRadioRow.kt | 13 +- .../tarkaui/components/tab/TUITab.kt | 32 +- .../tarkaui/components/tab/TUITabBar.kt | 52 +-- .../java/com/tarkalabs/tarkaui/theme/Color.kt | 23 +- .../java/com/tarkalabs/tarkaui/theme/Shape.kt | 4 +- 45 files changed, 1868 insertions(+), 1073 deletions(-) create mode 100644 .idea/deploymentTargetSelector.xml create mode 100644 .idea/runConfigurations.xml create mode 100644 tarka-ui/src/main/java/com/tarkalabs/tarkaui/components/TUIAppBottomBar.kt create mode 100644 tarka-ui/src/main/java/com/tarkalabs/tarkaui/components/TUIContentBox.kt diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml new file mode 100644 index 00000000..040567e4 --- /dev/null +++ b/.idea/deploymentTargetSelector.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 44ca2d9b..afb1d81f 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,6 +1,35 @@