petal_components
petal_components copied to clipboard
Phoenix + Live View HEEX Components
My first naive approach would be something like this: ```elixir defmodule Class do @doc """ Builds a class based on a set of default classes and specified overrides for them...
## Problem The library sets the default text size of many components to `text-sm` by default which breaks/restricts the base configuration of tailwind. e.g. form inputs https://github.com/petalframework/petal_components/blob/main/lib/petal_components/form.ex#L473 ## Solution :scissors:...
## Problem When I use the modal Then I would like to control the content padding So that I can create more interesting designs https://github.com/petalframework/petal_components/blob/12a47d927d87e271345e2e1ce0c43a4fca88fe66/lib/petal_components/modal.ex#L59 ## Suggested Solution Add new...
Bumps [phoenix_live_view](https://github.com/phoenixframework/phoenix_live_view) from 0.17.4 to 0.17.11. Changelog Sourced from phoenix_live_view's changelog. 0.17.11 (2022-07-11) Enhancements Add replaceTransport to LiveSocket Bug fixes Cancel debounced events from firing after a live navigation event...
https://github.com/petalframework/petal_components/issues/42
Sometimes you want to use a component as a starting point and modify it heavily. Example: I want to modify the `` component. ``` mix petal_components:eject card ``` And it...
The alpine_js version has a nice smooth expand and collapse animation. It would be great to replicate this for the live_view_js version.
Currently when you open a new section the previously expanded section will close automatically. It would be great to have an option have multiple sections expanded.
Hi, Following ticket #95