Skip to content

Commit

Permalink
swapped paragraph tags for div tags in layout.
Browse files Browse the repository at this point in the history
This is to allow injection of HTML controls if the user desires
  • Loading branch information
CBairdAsh committed May 21, 2019
1 parent 8bc3753 commit 75598f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "matd_expanded_list",
"version": "1.01",
"version": "1.02",
"description": "Material Design Expanded List - a Javascript / jQuery based Material Design expanded list",
"main": "matd_textfield/src/matd_textfield.js",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions src/matd_expandlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ License: MIT License
id: '',
list:[],
templateString: '<div id="mtd_${id}" class="ex_container flex-base justify-center"><div class="ex_inner">${rows}</div></div>',
templateRowString: '<div class="ex_row_frame" aria-expanded="false"><div class="ex_hdr_cont flex-base justify-center flex-align-items-cntr" tabindex="0" role="button" aria-expanded="false"><div class="ex_headings flex-base"><p class="marg_z_block typograph ex_head">${heading}</p><p class="marg_z_block typograph ex_sec_head">${secondary_heading}</p></div><div class="ex_svg_cont" tabindex="-1" role="button" aria-hidden="true"><span class="svg_ctrl"><svg class="svg_style" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg></span><span class="svg_frame"></span></div></div><div class="ex_det_con" aria-hidden="true"><div class="flex-base"><div class="w_100p"><div class="flex-base det_pad"><p class="marg_z_block typograph">${details}</p></div></div></div></div></div>',
templateRowString: '<div class="ex_row_frame" aria-expanded="false"><div class="ex_hdr_cont flex-base justify-center flex-align-items-cntr" tabindex="0" role="button" aria-expanded="false"><div class="ex_headings flex-base"><div class="marg_z_block typograph ex_head">${heading}</div><div class="marg_z_block typograph ex_sec_head">${secondary_heading}</div></div><div class="ex_svg_cont" tabindex="-1" role="button" aria-hidden="true"><span class="svg_ctrl"><svg class="svg_style" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg></span><span class="svg_frame"></span></div></div><div class="ex_det_con" aria-hidden="true"><div class="flex-base"><div class="w_100p"><div class="flex-base det_pad"><div class="marg_z_block typograph">${details}</div></div></div></div></div></div>',
existing_id: '',
orig_input: []
};
Expand All @@ -24,7 +24,7 @@ License: MIT License
id: '',
list:[],
templateString: '<div id="mtd_${id}" class="ex_container flex-base justify-center"><div class="ex_inner">${rows}</div></div>',
templateRowString: '<div class="ex_row_frame" aria-expanded="false"><div class="ex_hdr_cont flex-base justify-center flex-align-items-cntr" tabindex="0" role="button" aria-expanded="false"><div class="ex_headings flex-base"><p class="marg_z_block typograph ex_head">${heading}</p><p class="marg_z_block typograph ex_sec_head">${secondary_heading}</p></div><div class="ex_svg_cont" tabindex="-1" role="button" aria-hidden="true"><span class="svg_ctrl"><svg class="svg_style" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg></span><span class="svg_frame"></span></div></div><div class="ex_det_con" aria-hidden="true"><div class="flex-base"><div class="w_100p"><div class="flex-base det_pad"><p class="marg_z_block typograph">${details}</p></div></div></div></div></div>',
templateRowString: '<div class="ex_row_frame" aria-expanded="false"><div class="ex_hdr_cont flex-base justify-center flex-align-items-cntr" tabindex="0" role="button" aria-expanded="false"><div class="ex_headings flex-base"><div class="marg_z_block typograph ex_head">${heading}</div><div class="marg_z_block typograph ex_sec_head">${secondary_heading}</div></div><div class="ex_svg_cont" tabindex="-1" role="button" aria-hidden="true"><span class="svg_ctrl"><svg class="svg_style" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg></span><span class="svg_frame"></span></div></div><div class="ex_det_con" aria-hidden="true"><div class="flex-base"><div class="w_100p"><div class="flex-base det_pad"><div class="marg_z_block typograph">${details}</div></div></div></div></div></div>',
existing_id: '',
orig_input: []
}
Expand Down
2 changes: 1 addition & 1 deletion src/matd_expandlist.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 75598f1

Please sign in to comment.