mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-31 02:59:39 +02:00
Component namespacing (#2463)
* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT * [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT * Update stimulus controller references to use namespace * Fix remaining tests
This commit is contained in:
parent
d5b147f2cd
commit
ab6fdbbb68
182 changed files with 322 additions and 321 deletions
|
@ -1,7 +1,7 @@
|
|||
class DialogComponentPreview < ViewComponent::Preview
|
||||
# @param show_overflow toggle
|
||||
def modal(show_overflow: false)
|
||||
render DialogComponent.new(variant: "modal") do |dialog|
|
||||
render DS::Dialog.new(variant: "modal") do |dialog|
|
||||
dialog.with_header(title: "Sample modal title")
|
||||
|
||||
dialog.with_body do
|
||||
|
@ -21,7 +21,7 @@ class DialogComponentPreview < ViewComponent::Preview
|
|||
|
||||
# @param show_overflow toggle
|
||||
def drawer(show_overflow: false)
|
||||
render DialogComponent.new(variant: "drawer") do |dialog|
|
||||
render DS::Dialog.new(variant: "drawer") do |dialog|
|
||||
dialog.with_header(title: "Drawer title")
|
||||
|
||||
dialog.with_body do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue