Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Conversation

@ItsJonQ
Copy link
Contributor

@ItsJonQ ItsJonQ commented Mar 15, 2018

Attachment: Add Preview theme 🖼

screen recording 2018-03-15 at 04 56 pm

This update adds a new "Preview" theme for the Attachment and AttachmentList
components. The Preview theme adjusts the UI to allow for a more card-like
experience, with added space for image previews, if provided.

The overflow experience is also adjusted for the Preview theme. With the Attachment items being
wrapped within an <Overflow> component for a cleaner/slimmer UI.

Usage 🕹

<Attachment.Provider theme='preview'>
  <AttachmentList>
    ...
    <Attachment />
    ...
  </AttachmentList>
</Attachment.Provider>

This update adds a new "Preview" theme for the Attachment and AttachmentList
components. The Preview theme adjusts the UI to allow for a more card-like
experience, with added space for image previews, if provided.
@ItsJonQ ItsJonQ self-assigned this Mar 15, 2018
@ItsJonQ ItsJonQ merged commit 42721ca into master Mar 15, 2018
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling afddc84 on attachmentpreview into d49326c on master.

@ItsJonQ ItsJonQ deleted the attachmentpreview branch March 21, 2018 20:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants