-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Correct syntax error for Hot module replacement to add module as second parameter to storiesOf for ArrowLeft * Pass Multi dimensional array into names so that rows that include headings are grouped horizontally instead of vertically e.g. first row of values are all named row ‘one’ Headings for Column names are still named incrementally e.g. one, two, three, four * Remove duplicate styling and adjust paddings This is proposed padding to fix our issue #7 . If it's acceptable we could use the same on govuk-react. * Add vertical align style optional style override. * Correct deletion of space between rowHeading and columnCount. * Generate docs * Fix verticalAlign props passthrough * Refactor stories to pass in an object with the name for headings <th> and the name for values <td> * Refactor getName component to calculate th and td names based on whether rowIncludes heading or vice versa * Refactor existing tests and add new tests based on new props e.g. verticalAlign style override test * Update docs for Table * Remove default parameters * Remove console.log from test * Remove verticalAlign as prop pass through and default to verticalAlign: ‘top’ in emotion styles. * - Make names an array again - Add nameByRow prop to decide if naming should be applied across columns or rows - Ensure names array allows for entire rows/columns to be named the same or cells can have completely individual names * Refactor stories based on names array * Refactor tests based on names array * Regenerate documentation * Update Table usage: Update inline documentation for table and regenerate doc files * Fix TableHeading line lengths greater than 100 chars.
- Loading branch information
1 parent
f249a25
commit 060244e
Showing
6 changed files
with
288 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.