-
-
Notifications
You must be signed in to change notification settings - Fork 3k
[UI] New flexbox utilities #13772
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
[UI] New flexbox utilities #13772
Conversation
f7282e4
to
e1c4e80
Compare
These changes make a lot of sense, I think. As you mentioned in another discussion, we need some flexbox options in there to be able to add new elements when proposing design changes/additions in future (eg. cards). |
@LordRembo Nice idea, I'll add to my tasks list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, then if docs exist & the dependency is merged, I think this one is okay for further approval.
@escopecz This one is ready and has docs |
@andersonjeccel Could you link to the docs, in the issue description? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any issue in the code, but I'd also like to read more about how to use the new classes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I'll just add a comment to the docs but it's not blocking for this PR.
Thanks! |
@escopecz Seems ready! |
commit 5999093 Author: andersonjeccel <116097999+andersonjeccel@users.noreply.github.com> Date: Sat Jun 29 17:17:09 2024 -0300 [UI] Nav tabs line style commit 40d6f56 Author: andersonjeccel <116097999+andersonjeccel@users.noreply.github.com> Date: Sat Jun 29 16:50:32 2024 -0300 [UI] Migrating nav-tabs to nav-tabs-contained by default commit 1e4bea7 Author: andersonjeccel <116097999+andersonjeccel@users.noreply.github.com> Date: Sat Jun 29 16:44:08 2024 -0300 [UI] Line tabs for plugin modal content commit cc730cc Author: Anderson, from Dropsolid <116097999+andersonjeccel@users.noreply.github.com> Date: Fri Jun 28 11:54:51 2024 -0300 [UI] New flexbox utilities (mautic#13772) * New utilities * media queries for wrap * responsive utilities * reorganize and expand utilities commit 50085e0 Author: Anderson, from Dropsolid <116097999+andersonjeccel@users.noreply.github.com> Date: Fri Jun 28 11:54:17 2024 -0300 Update regions.json (mautic#13877) commit 73976d3 Author: Anderson, from Dropsolid <116097999+andersonjeccel@users.noreply.github.com> Date: Fri Jun 28 09:48:10 2024 -0300 [UX] Modify form layout to add help block for Yes/No buttons and selection fields (mautic#13875) * modify form layout to add help for yes/no * modify form layout to add help for select fields commit a87e23f Author: Anderson, from Dropsolid <116097999+andersonjeccel@users.noreply.github.com> Date: Fri Jun 28 08:56:19 2024 -0300 [UI] Improve timeline and audit log tables (mautic#13899) commit f9c3d54 Author: Anderson, from Dropsolid <116097999+andersonjeccel@users.noreply.github.com> Date: Fri Jun 28 08:55:50 2024 -0300 [UI] Keyboard shortcuts modal with translations (mautic#13895) commit 05a3ffc Author: Anderson, from Dropsolid <116097999+andersonjeccel@users.noreply.github.com> Date: Fri Jun 28 08:47:44 2024 -0300 [UI] Dropdown menus (mautic#13749) * tokens * incorporating all bootstrap variables * migrating mautic variables into bootstrap * fixing broken darken/lighten * variables * revert removing 5x duplicated import rules revert Revert "fixing broken darken/lighten" This reverts commit bcf4ac98e07c0c17162a74794a8161d5398c3d7c. * grunt compile-less * aligning previous tokens * remove duplicated imports * dark color scheme disabled by default to avoid conflicts * utilities syntax fix * improve radius calc * tag to label token names * setting the dark theme implementation method * set implementation mode for high contrast + run grunt-compile-less * fix missing transparency bg colors * darker brand bg on dark theme * Responsive typography * secondary brand color support * style fixes * fixes for secondary brand color support * transparency for borders when on brand bg * Revert "transparency for borders when on brand bg" This reverts commit a8c4748. * sat improv * reduced max bdr value * enhanced border calc * removing duplicates * high contrast improvement * separate file for tokens to avoid duplication on .css files * brand center enabled by default * another pallete generation method + accessibility improvement * 4px rounded standard * revert to 0 based on community feedback * fix css to less * semantic fixes * text and icon reorder improvement * replacing variables * danger dropdown * focus * minor fixes commit f285c8b Author: Alan Wierzchoń <100592709+AlanWierzchonCA@users.noreply.github.com> Date: Fri Jun 28 12:46:38 2024 +0200 fix:[DPMMA-2626] fix focus view count stats (mautic#13561) Co-authored-by: Alan <alanwierzchon@gmail.com> Co-authored-by: John Linhart <admin@escope.cz> commit d204139 Author: John Linhart <admin@escope.cz> Date: Fri Jun 28 12:46:26 2024 +0200 Adding down() method to the Migration template (mautic#13823) * Adding the down() method to the migration template * Improving the migration template * Simplifying existing migrations with the new abstract method * CS fix * Making the down() method optional commit 83d84d0 Author: John Linhart <admin@escope.cz> Date: Fri Jun 28 12:34:16 2024 +0200 Revert "Segment email send to email address once (mautic#13768)" (mautic#13902) This reverts commit 8a2814a. commit 953ba8b Author: Anderson, from Dropsolid <116097999+andersonjeccel@users.noreply.github.com> Date: Fri Jun 28 07:28:50 2024 -0300 [UI] Improve recent activity (mautic#13900) commit abe9413 Author: Anderson, from Dropsolid <116097999+andersonjeccel@users.noreply.github.com> Date: Fri Jun 28 07:28:14 2024 -0300 [UI] Code style (mautic#13898) commit 8a2814a Author: Hugo Prossaird <97947420+hugoprossaird@users.noreply.github.com> Date: Fri Jun 28 11:22:33 2024 +0200 Segment email send to email address once (mautic#13768) * Segment email send to email address just once * Remove log * Fix new functional test (sql command issue) * fix - set sql mode in test session + cs fix * Fix disable ONLY_FULL_GROUP_BY on test commit f32d229 Author: Zdeno Kuzmany <zdeno@kuzmany.biz> Date: Fri Jun 28 11:07:37 2024 +0200 Fix elFinder paste image from search (mautic#13861) commit a67c9e4 Author: Zdeno Kuzmany <zdeno@kuzmany.biz> Date: Fri Jun 28 11:05:07 2024 +0200 Fix invalidate dashboard cache (mautic#13863) * Fix invalidate dashboard cache * Fic PHP Stan and unit tests commit 36dc842 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri Jun 28 11:03:19 2024 +0200 Auto-update GrapesJS generated JS dist files (mautic#13880) Co-authored-by: dennisameling <dennisameling@users.noreply.github.com> commit 764d073 Author: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri Jun 28 10:53:14 2024 +0200 docs: add nishant-s7 as a contributor for code (mautic#13901) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> commit 543cbd9 Author: Anderson, from Dropsolid <116097999+andersonjeccel@users.noreply.github.com> Date: Fri Jun 28 04:44:39 2024 -0300 turn the message into an inline warning alert (mautic#13876) commit cec91d7 Author: Zdeno Kuzmany <zdeno@kuzmany.biz> Date: Thu Jun 27 17:14:05 2024 +0200 Fix operators for text type report filters (mautic#13867) commit 1b2ccdb Author: Anderson, from Dropsolid <116097999+andersonjeccel@users.noreply.github.com> Date: Thu Jun 27 09:54:12 2024 -0300 [UI] Nav tabs and nav content (mautic#13888) * nav tabs * classes * grunt compile-less * moving paddings to the correct elements * additional css fixes * lead view fixes * minor improvements
Description
This PR is based on another PR, where I introduce tokens to replace most of the UI variables, aiming to improve consistency in all components. We need it to be merged before this one becomes available for test.
It creates new classes for most-used flexbox properties.
Also extends existing classes for things like padding.
📋 Steps to test this PR: