uiowa / uids

UI Design System
http://uids.brand.uiowa.edu
7 stars 1 forks source link

4.x - Finish card component #781

Closed bspeare closed 1 year ago

bspeare commented 1 year ago

After the work in https://github.com/uiowa/uids/pull/698, a few items remain to be done.

Proposed Solution

briand44 commented 1 year ago

need to scope out variations here

joewhitsitt commented 1 year ago

we pivoted from yesterday’s media component to handling media similar to borderless and background. media classes are now accounted for in the card component

joewhitsitt commented 1 year ago

it is my understanding this changes how the stories would work for this. also outstanding are the fixes from https://github.com/uiowa/uids/issues/696#issuecomment-1158135821

joewhitsitt commented 1 year ago

People list teaser (story) should be added (media left/right)

bspeare commented 1 year ago

Clean up sass file notes

joewhitsitt commented 1 year ago

Added a story to represent person teaser cards.

joewhitsitt commented 1 year ago

Did a pass at cleaning up the card and media styles. Ideally another set of eyes would be good.

When I clicked basic-card--borderless-card (mobile sized), I didn't notice a change in media padding. This was discussed in the huddle I was in earlier, but I am foggy about what was decided here. - https://github.com/uiowa/uids/pull/698

I was foggy then and now about what the ideal should be for the following:

Collision for media padded and borderless, used in combo media padding doesn’t do anything.
Media padded on L/R align is not working.
bspeare commented 1 year ago

We've got the card_details in the 4.x branch, do we want get card_subtitle and card_meta represented here as well?

https://github.com/uiowa/uiowa/blob/main/docroot/themes/custom/uids_base/templates/uids/card.html.twig#L76-L93

bspeare commented 1 year ago

Just a few notes after our Slack huddle and looking at this today:

joewhitsitt commented 1 year ago

Thanks for the comment @bspeare. I think I have resolved the media--medium media--widescreen defaults and the media--cover issue.

I feel like basic-card--person-card is almost there but the image seems to overflow without padded applied. My flex overflow knowledge is as dated as the IE11 fixes I copied pasted way back when.

bspeare commented 1 year ago

@joewhitsitt are you talking about the image stretching or is there another overflow you could screenshot?

joewhitsitt commented 1 year ago

Sorry, this was what I was trying to describe:

UIDS

Screen Shot 2022-10-18 at 8 29 01 AM

Sandbox People v3

Screen Shot 2022-10-18 at 8 29 54 AM
pyrello commented 1 year ago

Notes from our huddle this afternoon: