Skip to content

Add dropdown menu, advanced list content and message components#8

Open
tdanecker wants to merge 9 commits intodeg:masterfrom
tdanecker:feature/additions
Open

Add dropdown menu, advanced list content and message components#8
tdanecker wants to merge 9 commits intodeg:masterfrom
tdanecker:feature/additions

Conversation

@tdanecker
Copy link

Add some more components from semantic-ui:

  • Dropdown.Divider
  • Dropdown.Item
  • Dropdown.Menu
  • List.Content
  • List.Description
  • List.Header
  • List.Icon
  • Message

The style how parentheses were used in the keys.clj file was very inconsistent. I changed them to a parinfer style in a separate commit so that it's easier to work with this file.

Also, I fixed a typo in the dropdown keys.

Just let me know if I should create separate PRs for those changes.

Also, I'm not that happy about dropdown-menus for now. It has to be called as a function instead of a component. Otherwise the dropdown-menu wouldn't open when clicked. I suspect that the Dropdown expects the Dropdown.Menu as a direct ancestor but sodium would introduce a small wrapper-component in between which messes things up.

[na/dropdown {}
  (na/dropdown-menu {}
    [na/dropdown-item {:text "menu item"}])]

@tdanecker tdanecker requested a review from deg February 6, 2020 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant