Skip to content

Conversation

@kennethnym
Copy link
Collaborator

Not sure exactly how the design of the documentation should be, but here is the basic layout that I made:

Screenshot from 2019-10-21 19-03-17

The right side will probably look the same as the official Bulma component documentations.

Am glad to make any changes to the layout. If this design is fine then I'll continue making documentaitons for other components.

Ryan Bennett and others added 17 commits October 7, 2019 14:37
Thanks for the PR and sorry i took soo long to merge =(
Thanks for the PR. I'm sorry it took this long
* extend input value proptype to accept numbers

* Update input.js
* fix: dropdown close function check if domRef.current

In Edge 18, if the dropdown is toggled by an external flag controlled by
a click event, the domRef becomes invalid before the event listener is
removed, which leads to this.dom.Ref.current.contains to crash. Simply
checking for this will result in this.setState being called in an
unmounted component.

This PR checks if domRef.current exists and only calls this.setState if
the domRef is still valid. It also uses mount to test the dropdown state
changes.

* Update dropdown.js
* fix: remove method on html element

IE11 does not support the remove method on HTML elements. This PR
implements a recommended way around it.

* refactor: do not check if portalElement is a thing on unMount - it always is
@kennethnym kennethnym changed the title [DOCUMENTATION] Implemented basic documentation page layout [DOCUMENTATION] Implemented basic (components) documentation page layout Oct 21, 2019
@kennethnym
Copy link
Collaborator Author

Checks should pass after #216 is merged.

* Documented domRef prop in README.md

* Fixed pagination.js eslint error

* Removed .history folder

* Removed .history folder in public folder
@couds
Copy link
Owner

couds commented Oct 23, 2019

Yes the layout I have in mind is something like that, mimic the bulma documentation to easy navigate. and on the main page of the documentation the different sections. like
image

@kennethnym kennethnym added the WIP label Oct 23, 2019
@kennethnym kennethnym changed the title [DOCUMENTATION] Implemented basic (components) documentation page layout [WIP][DOCUMENTATION] Components documentation Oct 23, 2019
@coveralls
Copy link

coveralls commented Oct 23, 2019

Coverage Status

Coverage decreased (-0.3%) to 98.153% when pulling 94f3733 on MrCreeper1008:feature/public-page into eda3e40 on couds:feature/public-page.

mattkenney and others added 6 commits October 25, 2019 23:38
* Remove value="" prop from file upload input

The value="" prop on the <input type="file"/> component prevented accessing or posting the selected file's contents.

* Remove value="" prop from file upload input test snapshot

The value="" prop on the <input type="file"/> component prevented accessing or posting the selected file's contents.
* make pagination to be fixed-length

* use Math.min and Math.max
@kennethnym
Copy link
Collaborator Author

Closing this PR to clean up the commits. Will reopen as a draft PR.

@kennethnym kennethnym closed this Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants