[MCL-9] Download Created: 08/Dec/23 Updated: 02/Feb/24 |
|
| Status: | In Progress |
| Project: | Magnolia Component Library |
| Component/s: | Core Content |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Neutral |
| Reporter: | Raymond Tran | Assignee: | Thanh Pham |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Acceptance Criteria
[ ]*
Component is called "Download"
[ ]*
Shows a DAM item for download
[ ]*
Download Button supports all OOTB Bootstrap style variants including Primary, Secondary, Success, Danger, Warning, Info, Light, Dark and Link.
[ ]*
Shows animation when download button is depressed
[ ]*
Shows asset title and caption from the JCR
[ ]*
Shows filename and file size from the JCR
[ ]*
Shows an SVG icon corresponding to relevant file/mime type, including: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, JPEG, PNG, webm, webp, mp4 with alt text reflecting the file type
Documentation Acceptance Criteria
[ ]*
Contains Title, Description and Examples
[ ]*
Contains FTL and YAML code
Content Author Acceptance Criteria
[ ]*
The button styles can be configured entirely within the dialog as per MCL-7
[ ]*
Class and CSS can be overridden in the CMS
[ ]*
The JCR asset title and caption can be overridden by the dialog
[ ]*
Component can be added to any page template in Column area of a Row component only.
[ ]*
JCR asset selection is mandatory
Accessibility Acceptance Criteria
[ ]*
Buttons can be navigated through, selected and depressed using the keyboard.
|
||||||||
| Date of First Response: | |||||||||
| Description |