Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurClemens committed Aug 30, 2024
1 parent cc2d431 commit 60337e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changelog

## 0.8.0
## Next

Refactoring of dialogs, drawers and menus, using the `Phoenix.LiveView.JS` API - and largely based on `CoreComponent`'s modal component. These changes reduce reliance on additional JavaScript, improve alignment with standard practice, and include accessibility improvements.

See component documentation for further details:

- [Action menu](`PrimerLive.Component.action_menu/1`)
- [Dialog](`PrimerLive.Component.dialog/1`)
- [Drawer](`PrimerLive.Component.drawer/1`)
Expand Down Expand Up @@ -48,11 +49,14 @@ See for update instructions: "Updating to 0.8" below.
- Replace `Promp.show` and `Prompt.hide`:

For example:

```
onclick="Prompt.show('#my-dialog')"
onclick="Prompt.hide('#my-dialog')"
```

Becomes:

```
phx-click={open_dialog("my-dialog")}
phx-click={close_dialog("my-dialog")}
Expand Down

0 comments on commit 60337e5

Please sign in to comment.