tailwindcss-stimulus-components
tailwindcss-stimulus-components copied to clipboard
A set of StimulusJS components for TailwindCSS apps similar to Bootstrap JS components.
While working on Stimulus LSP I noticed that the `slideover` controller has a duplicate `menu` target. The `dropdown` controller already defines that target and the `slideover` controller is therefore automatically...
Hello I am contemplating bringing a few improvements to the dropdown component. Before doing so I wanted to confirm the appetite for those changes. ## Simplify the API Currently, the...
When using the package with rails importmaps the following is used: `pin "tailwindcss-stimulus-components", to: "https://ga.jspm.io/npm:[email protected]/dist/tailwindcss-stimulus-components.module.js"` This version of the package does not seem to use the data-toggle-class and applies `hidden`...
Fixes #211
indexValueChanged runs after initialize and before connect not allowing this.indexValue to update, causing the first tab to always open. see: https://stimulus.hotwired.dev/reference/values#change-callbacks closes #204
Reproduction steps: `rails new modal_stimulus --css tailwind --skip-action-mailbox --skip-jbuilder -a propshaft -j esbuild` generate some scaffold `rails generate scaffold post title:string body:text ` then add to yarn `yarn add tailwindcss-stimulus-components`...
https://github.com/excid3/tailwindcss-stimulus-components/assets/23448075/63a6662e-4542-45b8-9542-4e33a4af29c3 As the title says, there seems to be a bug, when I use both `data-tabs-update-anchor-value="true"` and link to a specific anchor. **Expected behavior** The user clicks a link to...
Relates to #205 This PR provides several DX improvements for the dropdown component ## 1. actions are self defined The action to open close the dropdown and to navigate with...
When an active modal is displayed within a `` and that frame is updated with new content the `disconnect()` function for the modal controller is called but the `async openValueChanged`...