andypf
released this
12 Oct 13:39
[ui] Modal (#210)
* [ui] Modal: initial commit for new modal
* [ui] Modal: add and use ModalFooter component
* [ui] MOdal: add more docstrings, handle confirm click
* [ui] MOdal: add most styling, api improvements
* user can pass custom children to ModalFooter, a minimal container willbe rendered to ensure stylistic integrity
* user can pass custom classNames to specify flex layout
* add sizing (widths only for now)
* add comments open TODOs, questions
* [ui] Modal: formatting, TODOs
* [ui] Modal: minor story improvements
* [ui] Modal: update comments, fix console error
* text in ‘<>’ inside comments/docstrings will throw error, use backticks around these
* [ui] Modal: use Stack and ButtonRow
* [ui] Modal: add default padding to content, add `unpad` prop
* set `unpad` to remove the default padding fromt he modal content container
* [ui] Modal: remove obsolete comment
* [ui] Modal: allow for custom Cancel button label
* [ui] ButtonRow: Use Stack internally
* [ui] Modal: add Button icons
* [ui] MOdalFooter: remove dedicated CloseButton
* will be covered by cancelButton
* [ui] Modal: Update TODOs
* [ui] Modal: Update TODOs again
* [ui] Modal: add className prop
* [ui] Modal: pen and close the Modal
* [ui] MOdal: add backdrop,center modal
* [ui] ModalFooter: remove obsolete prop
* [ui] Modal: update styles, comments
* [ui] ModalFooter: add tests
* [ui] Modal: add first tests
* [ui] Modal, ModalFooter: add comments, simplify stories
* [ui] ModalFooter: export component
* [ui] Modal: remove obsolete
* [ui] Modal: bump version to 0.7.0