Closed MarcinMr closed 2 years ago
@cjwhitedev
@cjwhitedev Updated the "Fixed Width" page with the note.
@danielamorse I addressed the feedback you had
Full Width Prop
I added a full_width
prop into the schema that will do three things.
e-bolt-table--full-width
class to the <table>
. This class will apply a width: 100%;
to the table to help prevent flash. table.twig
will now apply a e-bolt-table-wrapper--full-width
class to the e-bolt-table-wrapper
that will make the wrapper display block (and forcing it to be full width). <table>
for the e-bolt-table--full-width
class and add the e-bolt-table-wrapper--full-width
class to the wrapper when it is being rendered.For WYSIWYG support, we can simply add a class (e-bolt-table--full-width
) to the table element to achieve the desired effect.
I updated the existing docs pages with these changes (where applicable) and created a new documentation page for the full width prop. Let me know if you have any other questions regarding this.
@cjwhitedev Updated the PR description and responded to your inline comment
Jira
https://pegadigitalit.atlassian.net/browse/DS-835
Summary
The new element
table
is created that can replace the basic functionalities of the current Table ComponentDetails
<table>
)<table>
)<table>
if neededHow to test
(Focus on testing in all browsers)
table-element
docs.Release notes
There is a new Table Element that replaces the basic functionalities of the current Table Component